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 - kthorspear

Pages: 1
1
Extensions / Re: 2D List Extension
« on: July 18, 2017, 11:39:58 am »
How do I fix the following error?

/My Stuff/stencylworks/engine-extensions/2DList/List2D.hx:70: characters 10-14 : On static platforms, null can't be used as basic type Float


I'm getting the same error when trying to "Set GameAttributeListName to <generate new 2D list etc>". Feels like I'm missing something obvious, but not sure what. Clueless noob. Any help is appreciated.

I'm having the same error too. I'm a programming noob so any help would be great. Thanks

I had this same issue, and SadiQ's answer in this thread on March 1, 2014 worked (quoted below). It does automatically populate the 2DList with 0s, so if 0 is an expected possible value (e.g., you need a discrete null and 0 value for your use case), you might need to adjust the rest of your blocks to compensate.

Here are the steps I took:
In the Stencyl menu, select Debug > View > View Workspace Folder. In that folder, open stencylworks > engine-extensions > 2DList and open the file List2D.hx in a code editor like Sublime Text. On lines 20 and 70, replace null with 0.

I had to replace list_column = [for(x in 0...r_amount) null]; with list_column = [for(x in 0...r_amount) 0]; and I had to return 0 in  the get_entry function to get it to work for me.
Having a populate list block would be better in case somebody actually needs 0 in their values and would like to populate the list with something like -1.

2
Extensions / Re: Firebase
« on: December 26, 2016, 04:33:39 pm »
Ah yes, that worked. Thank you!

3
Extensions / Re: Firebase
« on: December 26, 2016, 03:19:57 pm »
Hello there - when I try to download the extension, I get a page with the following error:

An Error Has Occurred!
You are not allowed to access this section

Is there an alternative place to download the extension?


4
Ok lets try the Xcode fix. go to publish then choose Xcode project, it will tell you you need to download haxe, just ignore that, save the folder to your desktop. The double clock the Xcode proj file and it should open Xcode, then hit the play button. Have your device plugged in while you do this. See the screenshot attached.

It won't work to test in Xcode but thats fine, once you have done that try again to test on device from stencyl.

After wrestling with a "Xcode couldn't find a provisioning profile matching [App ID]" error for 3+ hours, this was what solved it for me. Thanks so much!

It would be helpful to add this fix to the iOS Troubleshooting Guide: http://www.stencyl.com/help/view/xcode-ios-troubleshoot/

Pages: 1