nocontrolco / elso

Electric Lightning Soccer Overdrive
GNU General Public License v3.0
0 stars 0 forks source link

Implement a visual toolkit for game snapshots #6

Open diasssavio opened 4 months ago

diasssavio commented 4 months ago

The idea here is that we will have game snapshots from regular times saved in files, that we can retrieve to memory and plot to check what is going on.

diasssavio commented 4 months ago

@herodrigues this is a good issue for you start exploring, if you want. It is something I missed during development of #1, as it is very tricky to debug & trace ball and other entities movement to check instability within the physical system.

herodrigues commented 4 months ago

This is basically a visual debugger. Though I don't see the point of using exclusively python libraries since this will probably be integrated into the actual game with an option to toggle on/off in the developer view.

I believe this had to be in the game source code If we want to use this feature while running the game. Of course we can have this "outside" the main game source code, but it looks like it will double the work in the future.

diasssavio commented 4 months ago

That was the later option I gave. To go directly to a visual game engine.

However, for a quick solution, I'd prefer to have a Python solution because here we will basically plot data stored in file.

For in-game ploting and framerate update, in a pure videogame fashion, that will be done using in memory (GPU one, actually), sync'ed at games iteration. Which I believe will be an entirely different approach.