Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7
次のページ(過去)
返信[11]
親投稿
TN21 Trinitro21
I modified my 3d engine a bit and divided x, y, and z by w before projecting, and this appeared on my screen. It would be in 3D but my virtual parallax barrier looks horrible in screenshots so I turned it off. There was a lot of extrapolating and pattern recognition involved, since I don't know that much about 4D math.
1そうだね
プレイ済み
返信[4]
親投稿
TN21 Trinitro21
K4KVPRP
0そうだね
プレイ済み
返信[4]
親投稿
TN21 Trinitro21
Oh, I thought that's what you wanted. The width of your sprites is 64, and you can't make a sprite loop its UVs, but if you made 4 sprites, each with a width of 16, that would fix your problem. By the way, you could say "I MOD 16" instead of "I-16*FLOOR(I/16)".
1そうだね
プレイ済み
返信[2]
親投稿
TN21 Trinitro21
Might want to take your UV coordinates and divide by 4. But I haven't seen your code yet. So I might be wrong.
0そうだね
プレイ済み
返信[7]
親投稿
TN21 Trinitro21
I just looked at your projection formula, and it seems really weird, especially when DEPTH is set to higher values. Notice the concave face of the cube on the left. I use X'=X/Z*ZOOM Y'=Y/Z*ZOOM Where ZOOM controls perspective distortion. I usually set it to 256.
0そうだね
プレイ済み
返信[5]
親投稿
TN21 Trinitro21
If you use "IF B AND 4" instead of "IF B==4", then you can press multiple buttons and the IF statements will still trigger.
0そうだね
プレイ済み
返信[4]
親投稿
TN21 Trinitro21
Yeah, I learned 3D stuff back in Petit Computer. If you need any help, I'd be glad to!
0そうだね
プレイ済み
返信[2]
親投稿
TN21 Trinitro21
Nice! Great to see another person with knowledge of 3D!
1そうだね
プレイ済み
返信[14]
親投稿
TN21 Trinitro21
Raytracing would be way too laggy, seeing as it demands the ability to process 240x more rays than raycasting.
0そうだね
プレイ済み
返信[4]
親投稿
TN21 Trinitro21
I don't know much about raycasting but I think you can fix the fish eye by just narrowing your field of view. Taking all the angles and dividing by a set amount might do the trick.
0そうだね
プレイ済み
プレイ日記
TN21 Trinitro21
Experimenting with a virtual parallax barrier. It's animated so that you don't notice the black stripes when it's running, but when it's a single frame, you can clearly see them. Concept stolen from K4KVPRP.
4そうだね
プレイ済み
返信[6]
親投稿
TN21 Trinitro21
Ok. [TWR] means that TWR is the name of your active project. It's the folder where your programs will save. You can change it by going to "Manage Projects/Files" on the main menu and clicking the "Change Active Project" button.
1そうだね
プレイ済み
返信[1]
親投稿
TN21 Trinitro21
"Syntax Error" means you did something wrong in your code. I can't help you fix it until I see your code.
0そうだね
プレイ済み
プレイ日記
TN21 Trinitro21
Big update to my 3D engine! New features, and comments describing how to use it. Demo code is actually a game now! Key: 83NVK3H4
15そうだね
プレイ済み
返信[4]
親投稿
TN21 Trinitro21
(LOCATE:1) means that the first parameter of LOCATE is causing the error. Keep in mind that you said DISPLAY 1 right before LOCATE and that means you're on the 40x30 lower screen.
1そうだね
プレイ済み
返信[3]
親投稿
TN21 Trinitro21
If EGG_EX>39 or EGG_EY>29, it triggers an error because you're asking it to print outside the screen boundaries.
0そうだね
プレイ済み
返信[1]
親投稿
TN21 Trinitro21
Well, RND has two parameters now. The first one is the seed ID, which is from 0-7, and the second one is the max value.
1そうだね
プレイ済み
返信[8]
親投稿
TN21 Trinitro21
Thanks! I didn't know about that. DEF is still new to me.
0そうだね
プレイ済み
返信[11]
親投稿
TN21 Trinitro21
If you get an error at 0:2039 that means program slot 0 and line 2039. Try looking there.
0そうだね
プレイ済み
返信[7]
親投稿
TN21 Trinitro21
You need to click the magnifying glass to start a search, type SQRT, click the replace button, type SQR, then click the replace all button.
0そうだね
プレイ済み