SmileBASIC question by PuppetPieCOMICS

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

Comments
4
share
like
used tools icons

painting stats

painted on a Nintendo 3DS
20 Jan, 2018, 8:52 pm
00:06

Comments

eeMcCutcheon

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)

Entropic1101

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...

Entropic1101

23 Jan, 2018, 3:48 pm

Ha! I found the program. It's under the SYS file - named game3jump.

Entropic1101

23 Jan, 2018, 4:09 pm

My bad! The SYS file is under Browse projects on the Main menu, I had to clarify.

Please login to leave comments

delete comment?

just delete
delete comment and prevent this user from commenting on your paintings
report as inappropriate

English

Japanese