Finished my basic c book, what now?
Members - Reputation: 213
Posted 21 April 2013 - 03:52 PM
From what i have read i have narrowed these down to two choices. Allegro 5 and ncurses. I realise how different these are in that one is text console and the other is a proper game making library.
Which one do you recommend, do you believe there is a better choice(please acknowledge that the raspberry pi i am using is somewhat niche as well as being easily swamped by large graphical programs if software rendered, so hardware rendering is quite important)?
Members - Reputation: 1148
Posted 21 April 2013 - 07:36 PM
I'm not familiar with ncurses, but if you're looking for hardware accelerated rendering (for programming on the PC), then you could try SDL + OpenGL.
I think Raspberry PI has OpenGL ES support, but i'm not sure if SDL is supported in ARM processors, and if it can be used with OpenGL ES.
Members - Reputation: 1503
Posted 21 April 2013 - 09:13 PM
Ncurses is an UI library as far as I know, if you want to code games, go for allegro (that is an actually Game library) or some other (there is one named orx that is pretty cool, uses C as well).
If you are looking for problems to solve with C to learn it better, you should try some data structs, such as lists or trees, those ones will teach you a lot about pointers and how memory is handled.