Log In  

So I am posting this to basically share a new exciting discovery I made about physics engine development.

So I have made several attempts to making a working physics engine but have had some difficulty achieving this.
I have managed to create several games that utilizes somewhat working but also broken physics.

My two games that have semi-working physics.

Cart #alienborderpatrol-2 | 2022-02-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Cart #fizohumaba-0 | 2021-07-09 | Code ▽ | Embed ▽ | No License

However, I have found a new course that is helping me understand video game physics even more.

Excellent course on how to make a 2D game physics.
2D Video Game Physics Course is located here

Thanks to the video game physics course I now know my common problem found in these two physics engines. Both games lack the projection method of resolving collisions. I only have completed about 55% of the course so far, but
I just thought I might share that I struggled making a physics engine for pico-8 games and finally found a course
that is affordable and is actually guiding me to making a better physics engine for pico-8.

I plan on recreating these two games with a new and better physics engine. Since the course teaches how to program
physics simulation of rotations I might even make the spaceships and boxes rotate which I thought I would never have
achieved until the recent discovery of this game physics engine course.

The Pikuma website also has a 3D Soft Engine course as well in which I have purchased to learn how to make a 3D Game in pico-8. However, I have not finished the physics engine course yet so I have no input on if it is good or not.

P#106497 2022-02-07 15:26 ( Edited 2022-02-08 16:45)

:: dw817

Good. I would suggest a few things, @Amac, for Alien Border Patrol.

RELOAD should be instantaneous. Not a half second later.

All shots from the player block opponents and NEVER retreat, that is, they never travel vertically down as if they are an opponent.

It is possible to have enemies fly right down an open area that you cannot shoot them at all because of missing turrets.

I'm not suggesting this not happen - I'm just pointing it out as a possible problem since the player cannot defend against this at all - possibly making it unfair.

Cool-down. Could have the following. Level 1.1 has 2-enemies. Level 1.2 has 4-enemies, level 1.3 has 6-enemies, pause for break, reverse by 3, then this is the next level, 2.1 has 4-enemies, 2.2 has 6-enemies, 2.3 has 8-enemies.

For instance here is a table where 0 (zero) represents a pause:

lev={2,4,6,8,0,4,6,8,10,0,6,8,10,12,0,8,10,12,14,0,10,12,14,16}
P#106533 2022-02-08 04:03 ( Edited 2022-02-08 19:41)

This is super cool. I still see some jittering in the box collision code that needs to be fixed. 😉

P#106591 2022-02-09 12:35
:: Amac

I plan on remaking both these games with a new physics engine. The new physics engine has better collision resolution.

P#106607 2022-02-09 17:56

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-05-04 03:03:50 | 0.021s | Q:24