3D Platformer (Faster)

remixed by Spidertest
  scripts
  sprites
See inside
Notes and Credits (added by Spidertest)

-Full credit for the game goes to @123768631
-Be sure to check out the original game.

-I just made a few optimizations, so now it runs a lot faster, without lag.
-Also, Check out my other games:
https://scratch.mit.edu/studios/3440310/

More 3D stuff:
https://scratch.mit.edu/projects/155851099/

Changes:

-Added back face culling, so now, it only draws 3 sides rather than 6.
-Since only 3 sides are drawn, I also added different shading for each side.
-I switched the triangle fill to the one made by @DadofMrLog, because it works slightly faster. Also added a resolution variable.
-I also removed the sqrt when calculating distance, and made variables to store the cos and sin of the rotations in the beginning of each loop because these functions should be used as little as possible.
- I completely removed multiplication when calculating distance, thanks to @smoothman755

Shared: 11 Apr 2017 Modified: 19 Apr 2017
Favorite this project 1279
Love this project 1524
Total views 39294
View the remix tree  187
  
More projects by Spidertest