Started by Ali, Fri 07/12/2007 21:14:09
QuoteI would also appreciate suggestions on how to create different layers of foreground objects
QuoteAlso, objects in the far distance, like the sun in the demo, look very jerky.
Quote from: subspark on Sat 08/12/2007 04:01:29QuoteI would also appreciate suggestions on how to create different layers of foreground objectsDo you make your background art in Photoshop? If you do I suggest you work with as many layers as possible and then once your background art is complete collapse
Quote from: subspark on Sat 08/12/2007 04:01:29QuoteAlso, objects in the far distance, like the sun in the demo, look very jerky.The reason for this is that they are only moving one pixel at a time. This is generally countered by a technique called subpixel movement where the edges of the sprite will blend into the background (antialiasing) to compensate for the movement.
Quote from: joelphilippage on Sun 09/12/2007 22:40:43I was trying this out with Lif and when I leave the first room and come back, the object in the foreground moves from where I originally placed it, over to the place were it should be where the camera is. Also the camera corrects it's self after the room loads. I hope I made the problem clear.
Quote from: Ali on Sat 08/12/2007 13:43:56Subpixel movement isn't supported at the moment, as far as I know. I was looking for a practical way of diminishing the jerkiness by allowing the movement to slow down smoothly but stop before the jerkiness becomes too noticeable.Also for low-res games the sun still appears jerky, but I think the rest of the movement should look fine.
Quote from: joelphilippage on Mon 28/01/2008 03:00:23I was testing my game that uses this module and I found a problem. The screen is only 400 pixels tall so it does not scroll up but it still moves the objects up which looks pretty weird. Can you fix it so that the objects do not move up and down if the screen does not?Thanks.
Quote from: Snarky on Mon 28/01/2008 09:52:48I was just thinking about this, and I think you could manually render a few subpixel displacements (in an external image editing app), and then switch out the graphics as appropriate. Of course, you'll multiply the size taken up by the graphics by however many steps you want in the subpixel movement, but if you're only using it for a few objects that are gonna move slowly it might be OK.
Page created in 0.261 seconds with 34 queries.