I'm trying to make a game where the tiles scroll upwards and they get deleted when leaving the top of the screen as they get created at the bottom. It's the first time I try something like this and I'm not the greatest with loops, I managed to make it work but I can't get rid of those horizontal gaps that appear when the speed is faster.
Heres what the issue looks like
Heres the code
Thanks for the help!
Develop games in your browser. Powerful, performant & highly capable.
Hmmm? Check the speed of the tiles and make sure they are the same.
If you are using physics behavior it will also cause that to happen.
can you post the capx for us to look at ?
https://drive.google.com/file/d/0B3zgjs ... sp=sharing
Heres the Capx!
Thanks for the help
A couple of ideas for you to look at...
Thanks for the reply and sorry for being impatient
Unfortunately even with the fix it still seems to occur...
when you get the speed up above what the computer can "re-dirt" the bottom area you will get lines. so you need to find out how fast your desired platform can do this task.
my machine runs quite happy at speed 300...
slight hack...laying down two lines of dirt might help ?
(capx above updated)
I will have another look tomorrow...
also would using bullet to move the (lots of) dirt be better ?
So I still haven't fixed my issue but I did find this post:
It's the same problem that I'm having but I'm having trouble adapting it to my project...