プレイ日記
Blastoise§ Gastly52
Does anyone know how to read the color of a specific pixel on the sprite screen?
0そうだね
プレイ済み
返信[1]
親投稿
Bobert fluffy8959
Do you mean the sprite page? you can use GPAGE 0,4 and use GSPOIT(X,Y) to get the color value of the sprite. You can also use GPAGE 4,4 to display and edit the sprite sheet.
0そうだね
プレイ済み
返信[2]
親投稿
Hanzo rzsense
Could you explain the purpose of your program? (especially line 18)
1そうだね
未プレイ
返信[3]
親投稿
Blastoise§ Gastly52
The purpose is to be a basic raycaster, by using a sprite as the map to be rendered on GPAGE 0,0. Line 18 is used to control the slope of the ray. Look up sprite-based raycasting on Scratch for more.
0そうだね
プレイ済み
返信[4]
親投稿
Blastoise§ Gastly52
Heres what i have now
0そうだね
プレイ済み
返信[5]
親投稿
Blastoise§ Gastly52
It still doesnt work
0そうだね
プレイ済み
返信[6]
親投稿
rzsense rzsense
運営者により削除されました。 コメントのID : 3DB-NBL7-DPU-2NL4-HHM-6C3Z
返信[7]
親投稿
Blastoise§ Gastly52
Thank you. Please give me a bit, as my parents have to approve downloads. I'll let you know.
0そうだね
プレイ済み
返信[8]
親投稿
Hanzo rzsense
Please don't worry. I'll keep it until you give me a reply.
0そうだね
未プレイ
返信[9]
親投稿
Blastoise§ Gastly52
Unfortunately the admins seemed to have deleted your program code. Thank you though.
0そうだね
プレイ済み
返信[10]
親投稿
Blastoise§ Gastly52
If you would be willing to post screenshots of your code that would be amazing. If not i understand.
0そうだね
プレイ済み
返信[11]
親投稿
Hanzo rzsense
I have no idea the reason why admin remove my post. Actually, I've written the key on the newest post of my play journal. Could you find it? Unfortunately I cannot attach screenshot here because of region lock.
0そうだね
未プレイ
返信[12]
親投稿
Blastoise§ Gastly52
Is it the HNZBI? I found that in the comments of your drawing. Somethibg about airplane combat
0そうだね
プレイ済み
返信[13]
親投稿
Hanzo rzsense
No, that's not the one. On the newest article of my play journal (in the attached screenshot, an armed girl is running against a big caterpillar), an US smilebasic user asked me to give him a key, and I gave him the key.
0そうだね
未プレイ
返信[14]
親投稿
Bobert fluffy8959
GSPOIT’s parameters should probably be float as it can only read pixel within a whole number. I’m not really sure what you are trying to do, are you trying to create a sprite or a drawing of a sprite on the graphics screen?
0そうだね
プレイ済み
返信[15]
親投稿
Hanzo rzsense
I guess he is attempting to measure the length of casted ray (distance to an object) to render 3D map.
1そうだね
未プレイ
返信[16]
親投稿
Blastoise§ Gastly52
Thank you, i have found it. You are correct about my current method.
1そうだね
プレイ済み