iPhone support?


#61

That’s excellent.

Sorry, yes, I have to agree on all counts. No need to rehash.

As I mentioned, a C+±only game based on Panda 3d would be hard for them to detect, and as you mentioned, it may not even be in violation of their agreement.

Yes, but…a lot of this is beside the point for me, since I want to write Android games, and I don’t want to use Python, so I’m looking at potentially using your OpenGL ES support and parts of your 3d pipeline. The ability to rebuild my game(s) for iPhone would be a bonus, but not strictly necessary.

Is all of the OpenGL ES support you mentioned above available in the current source package, and/or CVS? And the iPhone support that does exist–is that already checked in as well, or is that only on your system?


#62

Everything is in CVS.

If you get a working Android port going, we’d love to know about it, and share it with the world. :slight_smile:

David


#63

http://www.macrumors.com/2010/06/11/apple-eases-up-on-restrictions-on-interpreted-code-in-iphone-developer-agreement

Looks like Panda3D for the iPhone is possible again.


#64

Hmm, that’s good news, though maybe not good enough: “an Application may use embedded interpreted code . . . if such use is solely for providing minor features or functionality.”

Certainly writing the application entirely in Python would constitute more than “minor features or functionality.”

This change seems to be directed at apps that use internal embedded interpreters to drive a small part of the game logic, and is meant to specifically exclude games that are entirely written in a language such as Python.

Also, it is increasingly clear that the philosophical drive of Apple’s licensing is to forbid the use of multi-platform development tools, such as Panda3D. Apple wants to limit developers to using tools that support only Apple products.

David


#65

The real test is if they continue to allow Unity3D games to be approved. If so there should be no problem allowing Panda3D games. In Unity3D the JavaScript/C# is compiled directly into native ARM code.

Anyway. I’m really a complete newbie when it comes to compiling stuff. Are there any basic steps you can give me that would allow me to compile Panda for the iPhone on my MacBook?

If I can’t use Python I’ll use C++. But I would like to play around with Panda3D on the iPhone. Ideally if I cannot use Python I’d like to interface with Panda3D directly in Objective-C.

I figure it won’t hurt to try :slight_smile:


#66

Hum, well, a lot of the momentum on the Panda3D/iPhone project has been lost recently. You can still build it for iPhone, but it will be an effort, and it might not be the best place to get started if you’re not already experienced with building large C++ projects.

You need to use ppremake to build for iPhone. You could start by getting the Panda3D source and first using ppremake to build it for your local development environment. If that goes well, then try to build it for iPhone.

To do this, install the iPhone Developers SDK from Apple, and add:

#define BUILD_IPHONE iPhoneOS
#define HAVE_GLES 1
#define GLES_LIBS

to your Config.pp. You’ll also need to obtain build any third-party tools you want, like libjpeg or libpng, for iPhone. But you can omit these at first, just to get started. You might need to explicitly turn all of these off with “#define HAVE_JPEG” and so on for each package.

If you want to run Python apps, you’ll also have to compile the Python interpreter for iPhone. This is surprisingly difficult, because the Python codebase isn’t designed for cross-compilation (it wants to build the interpreter and then immediately run it to build some more, but this isn’t possible in a cross-compilation environment).

If you want to run just C++ or Objective-C apps, though, you should be able to do this directly from the Panda build.

David


#67

Hi, thought I should point out that sometime today (or yesterday) apple released a statement saying

this is from ipodtouchfans

this means we could in theory develop panda applications for the iphone, which would be especially cool if we can manage to get python to work on it, as well.Panda would be like the only competitor to the “Unreal Engine on Iphone” demon god thingy…

would be neat :smiley:[/url]


#68

Oh! This is huge! Apple has rejoined the land of the sane. And, yes, it appears that Panda3D + Python is once more legitimately allowed on the iPhone.

Let’s let the iPhone project resume. :slight_smile:

David


#69

That means no packages for iphone, right?

Also, are you sure you can trust them? By their stupid tactics they can restrict it again after few months.


#70

This is great news. I think Panda3D would be a great open-source alternative to some of the already existing engines out there.

I doubt it. I think they learned from their antics with Adobe. They took a lot of bad press for it, I don’t think they’ll want to repeat that. Let’s try not to be pessimistic and take what we can get 8)


#71

I know apple makes lots of silly rules, I doubt they’d go back on a press statement they themselves made though… :wink:

and if they do… wow :open_mouth:


#72

drwr, so you are resuming iPhone project or just inviting us to resume it?


#73

I will resume it eventually, when I get around to it among the many other projects that require my attention. :slight_smile:

But as with any active projects in Panda3D, the invitation is always extended to contribute by anyone interested in doing so. :slight_smile:

David


#74

Indeed, a good resume is needed here!
Also, an unknown developer can’t put any game on the IPhone store without Apple’s approval. Not speaking about the 99$ for being a registered Apple developer but when your app/game is finished, you must provide them with an XCode project and wait for their OK.
At least, it was the case a year ago!


#75

very good news indeed :slight_smile:


#76

This is great!

Although I don’t have an iPhone, I know a lot of people that do. It would be great to be able to create games for this market.


#77

Hi!!! good new year!!! Well… mmm then, I have a question can I develop applications for iphone (locked) in Panda3D???


#78

Currently you can only develop Panda3D applications for the iphone if you have a vast knowledge of C++ and own a mac with the iphone developer kit.

In other words, “It’s still in development”
~powerpup118


#79

at which release you going to plan to have the iphone support implemented?


#80

When it is done. Since no one is actively working on it at the moment, it’s hard to guess when that will happen.

David