Macworld Forums: Pangea offers OS X game programming guide - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Pangea offers OS X game programming guide

#1 User is offline   MW Forums Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 12,220
  • Joined: 02-August 04

Posted 27 September 2004 - 07:00 AM

Pangea Software Inc. is taking a break from its usual schedule of releasing Macintosh-only games, to teach developers interested in learning how to program games for the Macintosh. The company plans to release "Pangea Software's Ultimate Game Programming Guide for Mac OS X" by the end of October. more
0

#2 User is offline   irolley Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 77
  • Joined: 14-September 04

Posted 27 September 2004 - 07:47 AM

Hum.. I though most mac C/C programmers now switched to Obj-C. I would have loved to get such a book but knowing that it is C... hum... procedural language, bwark !
I wonder if it could be feasible to write a simple 3D game using Java on Mac, while using the capabilities of the OpenGL layer. Anyone knows if apple plan to open the Obj-C OpenGL framework to Java, like they did for many other Frameworks ? Maybe it is already ?
0

#3 User is offline   TheBoyKen Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 171
  • Joined: 24-September 04

Posted 27 September 2004 - 07:50 AM

In the UK it's 19-ish USD shipping, as the one and only shipping option. That's half the (discounted) price of the book, so mailed their support to ask if Amazon etc. will be stocking it. Still awaiting answer (although in fairness I only asked 5 mins ago!).
Ken
0

#4 User is offline   TheBoyKen Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 171
  • Joined: 24-September 04

Posted 27 September 2004 - 08:31 AM

In reply to:

I though most mac C/C programmers now switched to Obj-C


Although Obj-C is great for writing apps, it might not be the best language for writing OS X games (yes I know id used Obj-C to do Quake in first!). For ported games, there is no compelling reason (as you'd have to port the code, and move to a different language too (eg. C -> Obj-C)... double trouble. For new games, you still have to call all the OpenGL stuff in C anyway, so only a portion of the game could be in Obj-C.
In reply to:

I would have loved to get such a book but knowing that it is C... hum... procedural language, bwark!


Well Obj-C is a superset of C, i.e. C code works inside Obj-C classes fine. The author probably did it in C for 3 reasons:
[1] speed
[2] flexibility... C can be used within C, C or Obj-C
[3] Reasons [1] and [2] keep the target audience as large as possible.
Also OpenGL is a C API, and you can only do AltiVec in Assembler, C or Fortran... not Obj-C. (You can make AltiVec optimisations from an Obj-C app by writing the fast AltiVec parts in C). So doing the book in Obj-C would have inevitably had to stray into C anyway to accomplish the above.
In reply to:

I wonder if it could be feasible to write a simple 3D game using Java on Mac


There is a Java 3D library called Java3D, and another that offers much of OpenGL's functionality, so yes this shouldn't be a problem.
In reply to:

Anyone knows if apple plan to open the Obj-C OpenGL framework to Java, like they did for many other Frameworks ? Maybe it is already ?


Apple have made their own Obj-C frameworks (eg. Foundation / AppKit) open to Java. OpenGL does not have an Obj-C API so I'm not sure I understand your point here. There is a class called NSOpenGLView (in AppKit) which is available to both Obj-C and Java, if that's what you're referring to? Within an NSOpenGLView you can then call © OpenGL calls.
Hope this helps, let me know if I've missed the point completely,
Ken
0

#5 User is offline   TheBoyKen Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 171
  • Joined: 24-September 04

Posted 27 September 2004 - 08:32 AM

Stop the clock, this just in from Brian Greenstone himself:
In reply to:

Yes, we will be putting it up on Amazon, but I don't know when. My guess is mid-late November.
The ISBN number is 0-9761505-0-6


0

#6 User is offline   quick_silver Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 27-September 04

Posted 27 September 2004 - 09:17 PM

If you want to do Java and OpenGL, check out the GL4Java Homepage. There is a port available of GL4Java that works on Mac OS X (and OS 9 if you want it). This port was originally done by Gerard Ziemski but he no longer works on it. However, you can get the port from here courtesy of Dmitry Markman.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users