Stencyl 3.3 - 64-bit iOS, Google Purchases v3, Design Mode improvements

Hectate

  • *
  • Posts: 4643
I'll update it, thanks.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Donni11

  • *
  • Posts: 2181
I'll update it, thanks.
The Stencylpedia is sure looking good :) !
Peace

evanyeti

  • *
  • Posts: 146
Hello. I've encountered four problems since the 3.3update. One of which forces me to force close Stencyl constantly.
The main offender is this error that eventually makes Stencyl freeze. It appears usually when I am opening a scene or character or adding graphics

Unexpected problem on thread AWT-EventQueue-0: null
java.lang.ArrayIndexOutOfBoundsException

I tried downgrading to Java 6 -no dice. Updated back to Java 8.

The other errors are just gripes but maybe they can shed light on what is going wrong.
*Grid guide in scene builder is the color of selected BG color rendering it invisible.
*Tabs stay hi lighted. Example: If I switch from actor position to motion- position stays hi lighted.
*When selecting Images to use for graphics, the folder I select from is not remembered forcing me to re navigate folders to import individual frames of animation.

Hope someone can help with this. I'm currently working on two games. One I hope to have done for Stencyl Jam and the other I have been working on for two years. I'm looking forward to buying the studio kit but need to resolve at least the one problem that is making Stencyl unusable for me.

Justin

  • *
  • Posts: 4716
I may have run into the same problem, but it's difficult to say for sure with the very basic stack trace Java gave you. Try adding the following line to your vm arguments for Stencyl.

-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot

You should be able to do so by following the same procedure that you would for increasing Stencyl's memory cap.

You can also add the following line, so that even if that doesn't work, Java should give you a more helpful error to relay back to us.

-XX:-OmitStackTraceInFastThrow
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

evanyeti

  • *
  • Posts: 146
Thanks for the help Justin.  I'm not savvy enough yet to know where to place that code so I put it here as a guess


# check whether $JAVACMD is a file and executable
if [ -f "$JAVACMD" ] && [ -x "$JAVACMD" ] ; then

   exec "$JAVACMD" \
      -cp ".:sw.jar:lib.jar" \
      -Xdock:icon="${ResourcesFolder}/cog.icns" \
      -Xdock:name="Stencyl" \
      -Xms64m \
      -Xmx1536m \
      -Dapple.laf.useScreenMenuBar=true \
      -Djava.library.path=./lib \
      -jar ./sw.jar
                -XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
                -XX:-OmitStackTraceInFastThrow

I got the same error when trying to open an actor. Is the code in the wrong spot?

irock

  • *
  • Posts: 2891
It should look like this:

Code: [Select]
exec "$JAVACMD" \
-cp ".:sw.jar:lib.jar" \
-Xdock:icon="${ResourcesFolder}/cog.icns" \
-Xdock:name="Stencyl" \
-Xms64m \
-Xmx1536m \
-Dapple.laf.useScreenMenuBar=true \
-Djava.library.path=./lib \
-XX:-OmitStackTraceInFastThrow \
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot \
-jar ./sw.jar

evanyeti

  • *
  • Posts: 146
Thanks guys! Tested both games several times after correctly implementing code and no sign of that error so far. :D

captaincomic

  • *
  • Posts: 6108
That's great! The fix is now in build 8365.


Donni11

  • *
  • Posts: 2181
That's great! The fix is now in build 8365.
When is the new build coming out for non - subscribers ?
Peace

1MrPaul1

  • *
  • Posts: 1285
I posted about this problems many times, since very first S3 beta, but nothing was changed in this question.
So, this is why I placed it here it is not bug report but my vision of what features we need to have in the new builds....
Will repost it in helpdesk, hopes it will not be forgotten there...

« Last Edit: May 09, 2015, 09:15:38 am by 1MrPaul1 »

rob1221

  • *
  • Posts: 9473
You should make a new thread about those problems, and then I'll respond there.  I can't move the post myself since it's under News.

Northfield82

  • Posts: 649
Sorry, where do I put this code:

   exec "$JAVACMD" \
      -cp ".:sw.jar:lib.jar" \
      -Xdock:icon="${ResourcesFolder}/cog.icns" \
      -Xdock:name="Stencyl" \
      -Xms64m \
      -Xmx1536m \
      -Dapple.laf.useScreenMenuBar=true \
      -Djava.library.path=./lib \
      -XX:-OmitStackTraceInFastThrow \
      -XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot \
      -jar ./sw.jar

Justin

  • *
  • Posts: 4716
The instructions are in the Mac section of the StencylPedia article I linked to earlier.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

saman7977

  • Posts: 1
Is there any news from new versions ? new features ? new anythings ?