Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Enemy problem

Author
Message
Yero008
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location: Romania
Posted: 11th Feb 2011 13:53 Edited at: 13th Feb 2011 13:31
Hi,
I have a problem with my enemies system.
When I load directly level 5, the enenies are moving properly. But if I finish the 4 fourth level and then go to level 5 the enemies don't work. The enemies that are in level 4 are just repositioned to match in the level.
This is the enemy loop.

This is the making of the enemies at level 4

This is the repositioning from level 5
I make them again because I have a function that delete's what was used in level 4. I tried not using it and just positioning the enemies, but it still doesn't work, it just goes into one direction and never stops.
In the main loop I have

Forward thanks
Yero008
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location: Romania
Posted: 13th Feb 2011 13:34
Anyone?
Yero008
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location: Romania
Posted: 20th Feb 2011 15:03
Please, I really need to make it work.
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 18th Mar 2011 09:31
I don't understand.... If you reposition the existing "enemies" they should simply move as normal.

Quote: "ene_speed=1;"
Is this a typo?

Why are you only checking the position of enem_1 ?

The fastest code is the code never written.

Login to post a reply

Server time is: 2024-11-19 12:21:47
Your offset time is: 2024-11-19 12:21:47