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 ... 197
16
Ask a Question / Re: Behaviour Error for iOS
« on: October 27, 2021, 10:55:47 pm »
That's Objective-C code. That behavior must have been created back when the iOS target was 100% Objective-C, even in Design Mode. Perhaps it was called iStencyl back then? Or maybe Stencyl could target both Flash and iOS for a short time. I don't recall. But that was before Stencyl 3. All code is Haxe now, and if you want to use Objective-C you need to use a native extension.

Anyway, that bit of code does exactly the same thing the Flash code above it does. Perhaps there was something wrong with those blocks on iOS back then. I don't know. You can just get rid of the "do only on flash" and "do only on iOS" bits, and only keep the "set stroke color" block.

What might be a better idea, since this seems to be one of the built-in behaviors, is to just delete it and reimport from the built-in behaviors library. But that would require you to make a list of all the actor types that use it, and make sure to attach the new behavior to all the same actor types and make sure it has all the same settings on each actor type.

17
Ask a Question / Re: Out of memory yet again B10814
« on: September 29, 2021, 04:50:57 pm »
Here's a link to the conversation.

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

To sum up:

1. Changing the amount of memory set in the batch file (as Luyren posted) works fine, and wasn't the issue here.

2. The only problem building games was when publishing HTML5 games, because that starts a new JVM to run the closure compiler, but isn't given a larger heap. This can be fixed by making a change to lime. Lime is found by default at %LocalAppData%\Stencyl\libs\haxelib\Stencyl\lime\<lime-version>. The file you need to change is src\lime\tools\HTML5Helper.hx.

Code: [Select]
var args = [
"-Dapple.awt.UIElement=true",
"-Xmx4096m", <--- add this line and set the number, again in MB
"-jar",
ConfigHelper.getConfigValue("PATH_CLOSURE_COMPILER"),
"--strict_mode_input",
"false",
"--js",
sourceFile,
"--js_output_file",
tempFile
];

18
Extensions / Re: iOS Tracking Transparency
« on: August 27, 2021, 06:08:08 am »
Sorry, my post wasn't quite accurate. This requires 4.1.0-beta3 or later. You can update to it from the private releases topic.

19
Ask a Question / Re: Can't generate APK - unity ads?
« on: August 03, 2021, 04:33:21 am »
Associated thread in the issue tracker.

http://community.stencyl.com/index.php?issue=2020.0

20
Chit-Chat / Re: help i cannot export my game to apk
« on: August 03, 2021, 01:54:22 am »
Not sure, I don't see an error at the end of the log file you posted. Could you try building an APK again, and then if that error dialog pops up, close it first and then try generating logs?

21
Extensions / Re: iOS Tracking Transparency
« on: July 18, 2021, 11:31:49 am »
I've updated the extension for an easier setup.

1. Enable the extension.
2. Add the [request permission to track] block. There aren't any unnecessary fields anymore.
3. You can edit the text in Stencyl's Dashboard Sidebar, under the Extensions category.

This requires the Stencyl 4.1.0 beta.

22
Windows / Mac / Flash / HTML5 / Re: Slime Builder
« on: June 24, 2021, 09:13:47 pm »
The issue with games on itch is fixed now.

http://community.stencyl.com/index.php?issue=2011.0

23
Ask a Question / Re: The Stencyl forums are dead.
« on: June 24, 2021, 08:35:15 pm »
At the top of the Chit-Chat board is a pinned topic: http://community.stencyl.com/index.php/topic,48592.0.html

There's also a link in my forum signature. ;)

24
Ask a Question / Re: The Stencyl forums are dead.
« on: June 24, 2021, 07:16:32 pm »
Try discord. :)

25
Ask a Question / Re: Problems submitting iOS app via Transporter
« on: May 03, 2021, 07:13:11 am »
Is the certificate you're using a "Apple Distribution" certificate (Not "iOS Distribution")? When setting up certificates on the Apple webpage, it's the one that says it's for use with Xcode 11+. It looks like there's a bug in the packaging process when that one is used.

Unfortunately I'm in the middle of modifying the build server, so I can't immediately upload a fix for this.

If you can easily modify a zip file, all you need to do is open Stencyl's sw.jar file, edit "res/ios/PackageApplication", and change line 137
Code: [Select]
    if ( $opt{sign} =~ /^i(Phone|OS) Distribution/ ) {
to
Code: [Select]
    if ( $opt{sign} =~ /^(i(Phone|OS)|Apple) Distribution/ ) {

Otherwise, if you happen to be on b10658 (the latest private build available right now), I have a patched sw.jar for that specific build. http://www.polydes.com/temp/sw-b10658-modified-ios.jar

26
Dialog Extension / Re: How to Install for Stencyl 3.4
« on: April 27, 2021, 06:24:41 pm »
Please see the website for install instructions for the latest version of Stencyl.

http://dialogextension.com/download/

27
Ask a Question / Re: Galaxy S21 compatibility???
« on: April 16, 2021, 04:43:36 pm »
I've made an update on the issue tracker thread. The short of it is: force Stencyl to target API 29 and the crash should go away.

http://community.stencyl.com/index.php?issue=1996.0

28
Windows / Mac / Flash / HTML5 / Re: Slime Builder
« on: March 23, 2021, 06:01:46 pm »
Ah, I missed the fact that you had shared the game. I don't know if that's an old version of the game, but it's still using the gzip packing method. There's an error when trying to unpack the gzipped content. I'm not sure what the problem is yet, but I'll try to fix it in a later release.

Before uploading your game, you can confirm which packing method it used by opening [game name].zip/manifest/default.json, and seeing at the very end, "libraryArgs":["lib/default.pak","gzip"]. Here the packing method used is gzip.

29
Windows / Mac / Flash / HTML5 / Re: Slime Builder
« on: March 23, 2021, 05:15:23 pm »
If you open the web inspector for your browser, you should be able to view the console and network requests. Are there errors in the console? Do you see any network activity when the game is supposed to be loading?

30
Windows / Mac / Flash / HTML5 / Re: Slime Builder
« on: March 22, 2021, 06:57:10 pm »
You could also try deleting the line entirely.

What that changes is how the assets are packaged inside the .zip file of the game (looks for the lib or assets folder inside the zip file). The game will always be exported as a .zip file in the end.

Pages: 1 2 3 4 ... 197