logan996: it's really easy math, that's why the sprites still move pretty fast. 1 point perspective is probably the only real 3d mode you can replicate easily in scratch.
That, of course, is the problem (see Canthiar's post below). I get around that by making them transparent, that way your brain tricks you into thinking that they are sorted along the z axis...
How do you check the relative position of sprites to send them forward/behind others? My bouncy ball ((link to project)) would slow to a crawl if I did this!
The download showed how complicated it is to script a project like this! Very impressive, chalkmarrow! I hope there won't be a TEST on how to do this!!! :-) Using variables (except for something like "score") are beyond me so far. Thanks for showing some of what they can do.
This is a quick project that uses a single point perspective formula to place sprites in 3D space. Simply play with the "x 3d", "y 3d", and "z 3d" variables of your sprites, and the position and scaling of the sprite are taken care of. This room has a min z of -180 and max z of 180. This program just shows a bunch of sprites bouncing off the walls...
Comments
You need to be logged in to post comments
Add a Comment
Why not make a game with this kind of perspective?
(view all replies)Comment Reply
Chalkmarrow: How did you draw an x-rayed gobo?
(view all replies)Comment Reply
he didnt drawn it it is invert color and blur effect
(view all replies)Comment Reply
logan996: it's really easy math, that's why the sprites still move pretty fast. 1 point perspective is probably the only real 3d mode you can replicate easily in scratch.
(view all replies)Comment Reply
cool! it must have A LOT of complicated math!
(view all replies)Comment Reply
cool i like your sprites and how they turn away after they hit the screen :)
(view all replies)Comment Reply
That, of course, is the problem (see Canthiar's post below). I get around that by making them transparent, that way your brain tricks you into thinking that they are sorted along the z axis...
(view all replies)Comment Reply
How do you check the relative position of sprites to send them forward/behind others? My bouncy ball ((link to project)) would slow to a crawl if I did this!
(view all replies)Comment Reply
The download showed how complicated it is to script a project like this! Very impressive, chalkmarrow! I hope there won't be a TEST on how to do this!!! :-) Using variables (except for something like "score") are beyond me so far. Thanks for showing some of what they can do.
(view all replies)Comment Reply
where did you get the skeleton gobo?
(view all replies)Comment Reply
awsome
(view all replies)Comment Reply
this is awsome it seems so real
(view all replies)Comment Reply
If only there was any easy way to do the sorting.
(view all replies)Comment Reply