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
Ask a Question / MOVED: Facebook instant games?
« on: November 12, 2018, 12:47:12 am »

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

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

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

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.


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

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]
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 = 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");

Polydes - Open Source Toolset Extensions / Batch Processing
« on: October 30, 2015, 06:12:57 am »

New extension in development. Not planning on putting too much time into it right now, but I'm taking requests. Operations that people feel would be good to have for batch processing of scenes, actors, behaviors, whatever.

Right now the video just shows a behavior being added to all the scenes in a game.

Dialog Extension / Old Design Document
« on: October 28, 2015, 03:09:16 am »
So I was looking through some old files today, and one that I was surprised to see again was a design document for a new Stencyl feature three years ago: a built-in dialog system! (attached below)

It's been over three years since plans for this feature were first formalized, and nearly two years since I actually programmed it and released it to the public as an extension (and that was adapted from code I wrote over three years ago, back when Stencyl exported games in Java). Looking at it now and comparing it to the original specification, it's surprising how many of the original ideas are still unimplemented. Nevertheless, I've made pretty significant progress in the time I've put into it over the past few years. (in the past, I had to program during breaks from school. Now I program during breaks from working on Stencyl. :P )

Base Functionality:
- Draw characters onto a message graphic and display that graphic? Check!
- Different fonts and colors? Check!

System Extensions:
- Various places to hook in to the main system? Check!
- Ability to run code when certain <tags> appear in the dialog? Check!
- Set of preferences to determine the look and functionality of the plugin? Check!
- These have been part of the Dialog Extension for years, but until the upcoming 2.0 release, have never been selectable in the UI. All users have always been stuck with the default set of plugins.

Different Dialog Styles:
- Define different styles to display dialog with? Check!
- Easy to use properties editor for styles? We're getting there! That's one of the reasons the Data Structures extension was written.

Editing Dialog in Stencyl:
- Since I never coded this into Stencyl itself, some of the ideas I had before don't make a lot of sense. Right now everything is tucked away into the Extensions section of the dashboard, but perhaps it can be better integrated with Design Mode and the Scene Designer in the future.

Other thoughts:
- This document was written at a time when Stencyl only exported to two platforms: Flash and iOS. The prospect of writing code that would work on both platforms was one of the troubling issues of the time. Thankfully, with Haxe, that's a thing of the past! And with recent changes I've implemented in Design Mode over the past year, it won't be too long before dialog plugins can be written in Design Mode, too. :)

What do you guys think? What could make this extension more useful for you? I don't always have a lot of time to work on this extension, but I'm always open to hearing ideas.

Pages: 1 2 3 4