Discuss Scratch

Qem95
Scratcher
100+ posts

Scott Pilgrim vs. The World: The Game 2!

Im making a sequel for Scott Pilgrim vs. The World: The Game. However, I came up with a boss in the game called Mac Indigostein.

But how do I even make a boss AI!?

His attacks are destroying a microphone that makes a big soundwave,

Turning on a loud speakerbox

And melee attacks.

Spritelists For The Fight:

Mac1 (Main Boss)

Mac2 (Cutscene)

Mac3 (Death Animation)

Soundwave (Soundwave Attack)

Microphone (Soundwave Maker)

Speakerbox (Loud Speakerbox)

Blarers (Speakerbox Attack)

Last edited by Qem95 (July 6, 2015 06:49:25)

CatsUnited
Scratcher
1000+ posts

Scott Pilgrim vs. The World: The Game 2!

What do you specifically want the AI to do?
Qem95
Scratcher
100+ posts

Scott Pilgrim vs. The World: The Game 2!

CatsUnited wrote:

What do you specifically want the AI to do?

Microphone Attack: I expect when Mac bangs on the microphone, his sprite will send a message to the microphone to send a message to one of the sound waves. If Scott Pilgrim touches a sound wave, he will lose health.

Melee Attack: When Mac uses a melee attack and he is touching Scott Pilgrim, Scott will lose health

Speaker Box: When Mac turns on a loud speaker box, it will play a random piece of music at volume 150. This sends a message (Broadcast ) to the blarers and a few sound waves will come across the screen from where the Speaker Box is. Again, Scott will lose health when he touches the sound waves.

Scott's Attacks: When Scott punches Mac, Mac will lose health.
Thepicausno
Scratcher
61 posts

Scott Pilgrim vs. The World: The Game 2!

Qem95 wrote:

CatsUnited wrote:

What do you specifically want the AI to do?

Microphone Attack: I expect when Mac bangs on the microphone, his sprite will send a message to the microphone to send a message to one of the sound waves. If Scott Pilgrim touches a sound wave, he will lose health.

Melee Attack: When Mac uses a melee attack and he is touching Scott Pilgrim, Scott will lose health

Speaker Box: When Mac turns on a loud speaker box, it will play a random piece of music at volume 150. This sends a message (Broadcast ) to the blarers and a few sound waves will come across the screen from where the Speaker Box is. Again, Scott will lose health when he touches the sound waves.

Scott's Attacks: When Scott punches Mac, Mac will lose health.

Make a variable called MacAtk or whatever you wanna call it
whenIreceiveMacAtksetMacAtkto(pick random (1) to (3)) waittimebetweenattackssecsifMacAtk= 1thenbroadcastSpeakerAtkifMacAtk= 2thenbroadcastMicAtkifMacAtk= 1thenbroadcastPunchAtkbroadcastMacAtk

whenIrecievebossstartrepeatuntil(bosshp)=(0)iftouching [scott?]andcostume#<Idle/walk sprites thenchangeBossHpby-1

Sorry, Im not good with AI, but i hope this helps. Im a scott pilgrim fan myself, so I can't wait to play it!

Last edited by Thepicausno (July 6, 2015 16:29:47)

Qem95
Scratcher
100+ posts

Scott Pilgrim vs. The World: The Game 2!

Thepicausno wrote:

Qem95 wrote:

CatsUnited wrote:

What do you specifically want the AI to do?

Microphone Attack: I expect when Mac bangs on the microphone, his sprite will send a message to the microphone to send a message to one of the sound waves. If Scott Pilgrim touches a sound wave, he will lose health.

Melee Attack: When Mac uses a melee attack and he is touching Scott Pilgrim, Scott will lose health

Speaker Box: When Mac turns on a loud speaker box, it will play a random piece of music at volume 150. This sends a message (Broadcast ) to the blarers and a few sound waves will come across the screen from where the Speaker Box is. Again, Scott will lose health when he touches the sound waves.

Scott's Attacks: When Scott punches Mac, Mac will lose health.

Make a variable called MacAtk or whatever you wanna call it
whenIreceiveMacAtksetMacAtkto(pick random (1) to (3)) waittimebetweenattackssecsifMacAtk= 1thenbroadcastSpeakerAtkifMacAtk= 2thenbroadcastMicAtkifMacAtk= 1thenbroadcastPunchAtkbroadcastMacAtk

whenIrecievebossstartrepeatuntil(bosshp)=(0)iftouching [scott?]andcostume#<Idle/walk sprites thenchangeBossHpby-1

Sorry, Im not good with AI, but i hope this helps. Im a scott pilgrim fan myself, so I can't wait to play it!

Really? I also might need help with how you move on the ground. Its a Beat Em Up game so all the grounds are on separate layers. Can you try and help me with that?
Qem95
Scratcher
100+ posts

Scott Pilgrim vs. The World: The Game 2!

Also, I made up another boss called Sticky Demon. You can make up the attacks for now, but heres the AI for his cutscene sprite!

whenclickedhidewhenIreceiveStickydemon Cutscenewait1secsshowrepeat23nextcostumebroadcastStickydemon Fightstart

Powered by DjangoBB