Discuss Scratch

Atlanta--Braves
Scratcher
15 posts

3d game gone wrong.

So I made a 3d game, called 3d maze. Followed griffpatch's tutorial and something went really wrong and I can't figure out the reason behind all of this. I really don't want to have to restart but it looks like I might have to. It is shared and I was wondering if any smart person would be able to figure out what I did wrong.
BIG_Cat10
Scratcher
8 posts

3d game gone wrong.

amybe change the resolution to the mak so it doesnt have holesnin the walls
RokCoder
Scratcher
1000+ posts

3d game gone wrong.

In your Raycast custom block, you're turning by “Fov / Res”. This doesn't make sense as you want to move through the same field of view regardless of the resolution. You're iterating through the field of view “scan lines” times in the loop so you need to be turning by “Fov / scan lines” on each iteration.
Atlanta--Braves
Scratcher
15 posts

3d game gone wrong.

RokCoder wrote:

In your Raycast custom block, you're turning by “Fov / Res”. This doesn't make sense as you want to move through the same field of view regardless of the resolution. You're iterating through the field of view “scan lines” times in the loop so you need to be turning by “Fov / scan lines” on each iteration.
Oh okay. Thank you.

Powered by DjangoBB