This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-08-29 14:50:10

ArloarLoLs
Scratcher
Registered: 2012-08-27
Posts: 71

3D stamping

I had the idea of making a 3D / 2.5D model out of 1 2D sprite. It actually works. Heres how it works:

0(optional). Make 2 variables pastx and pasty, set them to the current x and y.
1. A 2D sprite stamps it self
2. The sprite moves y by 1.
3. It stamps it self
4. Repeat this process, the more height you want the 3D model, the more times you want to repeat.
5. Clear all stamps
6. Move the sprite to pastx and pasty.
7. You will have a 3D/2.5D model.

Note that this is not how a actually 3D renderer works, this is only good for rpg games and car race games.

Please check out my projects 3D stamping and 3D car race for more info.

Thanks for reading this.

Offline

 

Board footer