Sign in to follow this  
  • entries
    90
  • comments
    66
  • views
    72295

Using bitmaps, take 2

Sign in to follow this  
Tesseract

85 views



This is my next attempt at the engine. In order to save on file size, I am using a single texture (a .png), dynamically creating different shaped and sized sprites, and filling the sprites with the texture. It is mostly working well, except that for some reason, the alpha transparency on the .pngs is being ignored. This is kind of important, as I wanted to use that to break up the otherwise straight edges of the graphics.

I like this example. Each sprite has 25 layers, and they are all of roughly the same dimensions so the parallax effect is more obvious here than in yesterday's example.

After I get the technical issues out of the way I will try this method with things like buildings, walls, and some simple terrain. After that: collision detection.
Sign in to follow this  


1 Comment


Recommended Comments

Nice! It's hard to notice at first, I think mostly because the ground is not moving at all and that way it doesn't look much like a natural 3D scene, more like an abstract and weird world of sorts :]

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now