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 ... 186
Ask a Question / Re: HTML5 Saving Freezes Game
« on: June 05, 2019, 09:31:44 am »
Perhaps you have a circular reference in whatever you're saving.

For example, if you had a map ("a") and in that map, one of the values was an array ("b"), and in the array one of the items is map "a" again. When it tries to save, it'll get stuck in a loop.

Or perhaps you have some object in your game attributes that has its own natural circular reference. Like an Actor, for example.

Ensure that the data you're saving is all basic types, and that any lists and maps you're saving aren't in some way contained within themselves.

Ask a Question / Re: HTML5 save/load does not work on some websites
« on: June 05, 2019, 06:28:45 am »
Not sure about the saving issue, but to view your debug output in HTML5, you need to either use the game controller's log pane (with Run > View logs through game controller checked) or you need to open your web browsers development console to view log output when you play the game.

Ask a Question / Re: Game Missing
« on: May 30, 2019, 10:05:51 pm »
I found his stencylworks folder, which lists it's last modification date for last week. It has within it all its folders and assets.

As Luyren said, perhaps somebody changed the workspace. It sounds like you're looking at the old workspace. Make sure you're pointing to that location from File > Preferences > Workspace, and not somewhere else. The "stencylworks" folder isn't included when selecting a workspace, so choose the parent of the stencylworks folder, not the stencylworks folder itself.

Ask a Question / Re: i am unable to test my scene can anyone help
« on: May 28, 2019, 08:46:36 pm »
If it only works in debug mode, the game is broken. You'll need to fix it before it works normally. You can look at the logs to see errors.

Ask a Question / Re: i am unable to test my scene can anyone help
« on: May 28, 2019, 07:55:28 pm »
Try running the game in debug mode (Run > Run App in Debug Mod > Windows).

Ask a Question / Re: i am unable to test my scene can anyone help
« on: May 28, 2019, 06:53:28 pm »
It's in the toolbar next to settings.

Ask a Question / Re: i am unable to test my scene can anyone help
« on: May 28, 2019, 05:41:02 pm »
You need to wait longer. Next time you try to test, open the log viewer window and make sure the most detailed log level is turned on. You'll see that the game is still compiling.

The first compile on desktop and mobile platforms is always slow. If you want to test more quickly, you can choose a different platform for testing.

Ask a Question / Re: Can't publish
« on: May 28, 2019, 04:18:12 am »
You should be able to publish if you're signed in and a game is open. Can you post your logs? Perhaps there's a network issue preventing it from validating that you're signed in.

Ask a Question / Re: Can't publish
« on: May 28, 2019, 02:47:51 am »
Are you logged in within Stencyl?

Ask a Question / Re: The future of stencyl
« on: May 27, 2019, 02:26:44 pm »
I can't see the update of stencyl? How is its future? do you die

Ask a Question / Re: iOS splash screens not scaling?
« on: May 26, 2019, 12:57:29 pm »
Thanks. I've added that change to Stencyl in b10344.

Ask a Question / Re: iOS splash screens not scaling?
« on: May 25, 2019, 09:54:40 pm »
It looks like the launch storyboard isn't being resized appropriately.

Open this file
Code: [Select]
[Stencyl install]/plaf/haxe/lib/lime/lime/templates/ios/storyboards/splash.storyboard

Search for this text
Code: [Select]
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
(the autoresizingMask element appears twice, it should be the second one)

And replace it with this
Code: [Select]
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>

You're done. Try testing again and see if it works better.

Ask a Question / Re: Android app crashing
« on: May 25, 2019, 08:52:12 pm »
I've updated Stencyl (b10340) to include a fix that hopefully should make that specific problem go away. However, there might be a different issue with your app that's the real cause of the game not working.

Ask a Question / Re: Any way to view a HAXE object as plain text?
« on: May 25, 2019, 08:49:09 pm »
Try this.

Code: [Select]
var object = myVariableThatIWantToPrint;

for(field in Reflect.fields(object))
trace('$field => ${Reflect.field(object, field)}, ');

Ask a Question / Re: iOS splash screens not scaling?
« on: May 22, 2019, 07:13:30 pm »
For the first problem, could you either send me the image you're using as well as the relevant game settings (screen size, splash screen scale mode, orientation, etc), or send me the game itself?

Regarding the old splash screen still being present, it seems to be some issue with the device caching the image (so it doesn't need to scale the image again next time you open your game).

The displaying of two images in a row is because iOS displays one (the cached one), and then hands control over to the app. One of our third-party libraries, SDL, then re-displays the same image (but without a cache), so it should always be the correct image. Finally, control is handed over to OpenFL/Stencyl, and the second launch image is removed.

Depending on how quickly each of these stages is loaded, you may not even see one or both of the launch screens. Both should be identical, but because of iOS not updating its cache, the first one may be an old image.

I've seen conflicting reports about whether this does or doesn't affect end-users who download your app, but there may be something we can do to prevent it from happening.

Pages: 1 2 3 4 5 ... 186