if i knew how to make something move the way it would move 10 steps if it was pointing in a special direction, id be able to do this using another variable i'd make called the other direction. like if its pointing towards the screen but id only be able to do it with a ball.
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)">(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
mke a game wher you dodge these stuff. id make the person you controll move aroung two dimentionally
if i knew how to make something move the way it would move 10 steps if it was pointing in a special direction, id be able to do this using another variable i'd make called the other direction. like if its pointing towards the screen but id only be able to do it with a ball.
ahhhhhhh! there going to breck out the screen! really cleaver and it looks real!
cool
Why not make a game with this kind of perspective?
Chalkmarrow: How did you draw an x-rayed gobo?
he didnt drawn it it is invert color and blur effect
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.
cool! it must have A LOT of complicated math!
cool i like your sprites and how they turn away after they hit the screen :)
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)">(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.
where did you get the skeleton gobo?
awsome
this is awsome it seems so real
If only there was any easy way to do the sorting.