PDA

View Full Version : N00b question



blazes
August 1st, 2005, 08:11 PM
This is my first game. I need to know how to make a platform solid. Also how many frames does a say 6 level game have usualy? And what do you normily set gravity to?

NiñoScript
August 1st, 2005, 08:25 PM
Also how many frames does a say 6 level game have usualy?

What? :S

blazes
August 1st, 2005, 08:26 PM
It's a question. Like I've made a small game proto-type using 2 frames for the one level it had.

TheCanadian
August 1st, 2005, 08:48 PM
It's a question. Like I've made a small game proto-type using 2 frames for the one level it had.
Well using that logic, I suppose you could multiply the number of frames per level by the desired amount of levels:
2f/l * 6 = 12f/6l

Your gravity should be set to whatever you believe will give the desired effect at the frame rate you have.

blazes
August 1st, 2005, 08:51 PM
i was talking about how many frames YOU normally have. and what gravity was realistic.

Templarian
August 1st, 2005, 08:56 PM
For games you usually run somewhere from 25-30 frames. Anymore you need to rewrite your code. and the way you make it sound you would probably have 7 frames. One for you Menu at start then your lvl's.

TheCanadian
August 1st, 2005, 08:57 PM
Well I personally have never made a platform game. And like I said, you can't make it exactly realistic. It is what looks realistic.

blazes
August 1st, 2005, 08:59 PM
What about making platforms solid?

Lord Rahl
August 2nd, 2005, 07:06 AM
What about making platforms solid?
Use a hittest script or a getBounds script.

TheCanadian
August 2nd, 2005, 12:21 PM
Or you could test the x and y positions of both the player and the platforms. This might not work as well though.

bandinopla
August 2nd, 2005, 12:29 PM
N00b question endeed. JAJAJAJAJAJAJAJA