05-14-2020, 01:52 PM
Not too long ago I made a 2D Sonic Engine in Game Maker using the "Sonic Physics Guide" as reference. I had no idea I would actually be able get the basic things working!
I had the 360 angle rotation and dynamic slopes, but it was far from perfect. The player would start to go through the solids after their speed value was higher than 25. And the way I made the player stick their to the floor and collide with walls caused the FPS to drop very easily. I was using "while" and "for" loops too many times in my code.
Now I'm trying to get a new slope and platform system working using algebra instead, which causes less FPS drops and possibly less bugs as well! Buuuuut all this math is giving me headaches, and I think I'm not getting anywhere.

I had the 360 angle rotation and dynamic slopes, but it was far from perfect. The player would start to go through the solids after their speed value was higher than 25. And the way I made the player stick their to the floor and collide with walls caused the FPS to drop very easily. I was using "while" and "for" loops too many times in my code.
Now I'm trying to get a new slope and platform system working using algebra instead, which causes less FPS drops and possibly less bugs as well! Buuuuut all this math is giving me headaches, and I think I'm not getting anywhere.
