Duke Dashington!

Jon

  • *
  • Posts: 17516
If it's not showing up, install a log viewing app for the device and fetch the logs that way.

https://itunes.apple.com/us/app/console/id317676250?mt=8
https://itunes.apple.com/us/app/logviewer/id456493616?mt=8

AdventureIslands

  • *
  • Posts: 725
I downloaded the first one and ran it and Duke and got these:

Code: [Select]
Mon May 12 21:24:59 Console[586] <Warning>: A view can only be associated with at most one view controller at a time! View <UIView: 0x2a00e0; frame = (0 20; 320 460); autoresize = W+H; layer = <CALayer: 0x2a0140>> is associated with <UIViewController: 0x2a7fe0>. Clear this association before associating this view with <RootViewController: 0x37b0b0>.

Mon May 12 21:25:47 Console[586] <Error>: *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array'
*** First throw call stack:
(0x2e1a5f0b 0x38c6cce7 0x2e0dc2f1 0x29fd 0x30c2ac19 0x30c176b3 0x30c1750d 0x30a4fea9 0x30a4f0e7 0x30a4f06f 0x30a4f007 0x309db5c7 0x309db4b3 0x2e167f41 0x2e0dbda9 0x2eac6cc5 0x309dafc1 0x309da6ad 0x309d9df9 0x30a3e405 0x33004b55 0x3300473f 0x2e170847 0x2e1707e3 0x2e16efaf 0x2e0d9769 0x2e0d954b 0x330036d3 0x30a38891 0x21f3 0x21c4)

Mon May 12 21:25:50 Console[590] <Warning>: A view can only be associated with at most one view controller at a time! View <UIView: 0x269560; frame = (0 20; 320 460); autoresize = W+H; layer = <CALayer: 0x268df0>> is associated with <UIViewController: 0x26eaa0>. Clear this association before associating this view with <RootViewController: 0x33c1c0>.

Are these Duke related at all? If not, how do I get this to display Duke info?

Looks like I'm not the only one who has issues with the new scale mode on iPad Mini http://community.stencyl.com/index.php/topic,31729.0.html

« Last Edit: May 12, 2014, 12:38:16 pm by AdventureIslands »

Jon

  • *
  • Posts: 17516
Nope, those aren't relevant.

Usually, I run the game then I flip back to the console app, hit the refresh button in the app and the logs show up (along with a ton of other junk). If you look for "Universal" near the start of a line, that's usually what corresponds to a Stencyl game.

AdventureIslands

  • *
  • Posts: 725
Weird, I can't get this thing to display any data on Duke. I have it on, run Duke on device in Stencyl and open the app when it's finished, but the log viewer doesn't display anything else than what I pasted earlier.

Jon

  • *
  • Posts: 17516
Alright, send me some form of the project via an e-mail link, so I can retry on whatever state the project's in. I think we've run the course on trying to get the logs out of this.

Jon

  • *
  • Posts: 17516
I've fixed the original problem (edit: now checked in), but now it renders like this because the scene isn't tall enough. It's correct, but perhaps not desirable for this game because it would be difficult to adjust all the scenes. It works much better for games that scroll.

I recommend sticking to the letterbox setting, which seems to work perfectly. Thoughts?

« Last Edit: May 19, 2014, 10:54:26 pm by Jon »

AdventureIslands

  • *
  • Posts: 725
I've fixed the original problem (edit: now checked in), but now it renders like this because the scene isn't tall enough. It's correct, but perhaps not desirable for this game because it would be difficult to adjust all the scenes. It works much better for games that scroll.

I recommend sticking to the letterbox setting, which seems to work perfectly. Thoughts?

Yeah the new scale mode doesn't work all that well on tablets, but are fine if the game is mobile only. Either I keep Duke phone only or just use letterbox on everything.

Jon

  • *
  • Posts: 17516
As I mentioned over e-mail, did you play around with increasing the height of the game? That's why it doesn't look right on tablets, because it's not tall enough to cover the screen.

AdventureIslands

  • *
  • Posts: 725
As I mentioned over e-mail, did you play around with increasing the height of the game? That's why it doesn't look right on tablets, because it's not tall enough to cover the screen.

Okay, after some more tinkering now I think I know how I can use this scale mode:

I have the game in the regular iPhone 480x320 resolution, and with 32x32 tile size one scene is normally 15x10 tiles large.

However, if I leave the resolution untouched and just make every scene 18x12 tiles big while setting camera always centered to the middle of the scene, the the game properly fits every device I've tested it on so far.

I think this solves my scale issues. Works really well so far!

« Last Edit: June 12, 2014, 03:05:45 pm by AdventureIslands »

AdventureIslands

  • *
  • Posts: 725
Hey folks! Atlantis is finished, but instead of releasing the game, I have decided to instead work on one more temple, and this will truly be the last. I want the game to be properly finished and full of content so players will have big enough bang for their buck.

Be prepared for Duke's toughest challenge yet in hot and hellish Mount Hades! The puzzles will center around lava and fire, and will contain another set of 30 rooms for Duke to conquer. When I'm finished with this temple, there will be total of 120 rooms in the game! That's quite a lot of dashing and challenge for even a seasoned player. I hope to finish Hades sometime during this summer.

After Hades, the game is finally and truly done. I have nothing else to add. I'll be officially out of ideas, energy and free space in stage selection.

AdventureIslands

  • *
  • Posts: 725
Duke Dashington now has 100 finished levels, woo! Mount Hades needs just 20 more rooms and then the game is completely done. 4 temples, 30 rooms each. That's quite a lot of dashing and puzzling!

I have the entire July free from work as my summer holiday, and I'm aiming to finish the game sometime during it.

I still need to finish a trailer for the game and hire some musician to compose new tunes for the game too.

Here's some screenshots from the finished Mount Hades levels.

Unept

  • *
  • Posts: 352
I'm soooooooooooo excited for this!
Unicycle Hero: iOS  |  Level With Me: iOS/Android  |  Hue Ball: iOS/Android  |  Lava Bird: iOS/Android   |   Disposabot   |   Twitter

AdventureIslands

  • *
  • Posts: 725
15 rooms of Mount Hades finished! Just another 15 to go! Woo!

I'm most likely making an PC desktop version of the game too, and now I am wondering if the game could have any chances in Steam Greenlight? It would be awesome to get my game there.

I still need to make a trailer for Duke, but that's pending the new songs. The faster I get rid of the current ones, the better.

« Last Edit: July 06, 2014, 02:21:41 am by AdventureIslands »

AdventureIslands

  • *
  • Posts: 725
Good news folks! Duke Dashington is now done! 4 temples, total of 120 levels. Project I started from Ludum Dare around year ago is finally finished!

I'm still pending some new songs for the game, but other than that, the game is finished and I have nothing else to add, I need to start planning release. Hopefully it happens sometime this month.

The game will be out on iOS and Android, and I'm most likely making a desktop version as well.

« Last Edit: July 06, 2014, 02:30:06 am by AdventureIslands »

Photon

  • Posts: 2697
Because I ran into this with Unept's Lava Bird, what's the target iOS version?
Do NOT PM me your questions, because I likely will not respond. If I have replied to your question on the forum, keep using that topic. Thanks!