Commit graph

6 commits

Author SHA1 Message Date
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
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
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