? SPANIM problem (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password
[Help Wanted] SmileBASIC Documentation Project

SPANIM problem

  • #1 ✎ 147 ChaseCZ Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself SPANIM 3,"XY",-15,255,35,1 This is the code... It should go to 255,35 but instead it goes half the way then it stops and go to 255,35 only after i use the touch screen. Here's video if you don't understand what i'm having problem with, also ignore the blackness on left side, it's because there is some private stuff that i don't wanna show yet. https://www.youtube.com/watch?v=RT8W0sT3VBs&feature=youtu.be What should i do to fix it? Posted
  • #2 ✎ 192 TheV360 Third Year My account is over 3 years old Website First Day Joined on the very first day of SmileBASIC Source Website Night Person I like the quiet night and sleep late. Express Yourself Are you running it once per frame or just when you stop touching the screen? Posted
  • #3 ✎ 147 ChaseCZ Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself I'm running it when R+L are pressed and some variable equals 5. So i don't know Posted
  • #4 ✎ 477 SquareFingers
    i don't know
    If you don't know your code, it's unlikely anyone will be able to help you from sparse indirect clues.
    Posted
  • #5 ✎ 147 ChaseCZ Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself it's the code on line 105. btw i said “I don't know“ because i don't know what does he mean with “once per frame“ Posted
  • #6 ✎ 12 hanzo Is the part that sets the strawberry's destination only line 106? I guess anyone else set wrong destination (e.g. 250, 35). Try checking all parts which are related to sprite #30. Posted
  • #7 ✎ 192 TheV360 Third Year My account is over 3 years old Website First Day Joined on the very first day of SmileBASIC Source Website Night Person I like the quiet night and sleep late. Express Yourself You can use SPCHK() to check if a sprite is animating. IF !SPCHK(0) THEN SPANIM 'code here ENDIF Also, one frame is one WAIT 1 statement, or one VSYNC 1. Posted
  • #8 ✎ 147 ChaseCZ Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself
    Is the part that sets the strawberry's destination only line 106? I guess anyone else set wrong destination (e.g. 250, 35). Try checking all parts which are related to sprite #30.
    It's weird... Everywhere is 255,35
    You can use SPCHK() to check if a sprite is animating. IF !SPCHK(0) THEN SPANIM 'code here ENDIF Also, one frame is one WAIT 1 statement, or one VSYNC 1.
    No, it didn't work... I guess i'll have to let it be as it is. But thanks all of you
    Posted