|
« Reply #42 on: December 25, 2010, 08:09:32 pm »
|
|
-Always i use 30 FPS in my games. The overworld can´t go with more speed (is a big room)
I don't understand what difference that makes , more fps makes the game look smoother .
there isn't a system in place that deactivates objects outside of a certain threshhold past the view
i'm not sure what you mean by that ,
In other words, the Game Maker engine constantly gives every object in a room processing time, rather than skipping over them if they are a certain distance outside of the view. Skipping them would allow processing to go by much faster, and would allow the system to handle larger rooms more efficiently, because there would be far less to contend with. While I don't use Game Maker, there are two ways I can come up with one method off of the top of my head that Game Maker users could implement this on their own. Create spawners, rather than objects themselves, that would activate only within a certain distance of the view. Whenever the object comes within range, it would do one of two things: spawn the object for the first time, or had the object been spawned in the past, respawn the object where it left off. This spawner object would remove the object from the game when it left the pre-defined bounds, while storing a copy of the object's state. This way, there is far less in the way of processing than there would be otherwise, but it would be, as far as the player is concerned, the same. This could also be applied to create an area spawner for enemy objects in, say, a Legend of Zelda-style game. The spawner carries a template of the enemy object, and when the player is within a specified distance, could begin spawning within its area, given a set of parameters, such as the minimum and maximum numbers of enemies, variations to the enemy's stats, and relative spacing between enemies.

Logged
|
There's such a double standard about religion in the modern world. Catholics can gather, wear white robes, and say "In nomine Patris, et Filii, et Spiritus Sancti" and be considered normal.
But if my friends and I gather, wear black robes, and say "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn", we're considered cultists.
|