Create iOS games with Stencyl - (Launched on Dec. 15)

bernard

  • Posts: 120
Jon

Sorry to interrupt your thread but I see a number of people posting errors like this:

Code: [Select]
ld: warning: ignoring file /Applications/StencylWorks/games-ios/Book/libStencyl.a, missing required architecture i386 in file
Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_SPPoint", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_CLASS_$_SPRectangle", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_CLASS_$_SPMatrix", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_CLASS_$_SPAudioEngine", referenced from:
.....
....

I know how this happens.

It happens when you open the iStencyl project that has been created for your device and run it on your simulator or vice versa.

Let me explain a bit more.

I open a game in iStencyl and click "Test on Device" and a project - Appscaffold - is created, the project is compiled and displays in the sim.

Next, being happy with the result you click "Test on Device" and iStencyl generates a project with the same name - Appscaffold...

Except this project can only be compiled and run on your device.

If you open the Xcode project created for your device and try to run it in the simulator, then you will get these exact same errors. I know because it frustrated me no end in the beginning till I read a post of yours mentioning that the projects are different.

That is the key - the projects generated by iStencyl for the Sim and for the Device are different and will not work on the other device. If you try you will get these errors as I pasted above.

HTH

Jon

  • *
  • Posts: 17524
That's correct. The only difference between the two is libStencyl.a - it varies between the simulator and device variant. Perhaps there's a way to make it "universal", thereby skirting around this issue?

bernard

  • Posts: 120
There should be. On my computer, in the iStencyl folder,  I have only one libStencyl.a file so are you generating this file on the fly when built, for Sim and Device?

Since I don't know how you generate this file I cannot say, but a "universal" project that can be tested on the Sim as well as the device, without regeneration every time would be the best.

What I see most other software houses that produce crossplatform apps do is a Universal library for Xcode.

Jon

  • *
  • Posts: 17524
The respective .a is copied over at build-time.


Jon

  • *
  • Posts: 17524
1.3.3 is out - functionality, it's not much besides being what iStencyl Pro users need to access server-side builds.

So if you've purchased that (beta testers get first dibs - we'll open it Wed. evening to the public), please do upgrade before trying to attempt any builds.

Dom818

  • *
  • Posts: 1292
1.3.3 is out - functionality, it's not much besides being what iStencyl Pro users need to access server-side builds.

So if you've purchased that (beta testers get first dibs - we'll open it Wed. evening to the public), please do upgrade before trying to attempt any builds.

When will the people who signed up for educational pricing be able to get it, or will it be the same time as the public release?

ChunkyMonkey

  • Posts: 430
I feel like I don't need to start a new thread for this so I'm posting here. Do you need an iStencyl pro license and/or a mac to send a game to your servers then test on your device?

Jon

  • *
  • Posts: 17524
1.3.3 is out - functionality, it's not much besides being what iStencyl Pro users need to access server-side builds.

So if you've purchased that (beta testers get first dibs - we'll open it Wed. evening to the public), please do upgrade before trying to attempt any builds.

When will the people who signed up for educational pricing be able to get it, or will it be the same time as the public release?

We'll start processing the education requests tonight.

Jon

  • *
  • Posts: 17524
I feel like I don't need to start a new thread for this so I'm posting here. Do you need an iStencyl pro license and/or a mac to send a game to your servers then test on your device?

If you don't have a Mac and have to go through the servers to test on your device, you need an iStencyl Pro License. We're looking into a way to let you trial this in the future, but it's not arriving soon, as we'd need to figure out how to accomodate a large, free userbase to fairly allocate server-resources - these Macs are expensive to provision.

ChunkyMonkey

  • Posts: 430
I feel like I don't need to start a new thread for this so I'm posting here. Do you need an iStencyl pro license and/or a mac to send a game to your servers then test on your device?

If you don't have a Mac and have to go through the servers to test on your device, you need an iStencyl Pro License. We're looking into a way to let you trial this in the future, but it's not arriving soon, as we'd need to figure out how to accomodate a large, free userbase to fairly allocate server-resources - these Macs are expensive to provision.
Well I guess I'll just ask you this then to make sure my game's fine - In the platformer movement iOS package that comes with stencylworks my player is flying through and getting stuck in tiles. Is that just a flash testing glitch?

Jon

  • *
  • Posts: 17524
Enable Continuous Collision Detection on the actor's physics page, and that should go away. It's a trait of Box2D. I'll turn it on for the next time I release that example.

charlesartist

  • Posts: 41
So...

is it confirmed for that iStencyl Lite works for windows users now? I havent upgraded since 1.2. Can I make iphone games that I can publish to itunes after I purchase the license? And, is the Newgrounds API working for widows users?

Finally, does the windows API include functionality for in game badges?

Thanks...

ChunkyMonkey

  • Posts: 430
Enable Continuous Collision Detection on the actor's physics page, and that should go away. It's a trait of Box2D. I'll turn it on for the next time I release that example.
Alright Thanks!

charlesartist

  • Posts: 41
Please answer my questions? Anybody that knows definitively...

1) iStencyl works for windows; can make iphone games on iStenclyl Lite (Later to be published with license purchase)?

2) Newgrounds API working in 1.3?

3) Newgrounds game achievment Badges supported in NG API?

Jon

  • *
  • Posts: 17524
1) Yes. The only caveat is that you can't test on the device (in Windows) unless you have pro or access to a friend's Mac to do that on.

2) Yes - The blocks are all there. We'll blog separately about it once the iStencyl announcements go out.

3) You mean medals? Yes.

If you're afraid to upgrade because you can't backtrack, we're looking into ways to let you download prior releases whether for personal use or testing.