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

Pages: 1 2 3 4 5 ... 199
31
I'm not sure what you mean by "doesn't work". I fixed a bug that prevents autorotate from being disabled, but that's going to be in 4.1.0. I'm not aware of any other bugs regarding autorotate.

32
Dialog Extension / Re: Null error?
« on: February 17, 2022, 06:12:55 am »
This thread was continued over Discord.

https://discord.com/channels/209323692205932544/227870283749523459/943764381018234912

In the end, the problem was that there was a blank extension listed in the style.


33
Dialog Extension / Re: Null error?
« on: February 15, 2022, 05:39:43 pm »
Looks like you're missing the animation displayed when waiting for user input to proceed the dialog. Check under the "Flow Scripts" extension in your data structures.

34
Ask a Question / Re: Full screen on html
« on: February 15, 2022, 05:36:08 pm »
There's a problem with the generated game-config.json file. Open this file your workspace: [stencylworks]/games-generated/[game name]/Config/game-config.json. (The workspace, [stencylworks], can be found with Tools > View Folder > View Workspace Folder.)

Paste the contents here or file a new issue on the issue tracker.

35
Ask a Question / Re: Disable in-app purchases
« on: February 13, 2022, 11:25:25 pm »
Thanks. I've fixed the issue that caused that permission to appear. It's a regression that occurred when I updated purchases to use Google Play Billing Library v4.

https://github.com/Stencyl/extension-purchases/commit/f4b3ad7e16646ef6873109aaba495539040f7703

The fix is available in the latest private build (4.1.0-beta3/b10927).

36
Ask a Question / Re: Disable in-app purchases
« on: February 10, 2022, 04:13:48 pm »
Sounds like a bug. What build are you using?

37
Ask a Question / Re: Stencyl can't find installed Xcode
« on: February 10, 2022, 03:46:42 pm »
I've never seen that error before. Upon searching for it with Google, the first result is this.

https://developer.apple.com/forums/thread/125552

This error includes significantly more information. Is it possible that yours included some more information as well?

From that error, it appears it may be caused by using a version of Xcode that some of Apple's dev tooling doesn't yet support. Since Xcode 13.3 is still in beta, that sounds like it's possible.

To answer your question about which versions of Xcode Stencyl supports, it should support all the latest versions, and if you ever find anything wrong, let me know and I can fix it. This, on the other hand, appears not to be an issue with Stencyl, but that a version of Xcode is being used that isn't supported by all of Apple's tools. If my take from reading that thread is correct, anyway.

38
Ask a Question / Re: Stencyl can't find installed Xcode
« on: February 03, 2022, 07:13:14 am »
Sorry, this is a problem in the current public release of Stencyl when Xcode uses a 3-part version number (x.y.z instead of x.y).

If you'd like to subscribe to Stencyl, you can access the private betas in which that bug is fixed, or you can wait for the next public release of Stencyl, and in the meantime, use a version of Xcode that has a 2-part version number (13.0, 13.1, 13.2, etc).

39
Ask a Question / Re: Textbox extension - assign to a variable?
« on: January 23, 2022, 05:28:34 pm »
Use the [get text of textfield of name] block provided by the extension to get the text currently in the text field.

40
Ask a Question / Re: Creating Attributes in a Behavior
« on: December 24, 2021, 10:29:25 pm »
It's only converted to text when you print/draw it. What's in the list is a region, no need to worry about that.

The problem here is the timing of the "when the mouse is pressed" event registration.

1. A scene is entered / an actor is created.
- 1a. "When created" events are executed.
- 1b. Other events are not executed, but their conditions are registered. This is when "get item #1 from InventoryItems" is evaluated.

So for the region to exist at index 1 in your list by the time that the event is registered, it would need to be added to the list in your "when created" events.

Perhaps instead of using events, you could loop over the regions and check which if them was pressed (perhaps within a general "mouse was pressed" event, to avoid performing the calculations every game step).

41
Ask a Question / Re: Creating Attributes in a Behavior
« on: December 23, 2021, 07:36:35 pm »
If you're stuck on creating a region itself, there's this block



https://www.stencyl.com/blocks/view/scene-regions


But it sounds like maybe you just want a lot of attributes to refer to regions? You can put regions into a list or map attribute. For readable code, perhaps use a single region attribute to temporarily hold list items retrieved from the "get/set item in list" block in your loop.

42
Ask a Question / Re: Windows build not working
« on: December 23, 2021, 06:31:35 pm »
Code: [Select]
2021-12-23 17:38:37,644 INFO  [Thread-34] stencyl.sw.util.StreamGobbler: [haxelib.exe] Design_63_63_LoadSavedCats.cpp
2021-12-23 17:38:37,644 INFO  [Thread-34] stencyl.sw.util.StreamGobbler: [haxelib.exe] ./src/scripts/Design_63_63_LoadSavedCats.cpp(315): error C2177: constant too big

https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2177?view=msvc-170

Check "Load Saved Cats" for a very large number, and try to decrease it if possible.

43
Stencyl is not packaged for any specific Linux distribution. tar.gz files are a common archive format used by all flavors of Linux. You need to extract Stencyl from the .tar.gz file to access it.

Here's from a quick google search for "ubuntu extract tar.gz without terminal". The top two answers may help you.

https://askubuntu.com/questions/917542/how-to-extract-tar-gz-file-without-terminal

44
Ask a Question / Re: can´t run my game on IOS Device
« on: November 25, 2021, 03:30:44 pm »
Oh. Nice! All's well than ends well. :)

45
Ask a Question / Re: can´t run my game on IOS Device
« on: November 24, 2021, 02:54:50 pm »
Luyren's advice is good, but in this case I don't think that will fix the error you're seeing. It looks like you're running into an error codesigning, and it has something to do with how your certificates are set up on your computer.

Code: [Select]
Warning: unable to build chain to self-signed root for signer "Apple Development: Lars Asen (**********)"
/Users/larsasen/stencylworks/games-generated/Splasher/Export/ios/build/Release-iphoneos/Splasher.app: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
** BUILD FAILED **

I'm not exactly sure how this can be fixed, but you can search for the error to see how other people were able to fix it and see if you can do the same.

Here's one example of a thread where others ran into the same issue.

https://developer.apple.com/forums/thread/86161

Pages: 1 2 3 4 5 ... 199