Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1729
次のページ(過去)
返信[4]
親投稿
Zee Storybookten9
I will :P My main reason for not working on programs more is that school is starting to end - which means that teachers are starting to throw in standards that they forgot to teach and testing is happening. Luckily, after school is Summer, and I can take advantage of the nice weather to program. Actually it's blazing hot weather. So it's a good move.
1そうだね
プレイ済み
返信[2]
親投稿
Zee Storybookten9
Answer: I will when I feel like it. I have been working on something else, and it's not my highest priority. But after I finish, Home will be on the top of the list.
1そうだね
プレイ済み
返信[3]
親投稿
Zee Storybookten9
It's better to use methods that take up less memory. Though Oscar's method does work and has some advantages, here's my recommendation: use CHR$ combined with RND. PRINT CHR$(RND(26)+65) This can be slightly adjusted to use lowercase letters: PRINT CHR$(RND(26)+97) Then you'll use less memory.
2そうだね
プレイ済み
返信[3]
親投稿
Zee Storybookten9
Pretty much. Depending on the size of the sprite, I would recommend setting the SPHOME to (8,8), though if you use 32x32, you'd want something more like (16,16). You may want to scan a larger sprite all the way, so instead of IF BGGET(0,X/16,Y/16)==0 you'd do something like FOR I=0 TO (SPRITE SIZE)/16-1 FOR J=0 TO (SPRITE SIZE)/16-1 IF BGGET(0,X/16+I,Y/16+J)==0 THEN BEEP NEXT NEXT
0そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
The difficulty is that there is no BGCOL or similar command. However, you can detect if a sprite's home is in a BG tile with BGGET(LAYER,SPX/16,SPY/16)==0, though this changes if you use BGOFS.
0そうだね
プレイ済み
お絵かき
Zee Storybookten9
16そうだね
プレイ済み
返信[6]
親投稿
Zee Storybookten9
Pretty soon. I've bee really distracted recently, sorry, but it's almost to the point of working to an extent, all I need to do then is add desktop management and compiling, both should be simple.
0そうだね
プレイ済み
返信[3]
親投稿
Zee Storybookten9
Well, I was trying to add AIs, but they didn't work. I'm not even going to bother though, as I've proved my point :P
0そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
Stopping 1 part of the code is unnecessary because SmileBASIC is not multithreaded. However, to stop loops, use BREAK, to stop a subroutine (gosub), use RETURN, and you can use large IF statements or labels to stop functions. Are any of these what you mean?
0そうだね
プレイ済み
プレイ日記
Zee Storybookten9
I decided to prove to my brother that programming agar.io would be easy. It pretty much was. But I got too out of hand, and the AI doesn't work. Though then again, agar.io doesn't have an AI.
10そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
I have a better solution to end strings though: ". Other than that =, this is pretty cool. It's better for ending IF statements than :ENDIF:, which I'd used previously.
1そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
Change sprites with SPCHR. However, adding an enemy AI is NOT a simple question. There is not any particular way to do it, so you need to think of what you want the enemy to do and then program it thusly. You can ask questions about something if you don't know how to do it, but adding an enemy AI is too broad a question.
0そうだね
プレイ済み
返信[8]
親投稿
Zee Storybookten9
Whoops, it's DAT:SC(etc.). I forgot to include the DAT:
0そうだね
プレイ済み
返信[6]
親投稿
Zee Storybookten9
Any specific problems? Any errors?
0そうだね
プレイ済み
返信[4]
親投稿
Zee Storybookten9
Okay, 2 problems: 1. Using multiple layers is a waste of space 2. You need to use the array in the LOAD function. I do it like this: DIM MAP[0] FOR I=0 TO 3 BGSCREEN I,64,64 LOAD "SC_MAPNAME_L"+STR$(I),0,MAP BGLOAD I,MAP NEXT
1そうだね
プレイ済み
プレイ日記
Zee Storybookten9
Creative ways to solve program lag problems? Check. Lovely test text? Check. Amazing screensaver? Check!
5そうだね
プレイ済み
返信[10]
親投稿
Zee Storybookten9
Why, of course. I see no reason why not.
0そうだね
プレイ済み
返信[8]
親投稿
Zee Storybookten9
It shouldn't be too long. I've got most of it done, but I need to make a couple more things before it can be released.
0そうだね
プレイ済み
返信[6]
親投稿
Zee Storybookten9
Yes, it's my second priority. As soon as I finish ZOS, I'll focus on it more and finish it.
1そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
You need to encapsulate your commands in strings. INPUT "CHOCOLATE OR VANILLA",C$ IF C$=="VANILLA" THEN PRINT "EWW, GROSS!" IF C$=="CHOCOLATE" THEN PRINT "YOU THE MAN!"
2そうだね
プレイ済み