プレイ日記
SomeThing… DJZouk2017
I'm now prepared to get back into SmileBasic. I've learned not to restrict myself with one specific idea. So, first and foremost, how do you load maps?
3そうだね
プレイ済み
返信[1]
親投稿
Autz sonic-HD8765
There isn't an standard way to load them. You can make your own based on your needs.
1そうだね
プレイ済み
返信[2]
親投稿
Quote QuoteGamer
Well, there is two ways, of which one I don't know how to work right. But, the one I DO know is this: 1. Open Paint (where sprites are) 2. Make a custom map (look at screenshot) 3. Use LOAD"GRP0:(map's name)",0 Hopefully you get it! -OH!- That map I made in the screenshot was all custom made - my sprites, my pixel art, everything was made one pixel at a time. Don't worry, as soon as you make ---
1そうだね
プレイ済み
返信[3]
親投稿
Quote QuoteGamer
your first one, you really get used to it very fast. Here is the screenshot:
1そうだね
プレイ済み
返信[4]
親投稿
Jacob KulcakKid4
Does this mean you're actually going to comment on the team posts now?
0そうだね
プレイ済み
返信[5]
親投稿
SomeThing… DJZouk2017
@Jacob: Probably, but I can't guarantee that.
0そうだね
プレイ済み
返信[6]
親投稿
SomeThing… DJZouk2017
Quote, can you give me a chunk of code as an example?
0そうだね
プレイ済み
返信[7]
親投稿
Jacob KulcakKid4
I can do that (might do it slightly wrong though) So first, you need to make an array that stores the data for the map, we do this with DIM. It goes like this: DIM[0], 0. The first zero is for the layer of the map that you want to use. The second zero is basically the name you give the array, so since it's the layer "0", I gave it the name "0" Then use LOAD to load the map. (cont)
1そうだね
プレイ済み
返信[8]
親投稿
Jacob KulcakKid4
For load, it's: LOAD "DAT:whatever you named your map when you saved it", 0. The zero is the name for the array you gave it, you may have to put the GRP4, I don't remember. Then (I think it's optional) you use BGSCREEN, but I can't remember what to put for it since it has a long syntax.
1そうだね
プレイ済み
返信[9]
親投稿
Jacob KulcakKid4
So for all of it together: EXAMPLE ACLS(use it to clear the screen) DIM [0],0 LOAD "DAT:MAPNAME",0
1そうだね
プレイ済み
返信[10]
親投稿
SomeThing… DJZouk2017
@Jacob: It says there's a syntax error in line 4.
0そうだね
プレイ済み
返信[11]
親投稿
Autz sonic-HD8765
That's not how you declare an Array. Should be like this: DIM Name[10]
0そうだね
プレイ済み
返信[12]
親投稿
SomeThing… DJZouk2017
@Autz: I found that out a few minutes later.
0そうだね
プレイ済み
返信[13]
親投稿
Jacob KulcakKid4
Yeah, sorry, I saw that, but I had a really bad headache when I saw it, and then I forgot about it, sorry.
0そうだね
プレイ済み