Cubicus Flavus - Random scrolling background

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
34 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 7, 2011

Haven't gotten a lot of work done today, but it's something. The background is created by checking the total size of the map, and then calculating how many images are needed to fill the background including some extra space. Next, the background gets build by putting an X amount of random background images together, X being the amount needed as calculated before.

By doing this, the player gets a random background every time he starts the game, (almost) never getting the same background twice.

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more