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

Vlade

macrumors 6502a
Original poster
Feb 2, 2003
966
4
Meadville, PA
After using the instructions here - http://www.cocoadev.com/index.pl?HowToCalliTunes , I made my game GL Golf control iTunes. Its pretty basic and simple, you just turn it on in the menu and then use command-return, command-[, and command-] .

Does anyone here have 10.3.9 or 10.2.8 they could test it for me with, or 10.4.x with iTunes 6.x or below? If you can let me know if everything works or what doesn't, as well as your computer type, os x version, and itunes version, I'll give you a free serial number to the full version. I'm mostly looking for 10.3.9, but 10.2.8 is great too and I'm curious to see what the lowest version of iTunes is.

Here is the URL for the new demo with iTunes - http://nuclearnova.com/temp/glgolfitunes.zip .

If anyone has any questions about what I did or if anyone wants to see my exact code for skipping tracks/playing/pausing or seeing if iTunes is open/playing, I can try to answer them here too.
 

Vlade

macrumors 6502a
Original poster
Feb 2, 2003
966
4
Meadville, PA
39 reads and nobody has anything before 10.4/iTunes 7? Anybody? Even someone with a PPC mac would be helpful so I don't have one of those updates followed by 10 emails and negative reviews because of incompatibility, I'll still give you a serial number too :)
 

Mechcozmo

macrumors 603
Jul 17, 2004
5,215
2
In a couple days I might have something for you. I need to see if I have a Jaguar install disc.
 

Vlade

macrumors 6502a
Original poster
Feb 2, 2003
966
4
Meadville, PA
In a couple days I might have something for you. I need to see if I have a Jaguar install disc.

Thanks for the offer, but you don't need to reinstall an OS just to do a quick test for me!

I just updated it now and said you have to have 10.4/iTunes 7 for iTunes support
 

Mechcozmo

macrumors 603
Jul 17, 2004
5,215
2
Thanks for the offer, but you don't need to reinstall an OS just to do a quick test for me!

I just updated it now and said you have to have 10.4/iTunes 7 for iTunes support

Hrm... can't find the Jaguar CD. It probably came pre-installed or something. I'm shipping my PowerBook back to Apple in a day or so... if they wipe the drive, I'll test it for you. Or even if they don't, I might install Panther so I can test it for you. I'll send you a PM if that happens.
 

SteveO32

macrumors newbie
Jun 12, 2007
1
0
I work for 2 school districts one of which uses nothing but macs. I can test the game out on one of our machines that runs 10.3 as well as any version newer and older. I will let you know if it worked properly. Really enjoy the game by the way.
 

Vlade

macrumors 6502a
Original poster
Feb 2, 2003
966
4
Meadville, PA
I work for 2 school districts one of which uses nothing but macs. I can test the game out on one of our machines that runs 10.3 as well as any version newer and older. I will let you know if it worked properly. Really enjoy the game by the way.

Thanks! I think everything is fixed now, except on some computers (maybe old PPC ones?) iTunes starts up when GL Golf is launched. I'm glad your enjoying GL Golf!
 

elfin buddy

macrumors 6502a
Sep 16, 2001
608
0
Tuttlingen, Germany
Yesir, seems to work fine on my machine. Well done with the game! If you're willing to divulge, what sort of calculations do you use for the game physics and how much detail do you use? (i.e., aerodynamic drag on golf ball? restitution on ball bouncing? is the ball actually a 3d object or just a pic mapped to a point?)
 

Vlade

macrumors 6502a
Original poster
Feb 2, 2003
966
4
Meadville, PA
Yesir, seems to work fine on my machine. Well done with the game! If you're willing to divulge, what sort of calculations do you use for the game physics and how much detail do you use? (i.e., aerodynamic drag on golf ball? restitution on ball bouncing? is the ball actually a 3d object or just a pic mapped to a point?)

Thanks for testing! I'm real busy moving this week but I'll post back this weekend with answers to your questions.
 

Vlade

macrumors 6502a
Original poster
Feb 2, 2003
966
4
Meadville, PA
Yesir, seems to work fine on my machine. Well done with the game! If you're willing to divulge, what sort of calculations do you use for the game physics and how much detail do you use? (i.e., aerodynamic drag on golf ball? restitution on ball bouncing? is the ball actually a 3d object or just a pic mapped to a point?)

The physics are nothing special compared to other new games out there, but they get the job done. There is gravity and wind resistance on the ball, and then friction from rolling, as well as energy lost when hitting the grass initially. With a little bit of vector math (dot product, cross product), its not impossible to learn (I taught myself when I was 15). I found all of the constants by tweaking until the physics looked right, but if I re-programmed the game now I would do it to scale (actually measuring the size of things, using 9.8 m/s^2 as acceleration ect).

The ball is actually a 3D object, as with most everything except the text in the game. OpenGL is great for easy 3D graphics that are very powerful.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.