Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently whilst making my game, I'm not sure how I am going to implement the actual gameplay/environment of it. At first I thought to do a side-on plat-former, where my character falls down the screen, from the side on. However, I think it would be much better gameplay (better gameplay mainly for mobile) to do this falling down in a birds eye view perspective.

What I want is my character to start at some arbitrary point in the world (say the sky) and fall down infinitely. Obviously, I don't actually have to make the character fall down, but I have to make it so that it looks like it is. Now I'm no artist, but how would an artist make art for the scrolling down background? Would he/she have to create sprites for the objects in the environment (i.e. clouds)?

Reference Image (sorry for the quality, and don't judge my lack of art skills):

Reference Image

Now as you can see, my character (the turtle) is in the sky. I eventually want it to go past the clouds and look like it is going closer the ground. Now that I think about it, would it be better for this type of game to not actually transition the setting (i.e. keep one type of setting per game). What I mean is should I just keep the sky so the character never reaches the "bottom".

share|improve this question
I am thoroughly confused by what you really want. Do you want an endless fall or not? Do you want birds eye view or side view? Maybe I'm just having a brain fart, but your question reads like a stream of consciousness rather than a clearly defined question. – Hackworth Jan 16 '13 at 13:35
Just like in 3D, you'd make the objects (like clouds, or fireballs?) get larger, than disappear out of view. In 3D it'll look like a free fall mission: Saints Row or AaaaaAAaaaAAAaaAAAAaAAAAA!!!: A Reckless Disregard for gravity – Byte56 Jan 16 '13 at 17:24
@Hackworth I want an endless fall, with a birds eye view. Much like what Byte56 mentioned. I just wasn't sure how the artist would make art for the style of game or how I would achieve the "falling" effect. – miguel.martin Jan 17 '13 at 0:55
up vote 3 down vote accepted

Implement some perspective in your game. Orient your fall direction to be at the center of the screen. Objects that are in the fall path and far away will be near the center of the screen and small. As they get closer, they grow in size and move outwards.

enter image description here

Note how the straight street appears to get smaller. Since the direction of the perspective is at the center of the screen, all the horizontal lines point towards the center of the perspective. The lines in this perspective will be the same as the travel paths for your objects as the player gets closer to them. Also note that the object displayed is as large as it's going to get, right before moving off screen and not being visible anymore.

See this question (and my answer) about simulating the movement of 2D objects toward the screen. Basically it's a scale operation in place of moving the object along the z axis.

The artistic style is up to you. You can have a far away ground that never gets closer or just have blue sky. That bit is just art related, it's not important to the implementation.

"Moving" the objects past the player is just an issue of scaling all the objects more and more the longer they're on screen. They should then pass outside of view along the edge of the screen once they've gotten to their full size. All of your objects will have some on screen path that matches the above image. Moving from somewhere near the center to which ever portion of the edge is closest to them. The scale will change from smallest when near the center to as large as the object is once it's almost done with it's path. See my other answer for details on how you might calculate the scale for an object depending on how long it'll be on screen.

share|improve this answer

If you would like to have almost 3D models in your game then you have to make it as a 2,5D. So you have to draw your spirtes as if you were looking at them from an angle (birdeye angle, like 45 degrees) then that is called isometric view. For the falling effect, you only have to move the offset of your spirtes by the height of the falling turtle.

Like you have a cloud at x:100 and y:200 and the turtle is at x:100 y:300 you have to say height-otherobjecty (300-200). Also you have to set the distance from the camera (z).

And you can make the clouds at runtime dinamically or make the as sprites and load them.

share|improve this answer

For the absolute background, don't put anything, keep the eternal blue sky and just fill the scene with many white clouds, so it looks like these don't let you see the ground. This way, you can fall and fall without worrying if the ground is getting closer.

As for the sprites, just zoom them and move them to the outer spaces of the viewpoint so they look like they are coming closer. The problem with this kind of games, is that it is hard to know for the player when an object is close enough to hurt him; has happened to me many times with games alike.

share|improve this answer

If it is a scoring game, you better have to set an image for the ground and never change it. So that players can play undefinaly.

The falling effect would already be nice just with the clouds and the other objects zooming.

If you want them to have a time limit to finish the level, you better have to set an image and makeit scale/zoom while the timer is running.

share|improve this answer
I'm thinking of not falling and instead just moving horizontally/vertically at a fast pace. – miguel.martin Jan 16 '13 at 12:58
But you still want this falling effect ? Maybe you can just add other objects, non linked with the game specificitys ( no collisions ... ) that can improve this falling effect ( with zoom and scale animation ), also, maybe you can add an effect ( something like blur for example ) around your character. Correct me if I am out of the subject ^^ – user1876708 Jan 16 '13 at 13:09
No, since I don't see a reasonable way to make it infinite. Other than have a "background" and zooming in slowly, but still that is not infinite. – miguel.martin Jan 16 '13 at 13:15

You could just spawn the cloud sprites in random location, but really small and just make them bigger over time. Thereby giving the effect that the character is falling downwards (To put it another way, falling under the phone).

Regarding changing the background (ie. The ground). Don't modify it, although if it looks a little flat, I suppose you could shift the ground ever so slightly (just a little in a random direction). Just so that the ground moves as well. Just a thought.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.