Discussions

SmileBASIC Community

debugþTheRealJoeCool

09/09/2016 6:09 PM ·Spoilers

Open Closed

Rpg stuffs with da helpings.

I need help making da Rpg, bruhs. No keys, and dun't ask why. Cumment if you can help, not to ask da questins.

Advertisement

Comment

This post has no comments.

  • Sure, I could answer specific questions.

    Yeahs0
    Played
  • Yey! Can you help with making animated sprites that move to the control pad?

    Yeahs0
    Played
  • here is the beginning of it.bgfill fills the screen with the grass sprite.spset sets the sprite to the specified management number (for now on mn). the button command looks if a certain button is being pressed. put that in a if then loop so if this button is pushed then goto this line of code.the spofs command moves the specified sprite to the x and y positions that you want.

    Yeahs1
    Played
  • the anim is a array that tells how many "frames" goes by and to change the sprite based on how long the button is pressed down. spchr is a command to change the sprite to the one you want so thing like anamation can take place.vsync waits the specified frames in this case 1 before going to the next line.here the x concordinent is add by one to move the sprite up the screen becase of spofs x,y.

    Yeahs0
    Played
  • y not x anc subtracted not added whoops lol.

    Yeahs0
    Played
  • here is the rest whitch is the same as the @loop basically. oh and the xmax and ymax arrays make it so the sprite will not go off screen.

    Yeahs0
    Played
  • How can you make it so that the sprite can't move off the screen?

    Yeahs0
    Played
  • I'm not good at coding, could i make the sprites?

    Yeahs0
    Played
  • Umm. I guess. You could you be the publisher, if you'd like.

    Yeahs0
    Played
  • i told you by the xmax and ymax arrays aswell as saying if x<0 then x=0 and if y<0 then y=0 if y>ymax then y=ymax and vice versa.

    Yeahs0
    Played
  • Basically you have to define the area the character can't pass.

    Yeahs0
    Played
  • What is my error?

    Yeahs0
    Played
  • That depends on if you're using goto or gosub to get to @down and the others

    Yeahs0
    Played
  • you used goto instead of return.

    Yeahs0
    Played
  • You are updating x, and y variables but not using spofs to update the sprite's position onscreen. If you are getting a syntax error, please tell us the line number and error message.

    Yeahs0
    Played
  • Disregard my previous message. I didn't compare it to the original. It is the goto instead of return calls as stated earlier.

    Yeahs0
    Played

Add a Comment

You must sign in to post a comment.

Sign in using a Nintendo Network ID to connect to users around the world by writing posts and comments and by giving Yeahs to other people's posts. You can create a Nintendo Network ID using your Wii U console or your system in the Nintendo 3DS family.

Use of Miiverse Details about Miiverse

Report Violation to Miiverse Administrators

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Post ID: 3DB-NBL7-EJ9-9E2F-4XK-RXLY

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: