Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

aac3master/sdl-based-simple-library

Repository files navigation

sdl-based-simple-library

For small games
---How to set up---
Code blocks (gcc):
1.Select sdl2 template
2.Download mingw devel and dll (sdl)
3.Unpack somwhere and select in whizard
4.Add 'source_code' dir, 'smile.png' and all cursors (.png) into your project
5.Set up sdl image: go to Project>Properties>Project's build options>
5.1.Go to search dir. and add: source_code\sprite\SDL_IMAGE\include\SDL2 ('source_code' dir. is dir. from step 4 )
5.2.Go to Linker settings and add:-lSDL2_image
(DONT FORGET TO PUT ALL DLLS AT OUTPUT FOLDER!!!)
Warn.!This is for gcc! Use internet tutorial for another ide or compiler!
All done.
Now create file and copy code in it from example.cpp from this github page!
For vs just set up sdl (for vs), create project, do step 4 for code blocks and then set up sdl image (also for vs)
Demo on youtube (old): https://www.youtube.com/watch?v=pYf4jZuNeGY
Warning:

Project deprecated. New lib available

https://github.com/aac3master/SimpleDraw

About

For small games

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published