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.


Topics - Justin

Pages: 1 2 3 4
1
News / Stencyl 4.0.3 - Release Candidate
« on: August 01, 2020, 03:39:32 am »
Stencyl 4.0.3 -- Release Candidate

This release focuses on keeping up with the latest requirements for Android and iOS development, and macOS notarization. Apart from that, there's been an overall focus on making the software more stable, and providing more sensible errors when something goes wrong.

This release is in the "release candidate" stage. That means that everything is ready for a release, but we may still make changes if significant bugs emerge. Please try it out by downloading from the below links, and let us know on Discord, on the forum, or on the issue tracker if there's a problem with this release.

Windows:
- Windows installer (32-bit)
- Windows installer (64-bit)
- Windows zip (32-bit)
- Windows zip (64-bit)
macOS:
- macOS dmg
- macOS zip
Linux:
- Linux tar.gz

Notes

Subscribers: This release does not include all of the features in the current subscribers-only builds. If you're currently using a private build and would like to update, please update with the latest private build.

For AdMob users: The AdMob Application Identifier is now set on the Monetization page, not in the AdMob initialization block. If you're using any of byRobin's extensions, make sure to update them as specified in the notes for #1821.

If you find any issues, please report them on the issue tracker.

Other issue tracker links:
[4.0.4] tag: issues planned for the next patch release.
[4.1.0] tag: features and issues planned for our next minor feature release.

Changes

Dashboard:
- [ui] Select first item in Open Resource list when first focused (#1754).
- Fix error when generating scene thumbnails (#1797, #1823).

Scene Designer:
- Fix error in scene editor when transparency/blending is enabled
- Fix deletion order of multi-object selections with z-indexed objects (#1692).
- Don't share processed TileShapes among scenes with different tile sizes (#1859).

Design Mode:
- Fix: Can't find attribute blocks after refreshing attribute definition (#1675).
- Minor English language fixes (#1600).
- Activate/Deactivate status of block isn't retained when duplicated (#1710).
- Sometimes game attributes don't refresh in palette when added (#574).
- Reload attribute name without reloading behavior (#1695).
- Drag and drop blocks to another behaviour doesn't work (#1837).
- Don't allow custom blocks to include same field twice in spec (#1855).
- More logical accuracy of the image property getter block combined with other math operator blocks.
- Fixed error in code preview of "custom event" block when an attribute getter is used for the name.

Actor Type Editor:
- Fix: Looping/Synchronized settings aren't retained when duplicating animations (#1694).
- Warn user and grow imported images that don't cleanly scale (#1677).

External Tools:
- Removed Pencyl, made Pixelitor the default image editor (#1696).

Resources:
- Fixed downloading of behaviors from StencylForge (#1714).
- Closing backgrounds leaves scaledImagesLoaded in the wrong state (#1872).

Compilation:
- [android] Updated gradle repository links to https (#1751).
- [android] Android Keystore Generator not making usable keystores (#1720).
- [android] Don't allow using JDK higher than 12 for android compilation (#1868).
- [ios] Update GoogleMobileAds and disable SafariServices framework (#1636, #1821). Xcode 11 is now required to enable AdMob.
- [ios] Fix iOS architectures included in builds with min version less than 11 (#1858).
- [ui] Open snippet sources instead of generated files from compilation errors window (#1453).

Engine:
- [ios] iOS 13 crash when requesting iap product info (#1674).
- [ios] Admob banner bottom in safe area iPhone X or higher (#1880).
- [ios] iPhone X press near screen edge is delayed (#1853). Thanks, tommyill!
- [ios] iOS 3rd party keyboard spelling correction leads to inaccurate text (#1662).
- [debugging] Print the callstack in more places, as well as info on how to enable it (#1842).
- Fix recycling actors with no animation (#1840). Thanks, yoplalala!
- [macos] Start in fullscreen broken on macOS target (#1639).
- [windows] Window zooms in a little every time it's minimized and restored (#1682).

Game Controller (beta feature):
- [ui] Allow ESC to close Game Controller and Build Errors windows (#1634).
- [ui] Correctly link stack traces for Flash and HTML5 in log viewer
- [flash] Fix security warning when updating images (#1455).
- [mobile] Fix: may get wrong local ipv4 address when multiple network interfaces present. If the address that's obtained automatically is still wrong, use the ipv4.local preference to set it manually.
- Fix: Don't establish GCI connection unless the game is open in Stencyl (#1702).
- Animations disappearing and causing crashes when reloaded in some cases (#1670).
- Accept websocket payloads greater than 8KB in SocketInputWorker (#1876).

OS/Tool Compatibility:
- [jdk] Change web address for downloading JDK from Oracle website to AdoptOpenJDK website
- Don't allow non-ascii characters in install path or workspace (#1623).
- [windows] Update VSCode detection locations to include the newer AppData location.
- [macos] macOS Notarization update supporting the hardened runtime requirement. (#1690, #1841).
- [macos] Neko is no longer required to be installed.
- [macos] Fix error on startup when an unpaired iOS device is connected (#1841).
- [macos/linux] Fix some errors that allow an incomplete download of android build-tools/platforms.

General Toolset Issues:
- Less laggy verification textfields (#1833).
- For better version control, more consistent ordering of polygon coordinates (always clockwise in xml), and bundles and engine extensions in game.xml.

Third-Party Libraries:
- Update Format: 3.4.1 -> 3.5.0

Localization:
- Updated French translation (#1226). Thanks, yoplalala!

2
News / Stencyl 4.0.2 - December 14, 2019
« on: December 12, 2019, 10:45:55 pm »
Stencyl 4.0.2

This is primarily a bugfix release for the 4.0.1 release earlier this year. Notable improvements are the new 64-bit distributions for Windows users, better compatibility with macOS Catalina, support for the latest Xcode and MS Visual Studio versions, and a higher default memory limit for Stencyl itself.

Download Now

Notes

Subscribers: This release does not include all of the features in the current subscribers-only builds. If you're currently using a private build and would like to update, please update with the latest private build.

If you find any issues, please report them on the issue tracker.

Other issue tracker links:
[4.0.3] tag: issues planned for the next patch release.
[4.1.0] tag: features and issues planned for our next minor feature release.

Changes

Dashboard:
- Don't allow resources to be opened while already loading (#1663).

Scene Designer:
- Avoided index out of bounds error causing scenes to not open (#1552).
- Don't try to use custom cursors on unsupported systems (#1498).
- Fix "bring actor to front within layer" functionality.

Design Mode:
- Don't allow dropdown menus beneath blocks to be opened (#547).
- More accurate tinting of Design Mode blocks on macOS/Linux.

Actor Type Editor:
- Don't read in ghost shapes (#1517).
- Always refresh collisions page when animations are added/removed (#1553).
- Fix size of collision bounds of drag-and-drop imported animations.

Behavior Page:
- Behaviors Tab cuts off behaviors with a lot of text (#1591).

External Tools:
- Added missing dependency needed to unzip 7-zip files, including Pencyl (#1531).
- Retry running external commands if they fail due to CreateProcess error (sometimes due to antivirus/cloud sync/etc creating short-lived locks).
- Make VsCode work on macOS if the .app is selected.

Resources:
- [creation] Prevented higher scale images from being created on import if higher scales are disabled.
- [creation] Fixed a bug with number of rows/columns being swapped when importing tileset image.
- [duplication] Fix: font images not being copied when duplicated (#1542).
- [duplication] Fix: multiple copies of higher scales appearing when duplicating Actor Types (#1554).
- [duplication] Fix: custom blocks in duplicated behaviors still referring to the original (#257).
- [importing] Set atlas ID for imported resources to 0 if atlas does not exist (#1504).
- [importing] Fix loading of tilesets with images that don't match the claimed number of tiles.
- [importing] Fix importing of resource packs with behaviors using each others custom blocks (#1646).
- [exporting] Fix bug causing potentially high size of exported resource packs

Game Settings:
- [scaling] Don't read in enabled scales that have been disabled in project scales (#1548).
- [android] Fixed custom Android keystore paths so they would actually be used.
- [android] Limit allowed Android platforms to ones that have been tested.
- [android] Allow accepting Android licenses from within Stencyl as needed. (#1545).
- [ios] Fix iOS launch storyboard scaling (thread).
- [web preloader] Preloader images can't be cleared (#1538, other little bug).
- [atlases] Fix: Atlas button on scene tab wasn't opening atlas page due to refreshing
- [atlases] Fix: Scene listing in atlas scene manager only shows scenes not in any folder when first opened
- [engine-extensions] Fix: labels extension not appearing by default.

Compilation:
- [codegen] Fixed compilation error with certain number formats that are valid in Java but not Haxe, parse as text instead (#1537).
- [codegen] Don't let faster code generator erroneously succeed if blocks are missing.
- [issues] Hidden pref for showing errors dialog even if there's only warnings. "prefs.compile.showwarn=true"
- [resources] Ensure that we never write out scales that are excluded from project (#1548).
- [windows c++] Fix visual studio detection when vswhere.exe exists but returns bad path
- [ios] Fix Xcode warnings when using deployment targets newer than 9. (thread)
- [ios] Fix various errors when min iOS versions other than 10 are selected.
- [windows] Use the 64-bit release to allow compiling larger projects (thread).
- [windows] Default to 32-bit output for Windows desktop games.
- [windows] Fix typeinfo.h error for recent MS Visual Studio update

Engine:
- [rendering] Fixed drawing position for simple physics actors with top left origin points (#1506).
- [rendering] Made camera movement smoother by not rounding layer positions (#1525).
- [rendering] Fixed gradient background center being shifted by text/image drawing blocks in previous scene.
- [rendering] Fix tilelayers being cut off when zoomed out in Flash
- [rendering] Fix font width/height blocks for default font when scaled.
- [rendering] Make scaled text respect antialiasing.
- [rendering] Fix crash when reloading screen with scale changes if an actor with no anim is present.
- [rendering] (rare case) Fix drawString on non-flash platforms when tilemap rendering is disabled.
- [rendering] Fix crash when actors are z-ordered in certain ways (#1539).
- [input] Fixed actor mouse detection when x and y scale values are different.
- [input] The "control key is down" block now also works with the command key on Mac (#1489).
- [input] Handle gamepads being added and removed at runtime more gracefully
- [input] Enable multitouch on non-mobile platforms (#1544).
- [sound] Fixed bug with sound channel event not working after pausing and resuming a sound.
- [sound] play/loop sound blocks always start a sound with default volume and pan (#1505).
- [game logic] Added log message clarifying that a transitioning scene cannot be paused (#1520).
- [game logic] Don't retain Instance Customization of actors when recycled (#1558).
- [game logix] Fix native events not being disposed when attached to actors (#1645).
- [preloader] Don't show preloader image in front of preloader bar (#1538, bug #1).
- [coding] Small change to typing of event listeners due to Haxe 4 (#1604).
- [coding] Engine setting for preserving offscreen tolerance (#1601).
- [android] Fix potential crash when gpg signin fails (thread).
- [android] Don't crash when purchases is disconnected mid-operation (#1516).

OS/Tool Compatibility:
- Fixed HTML5 and iOS compilation bug that occurred for some macOS users (thread).
- Stencyl is now bundled with Java 11 on every OS
- Windows 64-bit release now available
- Except for the win32 release, Stencyl opens with an increased default memory cap of 4GB
- Include example java parameter in linux script for hidpi displays
- Xcode 11 support
- Support for using the Desktop/Documents folders on macOS Catalina
- Stencyl dmg releases are notarized for Catalina
- Android API 29 support
- Allow JDKs other than Java 8 for Android compilation.

Third-Party Libraries:
- Update Haxe: 3.4.7 -> 4.0.2
- Update Hxcpp: 4.0.2 -> 4.0.19
- Update OpenFL: 8.7.0 -> 8.9.5
- Update Lime: 7.2.0 -> 7.6.3
- Updated hxp, polygonal-ds, hxtelemetry

6
Ask a Question / MOVED: Facebook instant games?
« on: November 12, 2018, 12:47:12 am »

7
iPhone / iPad / Android / MOVED: What is the Best Iphone Model?
« on: February 10, 2018, 01:36:15 am »

8
Ask a Question / MOVED: Unable to see Dialog Extension
« on: January 14, 2018, 02:47:21 pm »

9
Ask a Question / MOVED: iPhone X
« on: January 13, 2018, 06:31:44 pm »

11
Windows / Mac / Flash / HTML5 / MOVED: Test Game Log Files
« on: October 30, 2017, 12:13:59 pm »

12
Dialog Extension / Dialog Extension Issue Tracker (Bugs + Suggestions)
« on: April 02, 2016, 08:39:52 pm »
It's fine to post bugs and suggestions here on the Dialog Extension forum, but it would be even better to post issues on the GitHub issue tracker, because there's less chance that I'll simply lose track of them then.

https://github.com/justin-espedal/polydes/issues

Thanks.

13
Shared Resources / MOVED: Face Target
« on: March 18, 2016, 03:40:35 pm »

15
Shared Resources / Load actors from another scene
« on: December 16, 2015, 09:27:18 pm »
Load actors from another scene. Intended for loading enemy waves without switching scenes, but I'm sure it has other uses.

Code: [Select]
@:access(com.stencyl.Engine.loadActors)
@:access(com.stencyl.Engine.initActorScripts)
public static function loadActorsFromScene(sceneName:String):Void
{
var engine = Engine.engine;
var realScene = engine.scene;

engine.scene = GameModel.get().scenes.get(Script.getIDForScene(sceneName));
engine.scene.load();
engine.loadActors();
engine.initActorScripts();
engine.scene.unload();

engine.scene = realScene;
}

I'm not yet sure if anything weird happens with actor IDs or if it has other side effects.

To use it, put it in a freeform code behavior. Assuming the class name is "CreateActors", you can call it from anywhere with this line.

Code: [Select]
CreateActors.loadActorsFromScene("My Scene");

Pages: 1 2 3 4