Game Glitch

Non-platform specific questions.

Game Glitch

Postby bkelynch » Tue Aug 01, 2006 10:04 pm

I made a game on game editor where you are driving in a car, and you have to avoid oncoming traffic, and collect stuff to go faster. My problem is if you pass about 40 actors of traffic (there are about 100 traffic actors
in the game), the game slows down, and all of the traffic dissapears
:shock: and after a while, it all reappears and in random positions on the screen. What is going on here?! :?
bkelynch
 
Posts: 73
Joined: Sun Dec 04, 2005 7:48 pm
Score: 0 Give a positive score

Postby Hyperyon » Wed Aug 02, 2006 8:40 am

Thats a huge bundle of actors! :shock:
Try destroying the ones you passed by setting a sensor after 40 of them.
Or clone actors instead of creating them.
Not sure :? Give it a shot.
Lets keep our dreams alive!
Hyperyon
 
Posts: 148
Joined: Sat Jun 24, 2006 1:29 pm
Score: 0 Give a positive score

Postby Hyperyon » Wed Aug 02, 2006 8:47 am

Or you can use only 1 set of 5 or more actors wich can appear again in desired order after you pass them. Parent a sensor on the bottom of the view. When cars collide with it, create them again on top.
Lets keep our dreams alive!
Hyperyon
 
Posts: 148
Joined: Sat Jun 24, 2006 1:29 pm
Score: 0 Give a positive score

Postby Game A Gogo » Thu Aug 03, 2006 12:10 am

make a filled regoin, put it down the screen at least +110 from the view (so when the cars qet deleted. it look nicer) then on the car, a colision that hes being destroy (use event actor!), and it should work!
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest