Fangames > Programming Questions
Platform Question
shissachan:
I was wondering if there were neat tricks or some way to make a platform stay between a certain space. Something like a boundary so the platform knows where to collide with it and turn around to go the other direction. Anyone know what I should do for this? :atkWut:
infern0man1:
Create an invisible object and have the platform reverse direction when it collides with the object.
shissachan:
My platforms aren't moving at all actually. Anyone know why that might be the case? I made a new object and made the parent the moving platform, by the way. :atkWut:
pieceofcheese87:
you can just put hspeed=___ or vspeed=____ in the instance creation code
shissachan:
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.
Navigation
[0] Message Index
[#] Next page
Go to full version