• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie Graphics Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Newbie Graphics Question (From: Peer Allan <email@hidden>)

  • Prev by Date: Application behaving strangely after displaying a sheet
  • Next by Date: Re: Colored Buttons?
  • Previous by thread: Newbie Graphics Question
  • Next by thread: Subclasses in projectbuilder
  • Index(es):
    • Date
    • Thread