Stencyl 2.0 - Official Release (Updated Apr 21)

Shane74340

  • Posts: 64
Congrats on the official 2.0 release! I love the events system, it's fantastic to use!

Jon

  • *
  • Posts: 17524
Morning Update

The missing iOS files for the Windows and Linux builds are now in - this was preventing anybody on Windows/Linux from working with iOS games.

zeljko46

  • Posts: 84
Morning Update

The missing iOS files for the Windows and Linux builds are now in - this was preventing anybody on Windows/Linux from working with iOS games.
What about not being able to test a game? is that fixed? should i re-download?
Play my game: http://www.kongregate.com/games/zeljko46/idle-downloader
Feedback, suggest, and if you want, offer help :)

miguelkiki

  • Posts: 8
Stencyl 2.0.0 works fine with the old starting script:

#!/bin/bash

java -Xms64m -Xmx384m -Djava.library.path=./lib -jar ./sw.jar


But, don't work's with the new script:

#!/bin/bash

./runtimes/jre-linux/bin/java -Xms64m -Xmx1024m -Djava.library.path=./lib -jar ./sw.jar



Rob

  • *
  • Posts: 1268
Morning Update

The missing iOS files for the Windows and Linux builds are now in - this was preventing anybody on Windows/Linux from working with iOS games.
What about not being able to test a game? is that fixed? should i re-download?

Before you do anything,

1. Are you on windows?
2. After you downloaded 2.0 before and when you do test game, did Stencyl ask you to convert to 2.0.
3. Can you go to your home folder and check to see if a stencylworks folder exists and what are the subfolders underneath?
4. Can you go to your home folder and see if a Stencylworks.prefs file exists. If so, please post them here.

Please post answer to these 4 questions and we can resolve your issue.
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

Rob

  • *
  • Posts: 1268
Stencyl 2.0.0 works fine with the old starting script:

#!/bin/bash

java -Xms64m -Xmx384m -Djava.library.path=./lib -jar ./sw.jar


But, don't work's with the new script:

#!/bin/bash

./runtimes/jre-linux/bin/java -Xms64m -Xmx1024m -Djava.library.path=./lib -jar ./sw.jar

When you say don't work, you mean it cannot launch. Right?

Are you on windows or linux?

If window, I think we need backslash.

If linux, it should be forward slash.

Also, if you navigate down Stencyl, you do see this file: /runtimes/jre-linux/bin/java ?
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

miguelkiki

  • Posts: 8
Operating System: Fedora 16 (Linux 64-bits)

And Yes there is the Java file.

Jon

  • *
  • Posts: 17524
Stencyl 2.0.0 works fine with the old starting script:

#!/bin/bash

java -Xms64m -Xmx384m -Djava.library.path=./lib -jar ./sw.jar


But, don't work's with the new script:

#!/bin/bash

./runtimes/jre-linux/bin/java -Xms64m -Xmx1024m -Djava.library.path=./lib -jar ./sw.jar




Is there any way you can make it work with some variation of the new script? It's really important that the bundled JRE be used, rather than the user-installed one.

For example...

../runtimes/jre-linux/bin/java -Xms64m -Xmx1024m -Djava.library.path=./lib -jar ./sw.jar
runtimes/jre-linux/bin/java -Xms64m -Xmx1024m -Djava.library.path=./lib -jar ./sw.jar

../runtimes/jre-linux/bin/java  -Djava.library.path=./lib -jar ./sw.jar
runtimes/jre-linux/bin/java -Djava.library.path=./lib -jar ./sw.jar

etc.

If nothing works, could you cd down to runtimes/jre-linux/bin/ and simply run "java" and see if that works? If not, then it's an issue where the JVM we provide isn't working on all flavors of Linux.

Rob

  • *
  • Posts: 1268
You know you need to fire up that command from stencyl folder. Right?

cd to stencyl

./runtimes/jre-linux/bin/java -Xms64m -Xmx1024m -Djava.library.path=./lib -jar ./sw.jar

or perhaps

./runtimes/jre-linux/bin/java -Djava.library.path=./lib -jar ./sw.jar

or try other combination but make sure ./runtimes/jre-linux/bin/java is used.

Make sure you start from stencyl folder.
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

zeljko46

  • Posts: 84

Before you do anything,

1. Are you on windows?
2. After you downloaded 2.0 before and when you do test game, did Stencyl ask you to convert to 2.0.
3. Can you go to your home folder and check to see if a stencylworks folder exists and what are the subfolders underneath?
4. Can you go to your home folder and see if a Stencylworks.prefs file exists. If so, please post them here.

Please post answer to these 4 questions and we can resolve your issue.
1. Yes
2. Yes, i converted the game to 2.0
3. Don't quite understand, but if home folder is 'Stencyl' folder, no, there is no stencylworks folder
4. Yes, there is a StencylWorks.prefs file, but it is empty. attached it anyways
Play my game: http://www.kongregate.com/games/zeljko46/idle-downloader
Feedback, suggest, and if you want, offer help :)

Rob

  • *
  • Posts: 1268
There should be a stencylworks folder somewhere.

1. Can you open Stencyl and look for your workspace (check under File->Preferences->Workspace)

2. Next go that location. You should see a stencylworks folder and a Stencylworks.prefs file.

3. Can you tell me the location where you find your Stencylworks.prefs file.

If you see that partiuclar prefs, please post it here.

Please look carefully.
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

miguelkiki

  • Posts: 8
When I cd down to /runtimes/jre-linux/bin/java :


Code: [Select]
[Mel@Hewlett-Packard bin]$ java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

« Last Edit: April 21, 2012, 11:49:18 am by miguelkiki »

Jon

  • *
  • Posts: 17524
OK, that looks good to me. Do any of the alternate commands (or variations thereof) I posted above work for you?

J1000

  • Posts: 24
I wasn't able to build iOS, but I recently uninstalled all Stencyls and installed the updated 2.0, now its fine!

zeljko46

  • Posts: 84
There should be a stencylworks folder somewhere.

1. Can you open Stencyl and look for your workspace (check under File->Preferences->Workspace)

2. Next go that location. You should see a stencylworks folder and a Stencylworks.prefs file.

3. Can you tell me the location where you find your Stencylworks.prefs file.

If you see that partiuclar prefs, please post it here.

Please look carefully.
i can't find 'file' anywhere. i am on windows 7. however, i found the stencyl folder in %appdata%, and it was there, a stencylworks.prefs file. i attached it.
Play my game: http://www.kongregate.com/games/zeljko46/idle-downloader
Feedback, suggest, and if you want, offer help :)