Stencyl 1.4.1 (Released on Jan. 22)

Jon

  • *
  • Posts: 17526
Preview 2 is up. Changelog in the first post.

Is this the same Preview 2 that I downloaded a couple of days ago and reported the IOS problems [http://community.stencyl.com/index.php/topic,5763.0.html] or is this a newer version with these problems fixed?

This is a version that should be all fixed up. The only bug I've noticed is with iPad-specific apps rendering funny. Shot out an e-mail to my developer friend yesterday about it and should be fixed for the 3rd preview.

bernard

  • Posts: 120
Almost there Jon. This version is not quite fixed up.

The resizing works.
The remembering the last size works.

You had iAds ticked in the Catapult game settings and this caused a white band to appear at the bottom of the screen. iAds did not show up.Dont seem to work for iPad. Worked on the iPhone Sim though. Removing the tick fixed that.

However few things I noticed:
1. The Lite splash screen has a blue progress bar that now displays longer than before
2. The screen is now locked in Landscape mode with the home button on the right. If I open the game with the Home button on the left(Orientation), the screen does not swivel around like most iOS Apps.
3. I tried making changes to the XCode project - specifically setting the "Supported Device Orientations" in xcode to Landscape Left and Landscape Right. Now when I start the game (home button on Right) the "Replace Me" splash appears Upside down before the game appears right side up.

While these are minor points, there is no telling if the App store people will reject a game because it does not adhere to IOS guidelines.

Regarding "iPad apps rendering funny" what exactly do you mean? Any screenshots?

Jon

  • *
  • Posts: 17526
An iPad-only app renders at iPhone-resolution. Not quite sure why it's doing that, but it's clearly related to fixing up the Xcode project and lies outside our code (ugh, it's annoying to work with Xcode's project templates). I hope to hear back from my friend tonight - I futilely tried to deal with it last night and just flailed - it's probably something really simple, but it's just better for me to wait to hear back than spend more time on it now.

>  The Lite splash screen has a blue progress bar that now displays longer than before

Time-wise or graphics-wise? (if the latter, a picture would help).


I'll look into the others. I haven't dealt with the loading screen respecting the orientation yet.

« Last Edit: January 11, 2012, 11:16:35 pm by Jon »

Jon

  • *
  • Posts: 17526
I got most of the orientation issues fixed up (not uploaded yet), but I'm running into a snag where the app doesn't know the precise orientation it is in initially - it returns the unknown state and doesn't return anything meaningful until the app's been up long enough. This is problematic for the loading screen and causes a flash as it corrects itself later on from say, landscape right <-> left. If I get its UIInterfaceOrientation vs. UIDeviceOrientation, then I get the opposite orientation altogether, it seems (I rotated left but it reports right), and it leads to the same net-effect.

This is a link to a similar issue (but we're not using cocos2d)
http://www.cocos2d-iphone.org/forum/topic/6413

Do apps honor the precise orientation (left vs. right) while they load up?


bernard

  • Posts: 120
A few apps I have seen are fixed in orientation. The splash screen (in the case of iStencyl it is the Replace me screen) usually comes up in portrait mode for most apps. However for almost all iPad apps I have seen they always respect the current orientation. Some I have seen initially start up the wrong way and then rotate to the correct orientation.

In fact the few I have written for my own use in obj C always respect the orientation. They are all based on ViewControllers and implement this method:

Code: [Select]
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return YES;

I found one useful link that may help http://aseriesoftubes.com/articles/ipad-development-101-orientation/

HTH.

And can you please add a version number when you do update the 1.4 preview? This avoids people like me asking if the 1.4 Preview 2 is the same or different :)


bernard

  • Posts: 120
>  The Lite splash screen has a blue progress bar that now displays longer than before

Time-wise or graphics-wise? (if the latter, a picture would help).


I'll look into the others. I haven't dealt with the loading screen respecting the orientation yet.

Time wise. You can actually see it moving a bit now before the app starts. Maybe you want the Lite splash screen to stay longer onscreen and that is your prerogative, but I just noticed the time displayed was longer, you can see the bar moving to about halfway and the the app starts so I thought i'd mention it to you.

Jon

  • *
  • Posts: 17526
There was actually a bug in the first preview where the bar wasn't loading up at all (it would never fill up) - I think that's what you might be referring to. If so, then what you see now is correct.

Jon

  • *
  • Posts: 17526
The problem isn't that it's not able to eventually figure its orientation out, but there's a split second at the start where it starts in the other orientation (right) and then flips to the current one. It's not able to detect the original orientation from the start. So it leads to this little flash where it's switching the orientation right at the start of the loading bar sequence. (the splash appears fine but that's because the OS knows)

Jon

  • *
  • Posts: 17526
OK, as of now, everything is fixed except that niggling issue with orientations on the loading screen in the post above. If I can't figure it out, I'm going to have the loading screen locked to one of the two orientations and then have it respect auto-rotate in-game.

Miasmos Games

  • Posts: 878
It's probably that you're trying to reference a non-existent actor (such as one that has been killed). Check through your code to make sure you can't be referencing though the last collided, last created or some other property, an actor that has been killed.

Cupcake Bounce

docskull

  • Posts: 65
Thanks and sorry for the inconvenience! I will remove the former post. :)

halash1

  • Posts: 2
hi im new in this and like to know.
how can I test mi games on my iphone?
i have to hackit or i got to buy someting

please answer
 :D
i have a lot of ideas and i make music and sprites just give me and idea an i turned in to a game.

vikingpotato

  • Posts: 853
u
Quote
hi im new in this and like to know.
how can I test mi games on my iphone?
i have to hackit or i got to buy someting

please answer
 
use a PC or a Mac ?

Jon

  • *
  • Posts: 17526
Preview 3 will go out later tonight with the fixes to auto-rotate, iads and allowing builds against multiple releases (mostly for Pro users).

cloa513

  • Posts: 245
I get the statement that Version is 1.3.4 Build 413- is it actually running Version 1.4 after totally extracting the folder and running the StencylWork excutable. Strangely enough I now don't the message that the folder is unavailable (run as administrator or install in My Documents) that I used to get when running 1.3.4 and update seems to work.