Posted By
|
Message
|
BBalazs
Registered 10/07/2004
Points 41
|
28th October, 2004 at 15:09:28 -
I encountered the similar problem in 2 of my projects already: In one of them, the player has a ship and must evade all other incoming ships from the right. After a while, the ships stop coming(!), and I notice that most events get deactivated.
Now I'm trying to make something similar to "pong" where are 2 paddles, 1 for the computer and the player has to score - you know how. I use ball movement for the AI - With the look in direction of action everything works fine - except that after an amount of time the AI won't change it's direction - the event gets deactivated, and the computer paddle flees(!) the playfield.
Is there any solution?
n/a
|
Coop
Registered 15/08/2004
Points 347
|
28th October, 2004 at 16:45:03 -
yeah same thing happened to me in your first problem. you have to destroy the ships once they leave the left side of the screen.
...
|
JPMarkey (Jambo)
Registered 04/05/2003
Points 1057
|
28th October, 2004 at 19:01:28 -
For your second problem. Your coding has been done wrong.
You might be able to find it out on the debugging console (extension) Just make it have the AI as the default and it'll tell you what happenned when it stopped working
http://www.jpmarkey.co.uk
|
BBalazs
Registered 10/07/2004
Points 41
|
29th October, 2004 at 08:26:13 -
Thanks! I'll try that debugging extension (console). I've never heard of the object limit though - now I know about it.
n/a
|
Tiles Possibly Insane
Registered 06/12/2002
Points 2339
|
30th October, 2004 at 05:54:53 -
Just in case you donīt know where to find them : Go to the Properties of your Frame, doubleclick at " Number of Objects at Runtime " ,and change it to your needs . Up to 10000 is possible ...
Free graphics,Free Games
http://www.reinerstilesets.de
|
|
|