Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Tom - FireCroc Games

Pages: 1 2 3 ... 23
Ask a Question / Game crash - Error Invalid Cast
« on: September 22, 2012, 08:21:51 am »
Ran a test game today and here's the error I got...

[LOG] 2012-09-22 16:20:25.914 ios-sim[19834:607] stdoutPath: /var/folders/G0/G0eYLxDaG3Gc5GniQaZQck+++TI/-Tmp-/stencyl3425307580638027665/scratch/ios-sim.log
[LOG] [DEBUG] 2012-09-22 16:20:30.071 Lost Caverns[19855:207] The view controller <UIStageViewController: 0x9d3a7d0> returned NO from -shouldAutorotateToInterfaceOrientation: for all interface orientations. It should support at least one orientation.
[LOG] [iOS] Universal.hx:71: Stage Width: 480
[LOG] [iOS] Universal.hx:72: Stage Height: 320
[LOG] [iOS] Universal.hx:73: Screen Width: 480
[LOG] [iOS] Universal.hx:74: Screen Height: 320
[LOG] [iOS] Universal.hx:75: Screen DPI: 163
[LOG] [iOS] Universal.hx:119: Engine Scale: 1x
[LOG] [iOS] Universal.hx:191: Scale X: 1
[LOG] [iOS] Universal.hx:192: Scale Y: 1
[LOG] [iOS]  Error Invalid Cast

Thanks for reporting back and congrats on finding the problem.

Someone should document all such finds for reference as once you know what they are it's easy to fix.

Still haven't solved this. My game won't run on simulator any more.

I spent around 3 hours constructing the level again from scratch but for no apparent reason, the game crashes on iOS Sim.

If someone could help, that would be cool.

About one in every 3 tests on iOS simulator, my game crashes.

(Example crash below).

The game runs 100% fine on flash and on device.

Will this problem be fixed once version 3 is working, by the unified engine?

I'm hesitant to work on my game any further as this is a real problem. All I'm getting done at present is making a change, testing on iOS device then having to revert to a backup.



Thanks for the advice guys, up arrow is now fly. Need to sort out the aiming so it works properly in flash too.

Pretty awesome! I like the concept and the artwork is fantastic. While it probably controls well on the device, it is nearly unplayable in Flash because of the z key to fly. If you changed it to the up arrow, you could play comfortably with one hand on the arrows and one on the mouse.

Ah, don't know why I missed that. Thanks Cole, I'll add that in tomorrow.

Congrats on the game. I'm going to pick it up later today.

And excellent going on the sales too!

Windows / Mac / Flash / HTML5 / Re: Max Wing and the Lost Caverns (iOS)
« on: September 11, 2012, 04:41:52 am »

I'm getting this today and can't fix it

Can you please explain how to...

"I've tried swapping out the phonesim file and made sure I have the latest simulator downloaded within the latest version of Xcode."



Old Questions (from 1.x/2.x) / Can't test on simulator (logs included)
« on: September 10, 2012, 06:18:43 am »
If someone can look at this I'd appreciate it.

The message I get is:

'could not test app on the ios simulator.'

Ask a Question / How do I install the stable version of Stencyl 2?
« on: September 10, 2012, 04:43:56 am »
Silly question but...

If I download the link from the homepage, the atlas preview doesn't work.

If I download the nightly build, the iOS exporter doesn't work.

Can someone please post a guide on how to get it working on mac?

Thanks  :)


Ask a Question / Re: Drawing over a layer HELP!
« on: September 10, 2012, 12:24:56 am »

So you want to have layered background images where you can see one behind the other?

PNGs support transparent images. Most software, Artrage, Photoshop, Paintshop let you delete the part of an image you want to be transparent.

While you can't do masking in Stencyl you can create say a torch effect where you have a large 'black' image with a transparent hole through the middle of it.

Let me know if this isn't what you need to know.

Good luck with your game  :)

Ask a Question / Re: Error Code. What does it mean?
« on: September 10, 2012, 12:20:04 am »
Hello, are you on a mac?  Testing on simulator often gives more readable messages.

In my understanding, your game is looking for something that's not there any more. Sometimes this can be fixed, sometimes a game can become corrupt. Do you have a recent backup just in case?

Are you able to create a blank scene, set it as starting scene and does the game work?

Ask a Question / Help with a crash report
« on: September 08, 2012, 01:52:38 am »
If anyone could shed some light on this crash, I'd really appreciate it.

Process:         AppScaffold [53257]
Path:            /Users/tom/Library/Application Support/iPhone Simulator/4.2/Applications/F67DD1FE-F115-4604-9BEE-877E034A77E8/
Identifier:      AppScaffold
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [7515]

Date/Time:       2012-09-08 09:50:06.503 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  2  Dispatch queue:

Application Specific Information:
iPhone Simulator 235, iPhone OS 4.2 (iPhone/8C134)
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSMutableArray replaceObjectAtIndex:withObject:]: attempt to replace with nil object at 14'
*** Call stack at first throw:
   0   CoreFoundation                      0x0161bbe9 __exceptionPreprocess + 185
   1   libobjc.A.dylib                     0x017705c2 objc_exception_throw + 47
   2   CoreFoundation                      0x01614c66 -[__NSArrayM replaceObjectAtIndex:withObject:] + 326
   3   AppScaffold                         0x0007301f _ZN13GLESDebugDrawD1Ev + 39301
   4   AppScaffold                         0x0006d557 _ZN13GLESDebugDrawD1Ev + 16061
   5   AppScaffold                         0x0006d217 _ZN13GLESDebugDrawD1Ev + 15229
   6   AppScaffold                         0x0006e77b _ZN13GLESDebugDrawD1Ev + 20705
   7   AppScaffold                         0x0007620c _ZN13GLESDebugDrawD1Ev + 52082
   8   AppScaffold                         0x00069a5f _ZN13GLESDebugDrawD1Ev + 965
   9   AppScaffold                         0x0006c628 _ZN13GLESDebugDrawD1Ev + 12174
   10  Foundation                          0x003f7bd2 -[__NSOperationInternal start] + 747
   11  Foundation                          0x003f7826 ____startOperations_block_invoke_2 + 106
   12  libSystem.B.dylib                   0x95232a24 _dispatch_call_block_and_release + 16
   13  libSystem.B.dylib                   0x95224cf2 _dispatch_worker_thread2 + 228
   14  libSystem.B.dylib                   0x95224781 _pthread_wqthread + 390
   15  libSystem.B.dylib                   0x952245c6 start_wqthread + 30

Chit-Chat / Great indie game dev article from IGN
« on: September 04, 2012, 04:39:01 am »

Pages: 1 2 3 ... 23