infinite background

0 favourites
  • 12 posts
From the Asset Store
A procedurally generated infinite runner in 3D for Construct 3!
  • I really don't have much skills in the even sheet but i was wondering how do i make a background that keeps scrolling without me copying and pasting the background for a long time , i'm trying to make a doodle jump style game so the background has to scroll up please help???!?!?

  • Please check the How do I FAQ to the section "Scrolling / Camera", you should find examples answering your question.

  • First I would go through the tutorials about paralax, etc... you can set a tiled background and give it movement as well... that should get you on the right path...

  • I use infinite scrolling backgrounds all the time! :D

    What I typically do is take a TiledBackground object and stretch to about 2 or 3 times the size of the screen.

    Then I create some events that tell it to move at a certain speed (Set Background.Y to Self.Y * <Speed> * dt).

    If it goes past a certain point (like 512 pixels away from its starting point) then it moves the BackGround object back to its starting point (If Background.Y is greater than <Background's starting y position + 512>, set y to its original position)

    That's what I usually use! Hopefully, this will help!

  • Hello Zero6, does that lead to a visible jump or stutter in the background scrolling when you set it that way?

  • I found a way of doing it in the "How do I section" (I think that's where I found it). It uses a couple of global variables. You can see if this capx might help....Vertical Scrolling Background

  • hi.. I need help desperately. I'm currently very new at game making.. I want to make an infinite jump like doodle jump too.. but the How do I faq doesn't seem to solve my problems.. I currently have 2 problems

    1st my high score box won't go with the sprite, 2nd, the background also won't go with the sprite as the sprite moves higher.. how do I make GUI for Infinite VERTICAL scrolling? tried to do it with the infinite jumping template..

    If you guys are wondering about my capx, here it is..

    mediafire.com

  • archerguild

    Not sure about 2nd however 1st (high score) you just set it to scroll with your sprite/player.

    I may not be the right person to say this.. <img src="smileys/smiley9.gif" border="0" align="middle" /> but to get more attention on your issue, you could have made your own thread <img src="smileys/smiley23.gif" border="0" align="middle" />

  • Hi Sulli! thanks for the fast reply! I managed to do it with with pin behavior! Yeah.. now my background and my high score pinned to my Char like GUI!

    Thanks for your info.. but I think scroll to doesn't have the option to scroll with the player lol.. at first I was confused because there is only shake option in the scroll to behavior.

    Now I can move on to my next objective!(which is power ups and obstacles) :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • archerguild

    Cool! PM me (click on my name) if you need help testing anything! Sound good.

    Also if you reply use the ' Sulli ' thing otherwise i dont get a notification.. just by chance I saw your reply <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Sulli

    Nice,I think it will come in handy.. Thanks for your information :) by the way, English is not my native language, so please forgive me if my English is rather.. impolite and messy? XD

    I'll be sure to let u know if I got stuck again :D

  • archerguild if it helps at all, I speak French <img src="smileys/smiley1.gif" border="0" align="middle" />

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