Page 1 of 20
Snayke - Out now! Version 1.1, soundtrack available
Posted: Sat Apr 16, 2011 1:51 pm
by slime
Re: wormbearpig - Snake clone
Posted: Sat Apr 16, 2011 2:04 pm
by SoggyWaffles
Neat, looks very good. I like the 'tail' blocks fading to the back ground color. Perhaps the backgrounds can change when you hit some sort of score milestone.
Re: wormbearpig - Snake clone
Posted: Sat Apr 16, 2011 2:06 pm
by thelinx
Very good looking! Like SoggyWaffles said, it'd probably be neat if the background was changing at some kind of interval.
Re: wormbearpig - Snake clone
Posted: Sat Apr 16, 2011 2:53 pm
by Lafolie
Love this. I'm a massive NIN geek though.... (obviously -- look at my avatar). But I agree, the screenshots kinda gave the impression that the backgrounds would gently sweep in colours or something. I imagine that would look fantastic.
My one criticism is that the snake moves a little to fast for me, but then, it's a part of the challenge. Nice work man!
Re: wormbearpig - Snake clone
Posted: Sat Apr 16, 2011 7:26 pm
by BlackBulletIV
Very nice! The music is nice, it fits well with the background I reckon. As Lafolie said, it's a bit fast for me, but ah well.
Re: wormbearpig - Snake clone
Posted: Sat Apr 16, 2011 9:06 pm
by slime
I'll see about making slow/medium/fast speeds. The problem with a slower speed though is that it looks pretty 'choppy', not sure how to fix that.
The next version will probably make the background change a bit every 100 score or so. A constantly changing background would be amazing, but I don't quite know how to go about doing that without murdering framerates yet.
Re: wormbearpig - Snake clone
Posted: Sat Apr 16, 2011 9:32 pm
by BlackBulletIV
slime wrote:I'll see about making slow/medium/fast speeds. The problem with a slower speed though is that it looks pretty 'choppy', not sure how to fix that.
You could make it so that the snake overlaps half or even a quarter of a square for a small period of time.
Re: wormbearpig - Snake clone
Posted: Sat Apr 16, 2011 9:56 pm
by Lafolie
How is the background being rendered at current? I'm too lazy to look at the code right now, but I checked out the project folder, it seems that you are creating a composite imagedata object out of tiles or something?
Re: wormbearpig - Snake clone
Posted: Sat Apr 16, 2011 10:24 pm
by slime
It draws the tile grid to a framebuffer while setting the current colour using various functions that take the x/y positions of the tiles. When it transitions between different backgrounds it first draws the new background to a different framebuffer with 0 alpha and then slowly fades it in while fading the old one out.
I tried it without framebuffers yesterday and got about 11 fps. o.O
Re: wormbearpig - Snake clone
Posted: Sat Apr 16, 2011 10:29 pm
by Lafolie
You could create small collection backgrounds and seamlessly scroll/fade them. Would that work?