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
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: cannot be cast to java.lang.String
java.lang.RuntimeException: java.lang.ClassCastException: cannot be cast to java.lang.String
   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$200(
   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.ClassCastException: cannot be cast to java.lang.String
   at stencyl.sw.editors.snippet.designer.Definition.parseForSearch(
   at stencyl.sw.editors.snippet.designer.Palette.matchBlock(
   at stencyl.sw.editors.snippet.designer.Palette.createSearchResults(
   at stencyl.sw.editors.snippet.designer.SubPaletteContainer.createSearchResults(
   at stencyl.sw.editors.snippet.designer.SearchPalette$3.doInBackground(
   at stencyl.sw.editors.snippet.designer.SearchPalette$3.doInBackground(
   at javax.swing.SwingWorker$
   at java.util.concurrent.ThreadPoolExecutor.runWorker(
   at java.util.concurrent.ThreadPoolExecutor$

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

Custom events:
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.

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!  :)

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

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] 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!

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

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.

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.

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.

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.

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.

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:

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.

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

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