Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Gosu C++ games (Getting Started)
- - By jeremywoertink Date 2012-09-16 06:46
I'm looking to start a game using the C++ version. I've never written a lick of C++ in my life, so this should be interesting. I started reading https://github.com/jlnr/gosu/wiki/Getting-Started-on-OS-X but I'm using OSX 10.8, and XCode 4.4, so things are slightly different. I noticed that it talks about a Gosu.framework and a Gosu.bundle. I found a Gosu.xcodeproj in the mac folder. I opened that with xcode, and found a bunch of red files. 2 of which were Gosu.framework and Gosu.bundle. I'm assuming this means that it can't find those files. Are these the files I need, and if so, then how do I get them? Or do I just copy over all of the files in the Gosuimpl folder, and then do all the includes like normal?

Thanks,
~Jeremy
Parent - - By jlnr (dev) Date 2012-09-17 06:38
I am in the progress of updating everything to use Xcode 4. If you want to do it the "new" way, you should start a new C++ project and drop the ios/GosuTouch.xcodeproj into your project. Then you should add "Gosu" (not "Gosu Touch") as a dependency for your game's target. It's basically the same process now as on iOS, which is described here (other library, same idea):

http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications

If a file is red, it generally means it doesn't exist. That's perfectly normal if you open Gosu.xcodeproj - because you haven't built it.
Parent - By jeremywoertink Date 2012-09-17 20:47
ah, ok. sweet. I'll check that out. Will you just be updating the docs on github with the newest instructions?
Up Topic Gosu / Gosu Exchange / Gosu C++ games (Getting Started)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill