samynk/GameDevEngine2

Nice!

Opened this issue · 1 comments

(this is not an issue but just some feedback)

So nice to see a cross platform version of the DAE educational 2D engine!

The code looks amazing. Some tiny remarks:

  • SoundStream and SoundEffect could share a base-class, e.g. SoundResource, with common methods?
  • Love the split between Vector and Point! You could also have introduced homogeneous points (x,y,w), most likely not done because students don't learn this?
  • I don't see any smart pointers being used. Is this taught to students? Raw persistent pointers are rarely used in modern C++ code bases.
  • You implemented all the drawing logic in OpenGL. Any reason why not using Google Skia, the rendering engine behind Android, Chrome and Edge? That can be used with SDL, and offers a lot of 2D level drawing functionality. It is of course a huge dependency yes.
  • Does it work on MacOS?