codi-hacks / space-race

Love2D-based Spaceship Racing Game
Other
3 stars 0 forks source link

Fixed debug #10

Closed wyatt-herkamp closed 2 years ago

wyatt-herkamp commented 2 years ago

Fixed the Debug Screen.

jaythomas commented 2 years ago

Do we need the debug.lua file at this point? Can all that debug OSD just exist in the DebugPlayer system?

wyatt-herkamp commented 2 years ago

Do we need the debug.lua file at this point? Can all that debug OSD just exist in the DebugPlayer system?

I don't really know Lua and it had gotten mad when I tried to put the files together. This is the first time I have really even looked at Lua.

jaythomas commented 2 years ago

My suggestion would be to take the body of your function in debug.lua and move it directly into the system then you can delete debug.lua. Less files and less code. Keeping it simple.

wyatt-herkamp commented 2 years ago

@jaythomas I merged the files. I am still keeping them separated by functions to keep the code easy to read.