Page 1 of 1 [ 3 posts ] 

J-P
Velociraptor
Velociraptor

User avatar

Joined: 21 Oct 2008
Age: 36
Gender: Male
Posts: 487
Location: Montréal,Québec,Canada

29 May 2013, 2:56 pm

Hello as i'm not sure which competence in C++ i need to begin to learn the SDL library i ask you this question: How and what i need to know of C++ before learning SDL? I know about somes principiles as:inheritance,OOP,Variables,Conditions,Encapsulasing, Pointers and somes mores. I don't masters them but i can fend me. I don't have much chances to code but i have an text based rpg on the fire. That why i'm not sure if i'm ready for SDL. I do not want to start something that is over my capacities but i know an site with explained instructions. I tried somes of it and it's not so hard for now. I'm still interessed to learn it in future if it's over my capacities.

Thanks to readed me



drh1138
Velociraptor
Velociraptor

User avatar

Joined: 2 Dec 2012
Gender: Male
Posts: 498

30 May 2013, 4:08 am

SDL is all function calls; I write code in C and can use the basic functionality pretty easily. You shouldn't have any trouble based on what you're describing. Variables and functions are the most you'll need to use the library.

If nothing else, just write a few simple programs initializing the SDL lib, detecting keystate changes, displaying and loading an image, etc. My attitude with things computer-related is: "just do it", instead of worrying about knowing a finite set of material beforehand. If you lack the requisite knowledge you'll know pretty quickly, and you can get sidetracked learning every detail about every "prerequisite".



J-P
Velociraptor
Velociraptor

User avatar

Joined: 21 Oct 2008
Age: 36
Gender: Male
Posts: 487
Location: Montréal,Québec,Canada

30 May 2013, 4:55 am

Yes i'll practice with very simple things