View Single Post
Old 23 November 2015, 15:30   #68
Registered User

keithbugeja's Avatar
Join Date: Nov 2015
Location: Birkirkara, Malta
Posts: 13
Originally Posted by Boo Boo View Post
If you can update a whole screen in a frame without scrolling couldnt you redraw parts of the baciground and have some parallax?
I actually tried this, but my implementation turned out to be too slow. If I remember correctly, I had tagged map tiles containing some measure of transparency, to render them using a mask. Rendering without a mask causes the background to be clipped against the border of a tile, even if the tile graphics do not cover all its area. Unfortunately, when I tried this out, the frame rate started suffering (no doubt because of my poor implementation), so I simply dropped it.

I recycled most of the code and used it to simulate foreground objects which partially occlude the player.
keithbugeja is offline  
Page generated in 0.03934 seconds with 10 queries