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

Pages: 1 2 3 ... 13
Ask a Question / Getting old bezier extension to work again
« on: July 23, 2020, 01:19:36 pm »
Hi, I'd love to use an old extension that uses the Actuate library. I'm assuming that if I put the correct  actuate or motion library folder in the right folder inside the stencyl app it will work? any advice anyone?

Ask a Question / Can's see console
« on: July 15, 2020, 09:55:51 am »
I get this error each time I test my game - game runs fine, but console shows nothing beyond
Universal.initScreen (356): Scale Y: 1

This is making it hard to debug, any ideas if it's something I've got wrong in my game, or is it a Stencyl problem?

Unexpected problem on thread Thread-1221: Index 8192 out of bounds for length 8192

Throwable: java.lang.ArrayIndexOutOfBoundsException: Index 8192 out of bounds for length 8192
   at java.base/ Source)

Ask a Question / weird safari keypress getting ignored
« on: March 18, 2020, 06:02:54 am »
I have a weird issue, keypresses work at first on HTML Game on Safari, but if I leave game for a minute or two, key presses dont respond until i press 5 or six times. I've been over my code again and again and am pretty sure it's not my stency code, more of a safari issue.

The same doesn't happen when I play the game on Firefox or Chrome. Anyone come across this?

Ask a Question / Tweening collision shapes with code blocks
« on: March 05, 2020, 05:04:23 pm »
I'm trying to tween an actor using a code block, actor moves, but it's collision shape doesn't move. Does anyone know what i'm doing wrong?

Ask a Question / How do you stop box2d wobbling?
« on: February 06, 2020, 03:18:29 pm »
Hi, i've got a simple stack of boxes, physics friction set to 1, but they wobble and slide and overlap each others collision shapes as they topple over. Am I doing something wrong? is there a good guide anywhere for setting the physics values eg. mass etc for stencyl?

Ask a Question / Can you add a CSS file to an extension
« on: November 27, 2019, 02:24:27 pm »
I'm building an extension -works in  html only, and I want to include a stylesheet.
I've worked out how to include my .js file by putting it in a file named dependencies, and putting the path in the include.nmml file. I was hoping I could do something similar with a css file? Anyone know if this is possible?

Ask a Question / default.pak causing problems
« on: October 15, 2019, 05:48:08 pm »
Hi, up until recently I belive when you exproted for HTML stencyl would generate a zip file with an assets folder with all your images etc in it. Now it seems all the assets are compressed into a .pak file. This seems to be causing my client problems, my game runs fine on my server, and on local host, but the clients server gives a "content-deploy/3275//lib/default.pak?851639:1 Failed to load resource: the server responded with a status of 404 ()" response.

Anyone have any advice?

Ask a Question / My extensions have stopped working {Solved}
« on: October 07, 2019, 05:04:23 am »
I've built a couple of extensions - not ready for sharing yet as unfinished, but they worked until I downloaded the latest beta.  Has something changed that could have stopped it working?  The extension parsed JSON using

I've tried all the obvious things, but my game will no longer compile with a 'type not found' error for my extensions class name.

Ask a Question / Is there a way to apply a shader to an actor?
« on: July 22, 2019, 01:18:45 pm »
As per the title, is there a way to add a shader to an actor? Applying hue to an actor used to be pretty fast in the previous version of Stencyl, now it's unusably slow - I'm guessing it's because openFL got rid of hardware acceleration for this (that seems to be to blame for all the slow downs - like the drawing functions that are so much slower now).

I'm hoping it's possible to use the hue shader and that it's faster - but I need to be able to apply it to actors, not the whole screen.

I'm debugging my app on an Android device, and nothing appears in the game controller or the log, I've got 'view console in game controller' ticked.

When I try to compile for android, I get a " A library uses the same package as this project" error, anyone know the cause of this, or a way to correct it?

Ask a Question / issue with sounds in HTML5
« on: June 16, 2019, 06:59:19 am »
When I play a sound in HTML, it doesn't play the first time. If I refresh the browser, sound plays first time. If I clear the browser cache, again, sound doesn't play first time.  I've tried work arounds like playing sounds with volume at zero, to preload but the results are not consistent. Anyone know why this might be happening? or a work around?

Ask a Question / Multitouch in html5
« on: June 03, 2019, 02:54:53 pm »
I'm trying to get multitouch working for an HTML5 game I'm building. I've tried following Letmethink's instructions here:,46244.msg257213.html#msg257213 but with no luck. I've looked at input.hx and it looks as if multitouch should work without any changes.

Ask a Question / Any way to view a HAXE object as plain text?
« on: May 24, 2019, 10:27:36 am »
I'm working on turning json in to maps and lists, but am hitting problems - part of the problem is that if print to console an item from a map it just shows as (object object) if there was a way of the console showing what was inside the object as text it would be easyir for me to know what's going wrong. Anyone got code to show this?

Ask a Question / access control, localhost and testing problem
« on: May 23, 2019, 08:43:49 am »
I want to load an image from a URL but am finding it hard to test as  access control checks stop me testing in HTML5 or Flash. Anyone know of a workaround?

I've used a CORS extension in Chrome which theoretically will allow cross-domain, but it still blocks the download as the image is considered to be invisible by the browser.

Pages: 1 2 3 ... 13