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
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 stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:74)
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:54)
   at stencyl.sw.app.tasks.OpenResourceTask.done(OpenResourceTask.java:76)
   at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
   at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
   at javax.swing.Timer.fireActionPerformed(Timer.java:313)
   at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.IndexOutOfBoundsException: Index: 24, Size: 0
   at java.util.ArrayList.rangeCheckForAdd(ArrayList.java:661)
   at java.util.ArrayList.add(ArrayList.java:473)
   at stencyl.sw.editors.scene.layerviews.ActorLayer.addActorToLayer(ActorLayer.java:208)
   at stencyl.sw.editors.scene.layerviews.InteractiveLayerView.addActorToLayer(InteractiveLayerView.java:79)
   at stencyl.sw.editors.scene.EditorSceneModel.addActorToBuckets(EditorSceneModel.java:893)
   at stencyl.sw.editors.scene.EditorSceneModel.addActor(EditorSceneModel.java:945)
   at stencyl.sw.editors.scene.EditorSceneModel.<init>(EditorSceneModel.java:206)
   at stencyl.sw.editors.scene.Designer.<init>(Designer.java:559)
   at stencyl.sw.editors.scene.SceneMainPage.initDesigner(SceneMainPage.java:307)
   at stencyl.sw.editors.scene.SceneMainPage.<init>(SceneMainPage.java:134)
   at stencyl.sw.editors.scene.SceneTab.init(SceneTab.java:140)
   at stencyl.sw.editors.scene.SceneTab.<init>(SceneTab.java:122)
   at stencyl.sw.app.doc.Workspace.fetchEditorForResource(Workspace.java:832)
   at stencyl.sw.app.doc.Workspace.finishOpenResource(Workspace.java:679)
   at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:67)
   at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:20)
   at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at javax.swing.SwingWorker.run(SwingWorker.java:334)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)

2
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...

3
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.

4
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.

5
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.

6
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

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

8
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.

9
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?

10
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.

11
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?
Technology.

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