Commit graph

14 commits

Author SHA1 Message Date
aaa6c15a9a Move engine stuff to its own namespace. 2024-04-01 17:28:55 -07:00
ecdeaf0b94 Convert the Cube program to use entities. 2024-03-31 12:01:57 -07:00
c94fd602e8 Try some threading again. 2024-03-30 11:28:40 -07:00
576179218c add some working collision 2024-03-17 21:14:36 -07:00
63565fc7f1 Add some windows support. 2024-03-16 23:44:14 -07:00
c651dcd038 Create a basic flappy bird clone.
Right now, theres no score but I did make a entity abstraction which is like a GameObject from Unity where you have a position and scale (but no rotation) and the entity has a draw function and an update function.
2024-03-16 22:18:15 -07:00
00fdd89b88 Add some memory cleanup code. 2024-03-15 23:54:13 -07:00
eb21ac1dc7 Fix the abstractions.
Don't place code instructions in the wrong order..
2024-03-15 17:19:52 -07:00
8f303eec6a Try to abstract out the engine to make it more cross-platform.
This means you maybe can run it on linux, which is the goal for profiling and debugging purposes and it makes it easier to do that (even if the cpu is faster, i can still see expensive functions). Currently only hello.elf works on linux and hello.elf and cube.elf on the dreamcast. gl.elf is broken on both because of controller stuff.
2024-03-14 23:19:39 -07:00
23dd7ace18 Parse a cube .obj file to display.
Right now the implementation is extremely unoptimized and draw call heavy as I just copy and pasted that from the docs for tiny obj loader but added gl calls.
2024-03-13 21:49:35 -07:00
3822973d6a Create an abstracted engine class for the programs. 2024-03-13 12:53:37 -07:00
f919b166df Set gl ortho. 2024-03-12 22:27:33 -07:00
e98856a874 Convert gl.c to c++ and make it nicer. 2024-03-11 22:41:34 -07:00
4d4582831c Make some Dreamcast OpenGL programs. 2024-03-10 21:40:08 -07:00