• Advertisement

Archived

This topic is now archived and is closed to further replies.

is SDL good for pong

This topic is 5194 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

or MFC, or ATL, or what would be best for the most basic of 2d graphics. and where could i get tutorials on said API. im obviously at the very start of my game programming experience. thanks.

Share this post


Link to post
Share on other sites
Advertisement
only two things i dont like about sdl:

-debugging under windows can be a pain in the xxx (try moving the mouse after hitting a break point if there wasnt enough time since pumping messages). first it was just sluggish, after reinstalling the whole system freezes for 5seconds

-mouse wheel support is a joke and theres no seperate "decent" path for windows (and i dont mention that xxx senddown,sendup hack they did)

the latter probably doesnt matter to you anyway and the former.. maybe youre lucky and one of those without any problems.

Share this post


Link to post
Share on other sites
quote:
Original post by Trienco
-debugging under windows can be a pain in the xxx (try moving the mouse after hitting a break point if there wasnt enough time since pumping messages). first it was just sluggish, after reinstalling the whole system freezes for 5seconds



if that the massive mouse lag you get after debugging? you can try to ''fix'' it by setting directX settings to "emulating mouse and keyboard".

Share this post


Link to post
Share on other sites
quote:
Original post by oliii
if that the massive mouse lag you get after debugging? you can try to ''fix'' it by setting directX settings to "emulating mouse and keyboard".


its the one i get when i hit a breakpoint or want to make a debug step (especially impossible with a forced 5second break after each keypress). those settings are worth trying (and would mean i forget about their official explanation about directx and locked surfaces when getting video messages).

i way to at least reduce the problem to the situations where messages were pumped shortly before was to call pump yourself and only once and stay away from pollevents as far as possible.

Share this post


Link to post
Share on other sites

  • Advertisement