STEAM GROUP
game development help gamedevhelp
STEAM GROUP
game development help gamedevhelp
12
IN-GAME
87
ONLINE
Founded
28 May, 2015
Language
English
All Discussions > questions > Topic Details
SK 30 Jan, 2016 @ 1:56am
please help I forget some
I forget some please help D:

how do you let the background move.. because if i do it it gets out of screen Where I was 9 years old I did it With NO CODE
< >
Showing 1-6 of 6 comments
SK 30 Jan, 2016 @ 2:11am 
I wanna make a train game thats why
Revalopod 30 Jan, 2016 @ 9:01pm 
Go to the background and there should be a settings tab somewhere where you can make the background scroll.
Alexa Reizla 30 Jan, 2016 @ 11:24pm 
You mean something like this:
https://www.youtube.com/watch?v=Zk51FMUFuQg
Made it with unity with a minimum of coding where I basically check the controller movement and layer the sprite is on to determine movement.
SK 31 Jan, 2016 @ 1:11am 
Originally posted by DeathSwagga:
Go to the background and there should be a settings tab somewhere where you can make the background scroll.
Ok I try it
*Pillow Pet* 31 Jan, 2016 @ 1:25pm 
You can also put this into an Execute Code action, in the room_start event, of any object in the room:
background_hspeed[0] = 1; // Horisontial speed of background 0, set to 1
background_vspeed[0] = 1; // Vertical speed of background 0, set to 1

This way, you will also be able to use decimal numbers such as 0.2, which you cannot use if you do it in the room tab. And you can also use this to change the background speed dynamically throughout your game.
Last edited by *Pillow Pet*; 31 Jan, 2016 @ 2:08pm
SK 1 Feb, 2016 @ 7:19am 
thx for suport I know it already
< >
Showing 1-6 of 6 comments
Per page: 1530 50

All Discussions > questions > Topic Details