Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7 8 9 10 11 12 13 14
次のページ(過去)
返信[1]
親投稿
OlOOlOOl pi_r_round
This code uses the microphone.
0そうだね
プレイ済み
返信[4]
親投稿
OlOOlOOl pi_r_round
Without activating the AI, my high score is 1.
0そうだね
プレイ済み
返信[5]
親投稿
OlOOlOOl pi_r_round
Adjust the width parameter in the BGLOAD command. Try 64 or 128. I'm not sure how the map editor saves it. Some code I was working on yesterday required 128. But, code I tried today required 64. o.0
0そうだね
プレイ済み
返信[3]
親投稿
OlOOlOOl pi_r_round
Here's some sample code.
1そうだね
プレイ済み
返信[2]
親投稿
OlOOlOOl pi_r_round
You can rotate the sprite using the SPROT command, but you'll have to convert your ATTR to degrees.
2そうだね
プレイ済み
返信[1]
親投稿
OlOOlOOl pi_r_round
It seems that you're setting ATTR but then you're not doing anything with it.
0そうだね
プレイ済み
返信[3]
親投稿
OlOOlOOl pi_r_round
If you mean maps created with the Smile tool map editor, then in the editor use the SCSAVE button to save the background layers. After that, they can be loaded using the same method as in the code I posted earlier.
0そうだね
プレイ済み
返信[1]
親投稿
OlOOlOOl pi_r_round
From a file into an array, then from the array. Have a look at the code in this screenshot.
0そうだね
プレイ済み
返信[1]
親投稿
OlOOlOOl pi_r_round
On what are you viewing the Nintendo 64 video output? If it's a tube television, then that's why. The tube would have a softer focus than the LCD of a DS-series system.
0そうだね
プレイ済み
返信[5]
親投稿
OlOOlOOl pi_r_round
Type mismatch in 0:67 - make sure L2 is an array. Subscript our of range in 0:68 - BGARRAY needs to be an array containing the BG data. - Check your XSCREEN commands. Make sure you have an available BG layer. XSCREEN allocates BG layers to the upper and lower screens.
0そうだね
プレイ済み
返信[1]
親投稿
OlOOlOOl pi_r_round
We can't help you if you don't show us the failing lines of code.
1そうだね
プレイ済み
返信[12]
親投稿
OlOOlOOl pi_r_round
Sorry your math confuses me. One byte (8 bits) can store values in the range 0 - 255. If an integer's value range is -(2^31) ~ +(2^31) then 4 bytes (32 bits) are required to store one integer.
0そうだね
プレイ済み
返信[9]
親投稿
OlOOlOOl pi_r_round
Even at only 1 byte per block, 256 x 256 x 128 would require 8 MB, and that's just for the map. This would be no problem if you could freely read/write to the SD Card, but if you need to hold it all in RAM... you're already out of memory.
1そうだね
プレイ済み
返信[8]
親投稿
OlOOlOOl pi_r_round
A major impediment to an "infinite" map will be that a program can't write to disk (SD Card) without asking permission for every write operation. In MineCraft, as you move into new territory, the world around you is generated. Then as you move out of it, changes are written back to disk.
0そうだね
プレイ済み
返信[1]
親投稿
OlOOlOOl pi_r_round
In DIRECT mode you can use the CLEAR command. If you want to do that within your program... I'm not sure. I guess you just have to set them one by one to 0 or "". A=0:B=0:A$="":B$="" etc.
0そうだね
プレイ済み
返信[38]
親投稿
OlOOlOOl pi_r_round
I'm calling your bluff. I know you don't have a screen recorder program. At most, you've got enough LOCATE and PRINT statements to make a bogus title screen; nothing more. Do the math. You've got only 8MB to work with. There's no way you can record 10 minutes of screen into memory. And you can't dump the buffer every few seconds to the SD card without prompting for permission each time.
1そうだね
プレイ済み
返信[1]
親投稿
OlOOlOOl pi_r_round
Tap the DIRECT button in the lower left corner. Then type SAVE and specify a name in quotes, like this: SAVE"TEST" If the program is in a slot other than slot 0, specify the slot number using PRGx: (where x is the slot number) like this: SAVE"PRG1:TEST"
0そうだね
プレイ済み
返信[1]
親投稿
OlOOlOOl pi_r_round
Because DX, DY, etc are initialized outside the DEF, the variables with these same names inside the DEF are assumed to refer to the global ones, not local variables that happen to have the same names.
0そうだね
プレイ済み
返信[2]
親投稿
OlOOlOOl pi_r_round
The value your code is trying to assign to a variable doesn't match the variable's "type". Variables types are numeric, string, array, etc. These are valid A$="hello" A=42 B$=A$ B=A These are invalid A$=73 A="bye bye" B$=A B=A$
0そうだね
プレイ済み
返信[17]
親投稿
OlOOlOOl pi_r_round
(forgot the screen shot of code that illustrates this)
0そうだね
プレイ済み