I have been trying to learn to make games in C++. Found a pong tutorial, and that worked fine. It uses the allegro library. Now at the moment it draws everything as shapes, ie it draws rectangles using a rectangle drawing function, and a circle for the ball. I want to change this to use a sprite, however the function draw_sprite(...) locks up my game. In fact, any source code from tutorials that use this (or any other allegro form of loading sprites) freeze as well. It also complains about using deprecated NSQuickDrawView and that it should use Quartz instead.
I guess I want to know one of two things (or both):
1. How can I get it to work...
Or
2. Is there any Mac friendly tutorials for this type of thing (such as making a pong/spaceinvaders/etc game).
Thanks
-BG
I guess I want to know one of two things (or both):
1. How can I get it to work...
Or
2. Is there any Mac friendly tutorials for this type of thing (such as making a pong/spaceinvaders/etc game).
Thanks
-BG