SDL Tutorial 3c is out.
This one covers mouse input. Clicky to my site is in the signiture.
Let me know how you guys like it and if the code runs ok. I checked it all my self, but again, sometimes errors can slip through.
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
Thanks
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
Source code font is huge, it's hard to read. What I really would like is more detailed explanations of all functions covering one area of SDL, for example mouse functions. Examples in this tutorial can be found in SDL doc files... I think tutorials should answer to question "why" and not just "how".
Like I state in the introduction, this tutorial series is focused on the API. So alot of it is going to look like a regurgitation of the doc files. And I have no problem with that.
Not to be rude, but can you be more specific about what you mean about 'the why?' I mean, come on, its a mouse. I don't know if you bothered, but there was a zip file on the bottom of the page that contained some very detailed source code and the resources to use with it.
As for the source font size, its set to your browser's default. When I have done other tutorials, I have been bashed for having it too small.
Thanks for bothering to read it though!
Not to be rude, but can you be more specific about what you mean about 'the why?' I mean, come on, its a mouse. I don't know if you bothered, but there was a zip file on the bottom of the page that contained some very detailed source code and the resources to use with it.
As for the source font size, its set to your browser's default. When I have done other tutorials, I have been bashed for having it too small.
Thanks for bothering to read it though!
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
Great tutorials, just reading it makes me want to get my hand on SDL.
Keep the good work up.
Keep the good work up.
August 28, 2004 09:59 AM
I'm not quiet shure, but I think that SDL will only give you hardware surface and doublebuffering if your app runs in fullscreen mode. So passing SDL_HWSURFACE | SDL_DOUBLEBUF will only make sense if you add SDL_FULLSCREEN, too.
I'm prety sure you atleast get the double buffer. Either that or it emulates it somehow when running windowed. It also depends on the video card.
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
August 29, 2004 08:21 AM
Atleast on Windows you don't get double buffering in windowed mode. It doesn't really matter, because SDL_Flip just calls SDL_UpdateRect if double buffering is off. So, it's not really important.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement