Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7 8
次のページ(過去)
返信[2]
親投稿
Stewart segludian
Attached is a small demo for loading and saving both a string and a numeric array. Hope that is what you were looking for.
1そうだね
プレイ済み
返信[9]
親投稿
Stewart segludian
Attached is a simpler spfunc demo so that sprites can move/update themselves. Turns out my problem yesterday was not putting the function name in quotes. The samples project I posted yesterday has a map loading demo. I think I called it mapload, just browse the folder, it should be easy to find. Note that you have to use the sc save function in the map editor to save a file per layer.
1そうだね
プレイ済み
返信[7]
親投稿
Stewart segludian
If instead of a cut scene you were looking for a sprite to get its own callback function each frame, then look into SPFUNC. Once set up you call CALL SPRITE once a frame and it will call all the SPFUNC sprite functions. The management number will be in the global CALLIDX. Was trying to make a demo but it got long and I could only get the line number form to work.
0そうだね
プレイ済み
返信[6]
親投稿
Stewart segludian
A2EE5KQV has my samples folder. There is a map demo in there. Bugsquish does sprite animation, as does samplecirclepd which moves around a sprite based on the circle pad. Most of them use button input, but looking up button in the in app help (type button then hit the ? button in the upper right) should tell you what you need. I don't have anything for cut scenes in that folder.
0そうだね
プレイ済み
返信[5]
親投稿
Stewart segludian
Attached is a short loop demo. Let me know if you have questions.
0そうだね
プレイ済み
返信[4]
親投稿
Stewart segludian
Thanks Oscar!
1そうだね
プレイ済み
返信[1]
親投稿
Stewart segludian
Any example in particular you are looking for?
0そうだね
プレイ済み
返信[1]
親投稿
Stewart segludian
That game looks super cool, did you make it?
1そうだね
プレイ済み
返信[1]
親投稿
Stewart segludian
Check out bugsquish, or samplecirclepd in my samples dowmload key=A2EE5KQV. They both have sprite animation.
0そうだね
プレイ済み
返信[10]
親投稿
Stewart segludian
I put all my demos in a folder called Sample and published it. The key is A2EE5KQV. You want the file called TextMenu but feel free to look at any of the demo programs for inspiration. Have a good night.
0そうだね
プレイ済み
返信[7]
親投稿
Stewart segludian
I tried to keep it to one screen but did have to end up squishing multiple lines together more than I would have liked. When I tried something like the attached it was getting too big to share as a screen shot.
0そうだね
プレイ済み
返信[5]
親投稿
Stewart segludian
Thanks, I am glad you like it.
0そうだね
プレイ済み
返信[4]
親投稿
Stewart segludian
position and write it again at the new one. Just remember the ; so you don't start a new line. My first post in the thread has an improved version of your code. I turned the menu into a function. Set it up to pass in an array of menu items so you can reuse the code. Put the cursor handling in a repeat until loop, minimized screen redraw, and declared all variables with type specifiers. Good luck.
0そうだね
プレイ済み
返信[2]
親投稿
Stewart segludian
@menu when [a] hasn't been clicked instead. [a] is a hard one to not have exit immediately since you probably click [a] after typing run to start the program. Normally this will exit the menu as soon as it is drawn because the button is still held down. I would also recommend not redrawing the whole screen every time through the loop, you don't need to for this program, just overwite > at the old
0そうだね
プレイ済み
返信[1]
親投稿
Stewart segludian
Ok, for the error message it looks like you are hitting [start] instead of [a]. [start] is unfortunately off limits for smile basic code, and just stops the code. As for errors, you add 2 to cy instead of 1 for the down arrow. The biggest problem looks like the last two lines. It looks like you want to break out on [a] but gosub back to the menu line again instead. I think you want to goto....
0そうだね
プレイ済み
返信[2]
親投稿
Stewart segludian
What kind of reference are you looking for if not a website? Also, if you don't have programming experience you need to set your sights much much lower. Minecraft and Terraria are way too high level for a first project and way too big. Try something more like hangman, tic tac toe, or guess the number. Anyway, I will second Petit Professor on YouTube.
1そうだね
プレイ済み
返信[4]
親投稿
Stewart segludian
Here is something I got with midpoint displacement. Still buggy and slow. Random midpoint were crashing on me and think I evaluate the same pixel multiple times. But it is pretty
1そうだね
プレイ済み
返信[2]
親投稿
Stewart segludian
Will something like the attached help? It assumes you saved the imdividual layers in the smile tool level creation tool using sc save, instead of the ordinary save command.
1そうだね
プレイ済み
返信[1]
親投稿
Stewart segludian
Are you talking about something like the attached picture, or just a background image for a menu?
0そうだね
プレイ済み
返信[3]
親投稿
Stewart segludian
I was trying out diamond squares and got the attached picture. Runtime was REALLY long, think I may have a bug somewhere, but it is another terrain algorithm you may be interested in. Just make different height ranges into water, shore, plains, grass, moutains, and so forth.
0そうだね
プレイ済み