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.

Messages - doczal

Pages: 1 2
Ask a Question / Re: Does anyone know how to make an item usage event?
« on: October 05, 2015, 04:44:21 am »
Without more information about your game, it'd be difficult to give you a more specific response.

What kind of game are you making? A side-scroller? Top-down? A visual novel type game? How do you plan to detect the interaction between the player and the object? Are you using collisions?

Ask a Question / Multiple repeating backgrounds & performance
« on: October 05, 2015, 04:10:16 am »

I'm making a space shooter type game, and I have 4 background layers, layered on top of one another. The bottom most is just a single-colored static background, and on top of that I have 3 more "stars" backgrounds with different scrolling speeds each to simulate a space ship in motion in outer space.

On top of those 4 background layers I have 2 more tile layers. However, after reading Stencyl's optimization tips, it appears that using too many layers could affect performance, especially on mobile.

So my question is: Is there a better, less performance intensive way to do what I'm doing? Or is my current setup fine?

I've run into this issue before and reported it here:,44062.0.html

I don't believe they've fixed this yet...

Have you set a value to "Timer"? Is "Timer" a text attribute?

Ask a Question / Re: Question about "set offscreen bounds" block
« on: October 04, 2015, 03:34:32 am »
Thanks for the quick response. Explains why my game was acting wonky.

The info at  is a bit misleading though. The line:
The above block will set the offscreen bounds for the Actor with this Behavior as soon as the Actor is created.
makes it sound as though only actors with that particular behavior are affected.

Ask a Question / Question about "set offscreen bounds" block
« on: October 04, 2015, 03:23:55 am »
Hi guys,

Just a simple question: Does the "set offscreen bounds" block affect only the actor it is attached to, or *ALL* actors? My assumption all this time has been that it only affects the actors that have the block, but after testing today it seems to be affecting all actors in my game, even the ones without the block.

Chit-Chat / Re: Newcomer at Stencyl
« on: September 30, 2015, 01:15:38 am »
Hey man, welcome :)

I did work with GameSalad for a couple of weeks on my current project before we decided to switch to Stencyl (for similar reasons to yours). It's been quite a while since then, so my memory on how GameSalad works is a bit fuzzy. Forgive me if I'm remembering anything wrong. Both programs are similar in that they are geared towards beginners/non-programmers and both have a similar drag and drop interface with some pre-made behaviors and such.

However, from my short experience with it, GameSalad was a LOT more beginner-oriented and was less flexible for more advanced users. Its user interface and asset management/organization also left a lot to be desired IMO. I feel Stencyl has a slightly steeper learning curve than GameSalad, but is still very beginner-friendly and flexible once you're accustomed to it. I think you'll find Stencyl's user interface a lot more streamlined and easier to work with as well. Again, this is just my opinion based on ~3 weeks with GameSalad vs ~6 months with Stencyl, so it might not entirely be accurate.

Stencyl has a couple of example games (from the beginner crash course I think) and the "StencylForge" has a lot of user-made templates/examples... But I've never really used them to be honest, so I can't really tell you if they're any good.

Stencyl is by no means perfect, and I've had my fair share of problems with it. But I think if you're coming from GameSalad and are looking for a similar game making tool, Stencyl is a pretty solid upgrade. Never heard/tried out Buildbox though.

Ask a Question / Re: How does list functions work?
« on: September 29, 2015, 07:38:58 am »
1. No, they don't.
2. If your list has 3 items, i.e. List[0], List[1], List[2], Adding  a new item will add it at the 4th position, or index 3 (List[3]).

Hope this makes sense.

Any news on this?

News / Re: 3.3.2 - Build 8670 - September 9, 2015
« on: September 21, 2015, 01:51:07 am »
Managed to reproduce it. I opened a behavior, searched for a block (generating the error posted previously). Clicked ok, then tried switching to a different event and then it starts giving me an error.

I've attached the logs.

Hopefully you guys can fix all these weird bugs the latest update has introduced ASAP (including not being able to test a Windows build). I'd really like to work on my game but Stencyl is very unstable right now...

News / Re: 3.3.2 - Build 8670 - September 9, 2015
« on: September 20, 2015, 11:36:33 pm »
Not sure if it has anything to do with the bug above, but I also ran into another weird bug (but don't remember how to reproduce).

I was working on a behavior, and after some time it gave me an error whenever I tried clicking on any events (on the left side of the behavior). Basically it disabled me from switching to any other events in that behavior besides the one I was currently on. I had to close Stencyl and restart to resolve this issue.

News / Re: 3.3.2 - Build 8670 - September 9, 2015
« on: September 20, 2015, 02:54:25 am »
I also get this error every time I search for a block with the search bar:
Code: [Select]
Unexpected problem on thread AWT-EventQueue-0: null
at stencyl.sw.editors.snippet.designer.palette.CategoryListing.refreshParent(
at stencyl.sw.editors.snippet.designer.palette.CategoryListing.selectButton(
at stencyl.sw.editors.snippet.designer.palette.PaletteContainer.switchToSearchPage(
at stencyl.sw.editors.snippet.designer.palette.SearchPalette$3$
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$ Source)
at java.awt.EventQueue$ Source)
at Method)
at$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at Source)

Is doesn't do anything for me since I can simply click it away but maybe you guys can see something in it :)

Yeah I'm running into this issue too, apart from not being able to compile a Windows build. Any ideas on how to solve these issues?

Yes, I do. Prior to this latest update I was able to build for Windows.

Stuff I've tried since encountering the error:
- Deleting and reinstalling Stencyl
- Reinstalling Visual Studio (via Stencyl)
- Deleting the "games-generated" folder for my project

Nothing has worked so far. Any ideas?


After installing the latest version of Stencyl, I can no longer build for Windows (Flash and Android seem to work fine so far).  The error I get is "Encountered errors while building your game.".

I have attached my log file. Any help would be appreciated.

Fixed Bugs (3.x) / Re: Bitmap font errors
« on: September 19, 2015, 02:55:26 am »
I ran into a similar issue some time ago when trying out bitmap fonts for the first time. I can't remember the exact details of the bug, but I would import a png font image and then assign all the characters, but everything ended up glitched out when I tested the game. This was frustrating because I was trying to get bitmap fonts to work as an alternative to the basic ttf fonts that had that weird 1px vertical line issue, too.

I don't know if this is the exact same problem that you're facing, but I sort of remember what I did to solve my issue. I went into my game folder under stencylworks/games/<project name> (I think). I then went into the "resources" folder and looked for the font image file that had been generated for my game (the file name was something like "144.png" and had an associated 144.fnt file if I'm not mistaken) . Sure enough, the file was there, but the image was glitched out compared to what I had actually imported to Stencyl. So what I did was I manually replaced the corrupted image with the actual font image I wanted to use (cut and paste), but made sure to use the same file name (144.png).

Again, I can't remember 100% the details of my font bug, but I do remember having to manually locate and replace the bugged out font .png files.

Pages: 1 2