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

Pages: 1
Ask a Question / Java Error?
« on: October 28, 2019, 07:22:43 pm »
Getting this error message a lot (complete log attached). I can fix this usually by deleting the offending scene, but deleting and remaking scenes is annoying.

ERROR [AWT-EventQueue-0] root: Unexpected problem on thread AWT-EventQueue-0: java.lang.IndexOutOfBoundsException: Index: 24, Size: 0
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 24, Size: 0
   at javax.swing.SwingWorker$
   at javax.swing.SwingWorker$
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(
   at javax.swing.Timer.fireActionPerformed(
   at javax.swing.Timer$
   at java.awt.event.InvocationEvent.dispatch(
   at java.awt.EventQueue.dispatchEventImpl(
   at java.awt.EventQueue.access$500(
   at java.awt.EventQueue$
   at java.awt.EventQueue$
   at Method)
   at java.awt.EventQueue.dispatchEvent(
   at java.awt.EventDispatchThread.pumpOneEventForFilters(
   at java.awt.EventDispatchThread.pumpEventsForFilter(
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(
   at java.awt.EventDispatchThread.pumpEvents(
   at java.awt.EventDispatchThread.pumpEvents(
Caused by: java.lang.IndexOutOfBoundsException: Index: 24, Size: 0
   at java.util.ArrayList.rangeCheckForAdd(
   at java.util.ArrayList.add(
   at stencyl.sw.editors.scene.layerviews.ActorLayer.addActorToLayer(
   at stencyl.sw.editors.scene.layerviews.InteractiveLayerView.addActorToLayer(
   at stencyl.sw.editors.scene.EditorSceneModel.addActorToBuckets(
   at stencyl.sw.editors.scene.EditorSceneModel.addActor(
   at stencyl.sw.editors.scene.EditorSceneModel.<init>(
   at stencyl.sw.editors.scene.Designer.<init>(
   at stencyl.sw.editors.scene.SceneMainPage.initDesigner(
   at stencyl.sw.editors.scene.SceneMainPage.<init>(
   at stencyl.sw.editors.scene.SceneTab.init(
   at stencyl.sw.editors.scene.SceneTab.<init>(
   at javax.swing.SwingWorker$
   at java.util.concurrent.ThreadPoolExecutor.runWorker(
   at java.util.concurrent.ThreadPoolExecutor$

I have a hunch as to what's up, but do you have logs generated you can post?

Are we going to see 3.4 work on OSX any time soon? It has only been 8 months or so...

Resolved Questions / Re: Countdown Conundrum
« on: March 06, 2016, 03:19:08 pm »
Here is the result of the exact same piece of code in two different platformer games. Both have "Hidden" ticked. I can't account for the difference.

Resolved Questions / Re: Countdown Conundrum
« on: March 06, 2016, 02:12:55 pm »
Have you accidentally ticked hidden?

I've ticked "hidden" on purpose as it is not meant to be a player configurable attribute.. Unticking it doesn't solve the problem.

Resolved Questions / Countdown Conundrum [SOLVED]
« on: March 06, 2016, 01:26:14 pm »
Hi all,

went to create a basic timer in a simple platformer today and found that Stencyl tells me that my Countdown attribute "contains nothing to configure" when it should have a box to put a number of seconds in.

I can set the countdown in the "Default Value" window when looking at the attribute on the palette, but was wondering why I couldn't when looking at the scene.

The code works fine ie. the countdown works.

Any suggestions would be welcome for this head scratcher.

Resolved Questions / Re: Behavior Conflict [SOLVED]
« on: September 17, 2015, 01:28:28 pm »
Thank you for the prompt response. This has solved the issue neatly.

Cheers!  :D

Resolved Questions / Behavior Conflict [SOLVED]
« on: September 16, 2015, 06:24:58 pm »
Hi all,

if been left scratching my head over a problem. In my test platformer game that I try things out in, I added the following behaviors to a scene:

Door Management - deals with block that disappear to grant access to areas of the game
Drop Actors Randomly - drops random statues on the player
Pause Management - pauses the game
Score Management - controls the scoring mechanics
Sound Management - controls all the sound FX and music

I then added a 6th, "Hearts Management" which would put a hearts meter on the screen and cause it to change based on damage the player took. However, while the first five behaviors would work fine, the 6th wouldn't. After trying the "Hearts Management" code out by itself in another game where it worked perfectly, I tried some experimenting and I've found I can only get the "Hearts Management" behavior to work correctly if I deactivate the "Drop Actors Randomly", "Pause Management" and "Sound Management" behaviors.

Any suggestions on why I'm hitting this snag and possible work-arounds?

Teaching with Stencyl / Re: (OSX) Running Stencyl with a school server
« on: March 21, 2015, 07:35:16 pm »
Thanks. I'll pass the suggestion onto our IT guy and see what he can do.

Teaching with Stencyl / Re: (OSX) Running Stencyl with a school server
« on: March 20, 2015, 04:20:34 pm »
While the students of the host school do, those from visiting schools (we have several through ours doors each week for specialised Technology instruction) do not.

The students the next year down are currently using Sweet Home 3D as part of their Tech course. With that software, the programme is able to save the file to the server and when run the students can easily open the file from the server.

Stencyl seems to need to display all the available games on the 'splash screen' upon loading, which is where the loading time issues occur. Is there any way to have that screen empty and have the students then load up a game from the server?

Teaching with Stencyl / (OSX) Running Stencyl with a school server
« on: March 20, 2015, 12:52:02 am »
Myself and the school technician in charge of all the IT services are struggling with how to make Stencyl useable from any terminal by the students. At the moment a student has to use the same terminal each time rather than simply picking one that is free.

We tried creating a Stencylworks folder on the server for all the students' game files which sort of worked in that all the games were available at any terminal. Sadly, this meant that Stencyl would take upwards of 30 minutes to load, making this impractical.

So, I'm on here looking for suggestions on how to make this work.

Teaching with Stencyl / Re: Are you an educator? Introduce Yourself!
« on: March 20, 2015, 12:48:55 am »
Where are you from?
New Zealand.

What school or institution do you work for?
A local Primary School (Ages 5-12).

What do you teach?

How did you find out about us?
Surfing the web for ideas.

If applicable, tell us a bit about how you've used Stencyl in the classroom.
I'm running a programme for the first time this year taking the students through an 8 session series that is designed to leave them with a basic platformer game they can take home and improve on should they wish.

Pages: 1