How do I make endless road like kamikaze race?

0 favourites
  • 9 posts
From the Asset Store
Set of street and road Background to make pixel art game.
  • I mean, the road will be endless for up. How can i make?

    Thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • have you seen the endless runner example shipped with construct2?

    It has an endless background, implementation would be about the same..

  • If you mean autorunner, yes i saw.

    But it's going to right, and no matter how much try, i cant make it go down

  • It's the same principle..

    instead of moving left (180 degrees) you want to move down (90 degrees)

  • Thanks, but

    How do i make the tiled background continue viewing on the screen? I don't know how to explain, but;

    TiledBackground <_ -SelfWidth/2 ---- TiledBackground Set X to Self.X + Self.Width/2

    how can i convert this to Y?

  • Should be something like this:

    TiledBackground.y > Self.Height/2 ---- TiledBackground Set y to Self.y - Self.Height/2

    When going left x gets smaller, but when going down y gets bigger, so width should be replaced by height and + by - and < by bigger >

    I might have done it too fast, so there could be some typing errors, but with the above you should be able to figure it out..

  • Should be something like this:

    TiledBackground.y > Self.Height/2 ---- TiledBackground Set y to Self.y - Self.Height/2

    When going left x gets smaller, but when going down y gets bigger, so width should be replaced by height and + by - and < by bigger >

    I might have done it too fast, so there could be some typing errors, but with the above you should be able to figure it out..

    Thanks a lot! It's working, but with a little problem

    BG disappears for a bit after some seconds. How can i fix this?

  • the tiledbackground should be exactly four times the original image height here..

    changed it to y > 0, just because it works..

  • It works ! thanks a lot

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)