Help Me please?!?

Talk about making games.

Re: Help Me please?!?

Postby lcl » Sat Jun 05, 2010 9:16 am

dyronl wrote:Thanks man that's awesome, I was worried about creating multiple enimies :)

What about a deactivation zone? do you think I could make, say, four small wire frames around the area I want the player chased and set a colision event to set move_to to 0 and then set a script that has the enimies move back to their area ? or would all the enimies swarm the one return area?


This example contains deactivation method that you asked for. :D If you want enemies to move immediately to their own creation point, change the velocity value in the collision with deactiver to something higher, for example 1000. The velocity value is that only number in the MoveTo-code. And those "X" and "Y" variables are actor variables. And if you want those deactivation walls to be visible, you can make them as normal actors and give them animations, and you can also make the attackers be invisible with making them as filled region or wire frame region actors if you want. :D I hope this is what you're looking for! :mrgreen:
Attachments
Example2.zip
(9.62 KiB) Downloaded 61 times
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Help Me please?!?

Postby edwardfanboy » Thu Dec 30, 2010 3:34 am

Maybe you could make big boxes around your "attack box" and make, instead of a collision event with the box, a collision finish event with whatever's not the box (the big boxes).
Code: Select all
10 PRINT"Hello World
20 GOTO 10
edwardfanboy
 
Posts: 40
Joined: Sat Jun 20, 2009 2:38 am
Location: Nowhere
Score: 3 Give a positive score

Previous

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest