gravity in elma.
Moderator: Moporators
-
- Kuski
- Posts: 7
- Joined: 18 Apr 2003, 04:46
gravity in elma.
In ELMA, gravity can only go down, up, right or left. It wouldn't add much to the game to have down-left directed gravity... BUT, i was thinking, how about gravity pionts somewhere in levels. That way, in any possition in a level, gravity would be directed to a single point in space.
gravity points could be triggered by designated apples (apple-1 triggers gravity point 1, apple-2 cancels gravity point 1 and triggers point 2).
One thing to decide about the physics of this pionts, is wether gravity acceleration should be constant or should it decrease as you go far from the piont (inversly proportional to the square of the distance as it works in real physics). With the second option you have a problem: if the bike falls IN a gravity point, gravity acceleration gets infinitly high (probably cousing a bug), so I would throw a killer in it. In the other hand, with the second option you can have more than one gravity point activated at the same time (with the constant gravity acceleration it would get kind of weird). Anyway I prefer the first option, it keeps the game simpler.
An interesting use of this would be to build a very large circular vertex, throw a gravity point in the middle, and make levels like little planets, like a normal level except, if you go in the same direction for a while you end up in the same spot (Imagine a labyrinth carved inside a planet). you could also jump from planet to planet changing gravity points. You could put a piont in mid-air and use it as a gravity slingshot.
And option like this wouldn't change the escence of the game so much (specially if used in large scales) and it would a add a lot of possibilities for level designers (anyway it would just be an option).
Maybe is a dumb idea and maybe its very hard to program, but its always good to share...
gravity points could be triggered by designated apples (apple-1 triggers gravity point 1, apple-2 cancels gravity point 1 and triggers point 2).
One thing to decide about the physics of this pionts, is wether gravity acceleration should be constant or should it decrease as you go far from the piont (inversly proportional to the square of the distance as it works in real physics). With the second option you have a problem: if the bike falls IN a gravity point, gravity acceleration gets infinitly high (probably cousing a bug), so I would throw a killer in it. In the other hand, with the second option you can have more than one gravity point activated at the same time (with the constant gravity acceleration it would get kind of weird). Anyway I prefer the first option, it keeps the game simpler.
An interesting use of this would be to build a very large circular vertex, throw a gravity point in the middle, and make levels like little planets, like a normal level except, if you go in the same direction for a while you end up in the same spot (Imagine a labyrinth carved inside a planet). you could also jump from planet to planet changing gravity points. You could put a piont in mid-air and use it as a gravity slingshot.
And option like this wouldn't change the escence of the game so much (specially if used in large scales) and it would a add a lot of possibilities for level designers (anyway it would just be an option).
Maybe is a dumb idea and maybe its very hard to program, but its always good to share...
i think elma should be removed completely!
-
"leader status in the Elma against-the-system underground" - Abula
-
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
"leader status in the Elma against-the-system underground" - Abula
-
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
-
- Kuski
- Posts: 8
- Joined: 24 Jan 2005, 15:41
- Location: Suomussalmi, Finland
- Juski
- Kuski
- Posts: 2200
- Joined: 26 Dec 2003, 20:53
- Location: irc://irc.ircnet.org/ranks
Arrows in the apples is good idea, thought of before too. But remove them? That's just stupid...
No regrets
Are you LOST?
Are you LOST?
-
- Kuski
- Posts: 8
- Joined: 24 Jan 2005, 15:41
- Location: Suomussalmi, Finland
- Juski
- Kuski
- Posts: 2200
- Joined: 26 Dec 2003, 20:53
- Location: irc://irc.ircnet.org/ranks
-
- Kuski
- Posts: 8
- Joined: 24 Jan 2005, 15:41
- Location: Suomussalmi, Finland