How do I make it like... a side scroller if that's the right word?? (it's a platformer) Like, instead of moving around 1 room, I want to have the background follow me as I run through it. C ough also I don't know how to jump so thatwouldhelptoo but I might find something for that on Google(couldn't really find anything for moving like that on Google for some reason.) I would prefer using the circle pad but if you only know dpad, I can take it. :p
wowIneedagamefaqs acc
#smilebasic #petitcomputer
The Colors! Gallery moderators will look at it as soon as possible.
Comments
21 Jan, 2018, 6:28 am
So I don't remember any styntax or BASIC grammar. But as far as coding conventions are concerned, I can help.
So I was taught to keep three simple parts to a program (but there are probabaly way more efficent ways to organize code nowadays):
@control
(where user input is made)
@maths
(where variables are manipulated)
@draw
(where sprites/backgrounds are drawn)
23 Jan, 2018, 3:40 pm
Hey! I think there is a demo, in SmileBasic, that shows how to program a side-scroller. (I'm not sure of the program name.) It also has a jump routine. Hope this helps...
23 Jan, 2018, 3:48 pm
Ha! I found the program. It's under the SYS file - named game3jump.
23 Jan, 2018, 4:09 pm
My bad! The SYS file is under Browse projects on the Main menu, I had to clarify.