Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7 8 9 10 11 1218
次のページ(過去)
返信[1]
親投稿
mystman12 mystman12
That moment when the April Fool's program you made randomly pops up on Miiverse.
1そうだね
プレイ済み
返信[19]
親投稿
mystman12 mystman12
I've actually never tried this out, but I think it's correct. If both IFs are true then just use the code you would normally use when pressing left on the D-Pad, although you could also use the absolute value of CPX in your X movement code to allow the player to move at different speeds when the stick is held at different positions. Just note that when doing this things get a bit more complicated.
0そうだね
プレイ済み
返信[18]
親投稿
mystman12 mystman12
I'm actually not familiar with using the circle pad... The best method I can think of is getting the position of the circle pad via STICK OUT CPX,CPY , and then checking to see if: CPX is negative (<0) The absolute value (The value of a number ignoring whether it's negative or positive) of CPX is greater than the absolute value of CPY (IF ABS(CPX) > ABS(CPY) THEN)
0そうだね
プレイ済み
返信[17]
親投稿
mystman12 mystman12
sprite's position on screen. Obviously this is a somewhat vague example, but hopefully it gets the point across. You may wish to use a similar method for horizontal movement, and of course you'll have to make sure the player can only jump while on the ground! You'll also need to make sure the SPOFS takes the camera position into amount if you're game has scrolling.
0そうだね
プレイ済み
返信[16]
親投稿
mystman12 mystman12
code after the input that handles this velocity. Basically, write code that adds the PV variable to the players Y position, then add some value, say 2, to the PV variable. Eventually the PV variable will go over zero, which will cause you to start falling. When the player touches the ground change the PV variable to 0. Finally, after you have done this, you can use SPOFS to change the...
0そうだね
プレイ済み
返信[14]
親投稿
mystman12 mystman12
Input is simple when the player pressed right, add to the players X position. I assume what you want to do, however, is make it so you can jump. That's pretty simple. You want a velocity variable, just call it PV (Player Velocity). When the player presses the jump button, change this variable to a negative value. This is where you move on to the second part of code I mentioned. You'll want...
0そうだね
プレイ済み
返信[12]
親投稿
mystman12 mystman12
Do *not* use SPANIM to control your sprite's movement, unless you want it to follow fixed patterns. What you want to use is SPOFS. What you want to do is: Code that checks for input Code that moves player position by advancing/decreasing position variables SPOFS Control number,X,Y
0そうだね
プレイ済み
返信[1]
親投稿
mystman12 mystman12
Okay, problem solved. Turns out the error was on line 574. (I used INC instead of STEP) I have no idea why it was saying line 575...
2そうだね
プレイ済み
プレイ日記
mystman12 mystman12
What... On Earth... Is going on here?!?! It keeps giving me a syntax error on line 575, *even if I notate the entire line with an apostrophe!* This is one of the weridest things I've ever had happen to me in SmileBASIC... And boy is it frustrating!
3そうだね
プレイ済み
返信[4]
親投稿
mystman12 mystman12
Yatzy is the public domain version of the game, actually, but yeah, I guess any name that isn't already used would be fine.
0そうだね
プレイ済み
返信[1]
親投稿
mystman12 mystman12
Got any grapes?
0そうだね
プレイ済み
返信[3]
親投稿
mystman12 mystman12
Let's be honest though... Tropipical is much more fun to say than tropical!
2そうだね
プレイ済み
返信[9]
親投稿
mystman12 mystman12
Nice! Been waiting for someone to make an FPS out of Raycaster.
0そうだね
プレイ済み
返信[4]
親投稿
mystman12 mystman12
WAIT will always wait the amount of time specified, while VSYNC waits for the amount of frames specified. (I think) Basically, if your program takes most of a frame for each loop to be processed, VSYNC 1 will only wait the remaining amount of time for that frame before continuing. This ensures a completely stable game speed, unless your program takes *longer* than one frame to process per loop.
1そうだね
プレイ済み
返信[2]
親投稿
mystman12 mystman12
Um... I can't remember exactly how... but if you move the cursor over the BGMPLAY command and press the "?" in the top right of the screen, it will give you some instructions that should show you where to put channel numbers.
0そうだね
プレイ済み
返信[5]
親投稿
mystman12 mystman12
Also, you have X and Y mixed up. UP and DOWN should change the Y values, and LEFT and RIGHT should change X.
0そうだね
プレイ済み
返信[1]
親投稿
mystman12 mystman12
Crying tears of joy, that is!
4そうだね
プレイ済み
返信[1]
親投稿
mystman12 mystman12
They're the exact same thing, it just has a different name in Japan. (Techincally, the Petit Computer we got for DSiWare was Petit Computer 2, as the original was only ever released in Japan. This third version kept the PTC name in Japan but got SmileBASIC in the West.)
3そうだね
プレイ済み
返信[1]
親投稿
mystman12 mystman12
Yes...
1そうだね
プレイ済み
返信[3]
親投稿
mystman12 mystman12
It was more of a direct port of the original, rather than a fan game.
3そうだね
プレイ済み