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 - captaincomic

Pages: 1 2 3 4 5
16
Ask a Question / MOVED: I'm looking for a tutor $10/hr
« on: April 03, 2015, 01:35:20 am »

17
Paid Work / MOVED: Motions extentions
« on: March 02, 2015, 11:03:08 am »

19
Suggestion Archives / MOVED: Sencyl...
« on: January 09, 2015, 08:45:53 am »

24
Old Bugs (3.x) / Please bump your unresolved bugs
« on: December 16, 2014, 01:21:29 pm »
This section is for bugs encountered with earlier releases of Stencyl 3.x.

Please do not report new bugs here, but if you still have the same problem with the latest version, bump the bug report or create a new topic with a link to the old one. Thanks!

25
Resolved Questions / MOVED: Boolean game attributes problem
« on: November 10, 2014, 09:52:05 am »

26
Shared Resources / MOVED: Folders for events
« on: November 06, 2014, 01:53:16 am »

27
Extensions / HUD Console
« on: September 30, 2014, 04:17:14 am »
HUD Console Extension
If you miss the good ol' Flixel console, or just want a quick way to view your game logs, this extension is for you.



This extension also includes blocks to set up data fields, measure execution time, and the console can be extended with custom commands.

Download this Extension (v1.3). Requires Stencyl 3.3+.
For instructions see How to Install and Update an Extension.

Credits
The Console class was written by Fernando Medina. See his blog post for the original version. For this extension, I just updated the class to haxe 3 and added the blocks.


Usage Notes
Please note that when you use this console, all output will be redirected to it and won't show up in the regular log viewer anymore.

create console
Use the "create console" block in "when created" in the first scene of your game. Then, when testing the game, you can hit Ctrl+1 to toggle the console.  Alternatively, you can use the "show console" and "hide console" blocks. To write the the console use the "print" block as usual.

set data field ( name: ___ value: ___ )
You can use this block to create and update a data field to monitor a value in your game. The data fields are printed on top of the console. (Note that the field is not automatically updated if the value of an attribute changes. It is only updated when you use this block.)
 
measure time ( name: ___ )
You can measure the execution time of your code with this block. Use the block once before the code you want to measure and once after, with the same name. The results are displayed in milliseconds in a data field with the given name on the top of the console.

add command ___ — arguments
If you feel like experimenting, you can extend the functionality of the console by adding your own commands. In version 1.1+ of this extension, this is an wrapper block. Just specify the name of the command, and when you enter it on the console it will execute the blocks in the wrapper. If you enter the command followed by some text, this text will be accessible through the "arguments" block.

show console
hide console
Show/hide the console.

Version History
1.0: Initial version
1.1: Make "add command" block a wrapper block. Version 1.1 requires Stencyl 3.2.
1.2: Update nme -> openfl
1.3: Add show and hide blocks. Version 1.3 requires Stencyl 3.3.

28
Windows / Mac / Flash / HTML5 / MOVED: Tiles
« on: August 31, 2014, 01:18:47 am »

29
Resolved Questions / MOVED: Multi-touch
« on: August 27, 2014, 12:09:00 am »

30
Bundled Behaviors / MOVED: Design Mode Behaviors
« on: August 25, 2014, 12:05:32 pm »

Pages: 1 2 3 4 5