Dante-666 / bouncy-ball

hello world game for g3d development and learning
1 stars 0 forks source link

Make this line workable for windows. Explore if g3d auto-resolves this or do we need to add a class for file management. #9

Closed Dante-666 closed 4 years ago

Dante-666 commented 4 years ago

https://github.com/Dante-666/bouncy-ball/blob/9b362930fa2510d859417541287bdfcc6c80ff26/src/bball.cc#L11

Dante-666 commented 4 years ago

There is a G3D::FileSystem Class which was designed to do this. This should be easy enough for beginners. Just go through the class reference and perform some investigation.

Dante-666 commented 4 years ago

Solved by using

settings.dataDir = G3D::FileSystem::NFDStandardizeFilename("../data-files");