Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BileGhost

macrumors member
Original poster
Jul 29, 2008
80
0
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
 

BileGhost

macrumors member
Original poster
Jul 29, 2008
80
0
Thanks for that :). Do you (or anyone) know of any good tutorials using for using this?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.