Solarus-Games English Forum

Solarus => Development => Topic started by: Zefk on October 27, 2016, 07:24:20 AM

Title: C++ SDL and QT tips
Post by: Zefk on October 27, 2016, 07:24:20 AM
I am not exactly sure on how to title this, but Solarus uses SDL 2.x and QT Creator for the editor as far as I know. I found some interesting tutorials on SDL/QT and that is the point of this post. Maybe if someone would like to help Solarus, then it might be useful.

C++ free pdf from tuorialpoint: Here (https://www.tutorialspoint.com/cplusplus/cpp_tutorial.pdf) and site tutorials (http://www.tutorialspoint.com/cplusplus/)

Tutorial point C++ online compiler: Here (https://www.tutorialspoint.com/compile_cpp11_online.php)

Eclipse is crossplatform IDE (Java/C/C++/etc): Here (http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/mars2)

However, I used Anjuta (http://anjuta.org/) when learning C++ basics on Ubuntu Linux and used a commercial book called Beginning C++ Through Game Programming (https://www.amazon.com/Beginning-C-Through-Game-Programming/dp/1435457420).

SDL Lazy Foo's tutorials: 1.2 (http://lazyfoo.net/SDL_tutorials/) and 2.0 (http://lazyfoo.net/tutorials/SDL/index.php)

QT Creator tutorials: Here (https://www.youtube.com/playlist?list=PL2D1942A4688E9D63)

Solarus has of the information in the tutorials above already implemented, but it might be useful for learning purposes if the Solarus engine (https://github.com/solarus-games/solarus) source code or editor (https://github.com/solarus-games/solarus-quest-editor) are not understood by an individual.

YouTube Tutorial SDL 1.2 + QT Creator setup: Here (https://www.youtube.com/watch?v=3KpD_to28YQ) (Maybe old, but somewhat useful? If not, then this (http://stackoverflow.com/questions/25423630/how-to-link-to-sdl2-libraries-under-qt-creator) should help.)