Re: Newbie Graphics Question
Re: Newbie Graphics Question
- Subject: Re: Newbie Graphics Question
- From: Scott Herz <email@hidden>
- Date: Sun, 4 Nov 2001 13:28:57 -0800
I don't know how your game is set up internally, but when the state
changes, redraw the scene, planets, lines and all. You could have a look
at blast app in /Developer/Examples/AppKit/Java/BlastApp/ It might be a
little overwhelming. Just look for the calls to drawRect to see what
they draw.
Scott
On Saturday, November 3, 2001, at 08:14 AM, Peer Allan wrote:
Hello,
I am trying to do a simple puzzle game in which you must remember
patterns.
The graphics I want to have would be a couple of 'planets' on a star
field .
The user would be on one planet and when they click on another planet a
line
would cross the gap between the planets to show that you are traveling.
I haven't been able to find any examples as to how to do this.
Everything I
have found so far always clears away the background and I lose the
planets
and star field. Any one know where to look to learn how to do what I
want.
Thanks
Peer
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev