Stencyl 3.0 supports user-built extensions to the engine. Read our Simple Physics guide for details In order to support a broader array of games that don’t require physics, Stencyl 3.0 introduces a “simple physics” mode that provides enhanced performance and box-only collisions as an alternative to Box2D physics. If you’re a programmer and are interested in coding in Haxe, read the transition guide for details. It converts to Flash, C++ and JavaScript, enabling native apps for all major targets. Haxe is similar in syntax to ActionScript and JavaScript. Stencyl had adopted Haxe as its official programming language. Stencyl has officially gone cross-platform and now supports 5 commercially important platforms including iOS, Android, Mac, Windows and Flash. Everything below covers the changes between 1.x/2.x and Stencyl 3.0. Note: Our coverage of the upgrade process ends here. If you get stuck at any time in the upgrade process, please post on the forums and provide logs. This isn't the extent of what you may have to do, but it is a list of the most common pitfalls in the process. When working with the “Collision Group for colliding shape” block, be sure to compare groups directly, rather than comparing the textual name of the Group, which can lead to bugs and crashes. Stencyl converts these blocks to the new form, but it helps to double-check that that's the case if something seems off. For example, Single-Touch blocks are now deprecated in favor of using our regular mouse blocks. Some blocks have changed or have been removed. Since Pre-Shipped Behaviors are *copied* to a project upon use, you have to manually remove them from the game and reattach them to the desired Actors and Scenes. If you used any Pre-Shipped Behaviors, we recommend updating all of them. The Sound Editor now includes a second import field that accepts OGG. If you don't know how to code, you'll either have to seek help on the forums or drop the behavior in question.īuilding for mobile or desktop? Import OGG copies of your sound.ĭue to the technology change, Stencyl now requires OGG format sounds for all non-Flash games. If your project includes code, you'll have to port it from AS3 to Haxe. Likewise, if you used any Flixel-specific classes (references to FlxG for example), you'll need to figure out what to do on your own. This will remove legacy output that can sometimes trip up Stencyl.ĭoes your project include ActionScript code? Select Run > Clean Project from the main menu before running your game in 3.0 for the first time. See this article on how to deal with this. The following is a checklist of things to consider when bringing your 2.x based game to 3.0.įAQ: My game never runs and shows "Compiling" forever. ![]() Grab the new ones from here.ġ) Recommended - Back up your game first.īeyond that, you may run into some issues when attempting to run the game for the first time in 3.0. Note: All sample games that we shipped with 2.0 are incompatible with 3.0. This may not be as convenient as our prior patch-based solution, but it makes it significantly easier for us to deliver automated, regular, timely updates and in the long run, is a win-win for all. ![]() The simplest way is to ZIP up your games folder.Īfter upgrading to Stencyl 3.0, upgrading involves redownloading the app in full each time. For best results, do the following.īack up your existing games. ![]() To upgrade to Stencyl 3.0 and beyond, you must download it in full from our site. Stencyl 3.0 is more than going cross-platform, though, it introduces a bevy of improvements to mobile, web and desktop publishing as well as some changes for existing developers to note. Stencyl 3.0 brings Stencyl fully into the modern landscape of cross-platform game creation, through the support of every major platform, including iOS, Android, Flash, Windows, Mac and Linux. We'll be taking this article down in the future. Note: Stencyl 3.4 (and now, even later versions) is now the current version of Stencyl.
0 Comments
Leave a Reply. |