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

Pages: 1 2
1
Fixed Bugs (3.x) / Re: Newest build search error -HELP
« on: December 20, 2014, 06:02:05 am »
I've just installed build 8011 and also get very similar error when I type anything into search (making it unusable):

Unexpected problem on thread AWT-EventQueue-0: java.lang.ClassCastException: stencyl.core.engine.actor.ActorGroup cannot be cast to java.lang.String
java.lang.RuntimeException: java.lang.ClassCastException: stencyl.core.engine.actor.ActorGroup cannot be cast to java.lang.String
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:72)
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:52)
   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:312)
   at javax.swing.Timer$DoPostEvent.run(Timer.java:244)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassCastException: stencyl.core.engine.actor.ActorGroup cannot be cast to java.lang.String
   at stencyl.sw.editors.snippet.designer.Definition.parseForSearch(Definition.java:634)
   at stencyl.sw.editors.snippet.designer.Palette.matchBlock(Palette.java:2901)
   at stencyl.sw.editors.snippet.designer.Palette.createSearchResults(Palette.java:2881)
   at stencyl.sw.editors.snippet.designer.SubPaletteContainer.createSearchResults(SubPaletteContainer.java:189)
   at stencyl.sw.editors.snippet.designer.SearchPalette$3.doInBackground(SearchPalette.java:122)
   at stencyl.sw.editors.snippet.designer.SearchPalette$3.doInBackground(SearchPalette.java:106)
   at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at javax.swing.SwingWorker.run(SwingWorker.java:335)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745

2
All the information you want is in the Stencyl Help screens on this website.

Custom events: http://www.stencyl.com/help/viewArticle/148/
Game attributes: http://www.stencyl.com/help/view/game-attributes/

I think it would be quicker for you to always look there first before posting questions here, and also you will learn more yourself.

3
Ask a Question / Re: Problems in switching scenes
« on: August 27, 2014, 01:08:23 pm »
Are you saving the position of the character before you switch to LuzonL1? You need to do this and then when you switch back to scLuzon move the character to the saved position. If you do not do this then by default scLuzon scene will just load as if from new so the character will appear in the same place as the first time you loaded the scLuzon scene.

Does that help? I might have not understood the problem you are trying to fix. Apologies if I am answering the wrong question!  :)

4
Why not just switch to a different actor, with identical animation and other properties but in a different group?

5
Windows / Mac / Flash / HTML5 / Re: Need help with my game!
« on: August 27, 2014, 11:24:26 am »
That last message just looks you have a file missing:

[ERR] java.io.FileNotFoundException: C:\Documents and Settings\Kids HP\Application Data\Stencyl\stencylworks\games\Crazed Speeds Adventure 1\resources\6@1.5x.png (The system cannot find the file specified)

Does file 6@1.5x.png exist in: C:\Documents and Settings\Kids HP\Application Data\Stencyl\stencylworks\games\Crazed Speeds Adventure 1\resources
?

If not then it must be one you have previously imported so try to work out which one it is then copy it to that folder and rename to 6@1.5x.png then try again.

I think I had a problem like this a while ago but not sure what caused it.

There are two other errors near the top:

[ERR] Could not delete file: C:\Documents and Settings\Kids HP\Application Data\Stencyl\stencylworks\games-generated\Crazed Speeds Adventure 1\Export\iPhone\build
[ERR] Could not delete file: C:\Documents and Settings\Kids HP\Application Data\Stencyl\stencylworks\games-generated\Crazed Speeds Adventure 1\Export\cpp\windows\bin


...but they are where it's trying to delete stuff from the generated area so maybe they will disappear  when you fix the other problem!

6
Ask a Question / Re: Can't get item list!!
« on: August 23, 2014, 02:29:16 pm »
Excellent! Good luck with the game!  :D

7
Ask a Question / Re: Can't get item list!!
« on: August 23, 2014, 11:12:30 am »
Are you using a game attribute for your list? I have used a normal attribute list  (I mean not a game attribute) and it is possible to add actors to that - there is no limitation about only numbers or text for this type of attribute.

8
There's a lot of code in there that looks unnecessary. Twice you are checking:
- if a is down and then setting the animation
- if d is down and then setting the animation
- if fuel is greater than 100 then setting to 100
I can't see why you need to do any of those things more than once in each when updating cycle.

Also, on the fuel, when thrust is false then 40 times a second you are adding 100 to fuel, thus pushing it over 100, then in the when updating you're immediately setting it back to 100.

I  don't know if any of the above would cause lagging but they're making your game constantly do unnecessary work.

9
Ask a Question / Re: Sliding isn't functioning correctly
« on: August 22, 2014, 02:36:21 pm »
It's because you're doing your timed stuff inside a 'When Updating' block.

Instead of doing that use 'Every N seconds'. It works fine when you do it that way.

10
Ask a Question / Re: Set attributes for specific actors ?
« on: June 28, 2014, 09:22:56 am »
You could set up an actor behaviour containing the properties you want (not hidden) and add that behaviour to your elevator actor.

Then on the scene:
- click one of the elevators
- select 'Inspector'
- tick 'Customise'
- click '+' to add the behaviour you created (above)

You will see the properties of that behaviour and can set them there for that elevator. Click on another elevator and set different values for the properties of that one.

That way you can have only one elevator actor with each instance of it on the scene having different properties.

http://www.stencyl.com/help/view/customizing-actors/

11
Abandoned Bugs / Re: Can't test&publish - Infinite Compiling...
« on: January 04, 2014, 12:10:10 pm »
Shot in the dark...did you do a 'Clean Project' after importing? May fix it.

12
Ask a Question / Re: Show/hide group of actors
« on: November 26, 2013, 08:40:20 am »
You could just create a new group and put all the actors you want to show/hide into it. Then you can just loop through the group:

http://static.stencyl.com/pedia2/blocks/scene/actors/GetActorsinGroup.html

13
Ask a Question / Re: How do I make the scene scroll it's self?
« on: November 19, 2013, 08:30:02 am »
The simplest way is to set the horizontal scroll speed on the background to a non-zero value. It's not controllable though within the game in the way an invisible actor with camera follow would be.

14
Ah okay. I'm on 3.0. Did wonder if it might be that. Thanks for the quick reply.

15
Hi Tuo,

When I search StencylForge for Demo- I only get 'Demo- Jigsaw Puzzle'

- are all the others still in there? If so can you tell me where I'm going wrong with my search?  :-\

Pages: 1 2