Fangames > Programming Questions

Platform Question

<< < (2/2)

vlhx:

--- Quote from: shissachan on July 09, 2014, 02:46:39 AM ---Oi vey. Thanks cheese. I used hs thinking it would work like the spikes but I'm dumb as usual.  :atkCry:

While I'm at it, how do I get the background to scroll on it's own even if the player is staying still? Like a visual kind of scrolling. These are what I currently have the background set to but it's just motionless.
(click to show/hide)
--- End quote ---

you probably have a duplicate background in background 1 which is currently blocking background 0 from showing, it should work fine once you have dealt with that

shissachan:

--- Quote from: vlhx on July 09, 2014, 10:25:44 AM ---
--- Quote from: shissachan on July 09, 2014, 02:46:39 AM ---Oi vey. Thanks cheese. I used hs thinking it would work like the spikes but I'm dumb as usual.  :atkCry:

While I'm at it, how do I get the background to scroll on it's own even if the player is staying still? Like a visual kind of scrolling. These are what I currently have the background set to but it's just motionless.
(click to show/hide)
--- End quote ---

you probably have a duplicate background in background 1 which is currently blocking background 0 from showing, it should work fine once you have dealt with that

--- End quote ---
I checked back to see if I did that but I actually didn't. I have a background image with a foreground. They appear fully stretched and clean together in game maker but when I test the game they end up looking like this without any motion.
(click to show/hide)

vlhx:

--- Quote from: shissachan on July 09, 2014, 12:27:51 PM ---I checked back to see if I did that but I actually didn't. I have a background image with a foreground. They appear fully stretched and clean together in game maker but when I test the game they end up looking like this without any motion.
(click to show/hide)
--- End quote ---

thats weird. im not experienced enough to say what could be wrong with it  :BibleThump: by my logic your background should be scrolling with given values on the first picture, atleast thats how it works for me if i boot up a fresh map and just add those same values in the background tab

you could try it on a new room just to see if you can get it working there, it might help you to figure out whats the actual problem with your current room

shissachan:
Yeah I got it fixed. I had an object that was making the background follow the player which prevented it from moving. paraPalm

Navigation

[0] Message Index

[*] Previous page

Go to full version