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

Pages: 1 2 3 4 5 ... 190
31
Ask a Question / Re: Error #1009
« on: February 15, 2020, 01:58:48 am »
Your "player" actor attribute hasn't been set.

32
Ask a Question / Re: cant find the path of jdk
« on: February 14, 2020, 07:04:27 pm »
Are you sure that's a JDK, and not a JRE? Stencyl will run file and allow you to test HTML5 games with just a JRE, but you need the JDK to actually publish the game.

You can grab a JDK from this site and install it.

https://adoptopenjdk.net/releases.html

33
It's independent. The amount specified in the .bat file is only the amount available for the IDE.

34
Okay, I went ahead and tried this out.

- Installed Linux Mint
- Ran suggested updates by the OS
- Downloaded and opened Stencyl (extract .tar.gz, double-click the "Stencyl" file, select "Run")

At this point, I was able to test both Flash and HTML5 games in Stencyl. Perhaps this is enough for your use of Stencyl in the classroom. If it is, you don't need to do anything more. If you want to unlock more of the targets, you'll need to install some components through the terminal.

To test on Native Linux, Cppia, and Android, you need to install the c++ development packages, same as written in the guide.

Code: [Select]
sudo apt-get install g++ libgc-dev libxext-dev
To publish HTML5 games, and to test on Android, you also need the JDK. I followed the first link I sent you step by step, and it worked fine, so you can probably ignore the second link I posted.

(Note: You can pick whatever version of the jdk you want. 8, 11, and 13 should all work fine.)

Code: [Select]
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
sudo apt-get update
sudo apt-get install adoptopenjdk-11-hotspot

Set the path to the JDK at File > Preferences > Tools > JDK to the following:
Code: [Select]
/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64
You can probably ignore all of the 32-bit support packages the guide mentioned. That is, everything in steps 2 and 3.

35
Try installing AdoptOpenJDKs distribution instead of Oracle's.

If their guide doesn't work, this blog post may be helpful.


I can take a look at the setup guide, but it'll take some time before I can get to it.

36
Ask a Question / Re: HELP!!! PLEASE LOL
« on: February 10, 2020, 02:41:58 am »
See the replies here.

http://community.stencyl.com/index.php/topic,59888.0.html

This hasn't been fixed in the latest private builds yet. It will be within a day or so. The changes are simple enough to make manually that I'd recommend doing so rather than waiting.

37
Ask a Question / Re: Running / Testing game on Mac OSX Catalina
« on: February 02, 2020, 05:55:47 pm »
I don't believe we have any obvious documentation about opening Stencyl on macOS. There's no requirement for Stencyl to exist inside the Applications folder at all (I know that many of our users prefer to just have it on their Desktop). I'm aware that this isn't quite like how most macOS apps work, so perhaps we ought to have a "how to install" guide like we do for Linux.

We do have a .pkg installer, which we put together when an educator requested it, and can link to it (for education subscribers) upon request. Perhaps more people would be interested in that than I had considered, and should be available as a standard option.

Quote
I understand that you can't necessarily sign the third party packages, but perhaps creating a script or at least instructions that would allow the user to authorize them would be helpful.
Yes, we'll at least do something like this, if there isn't a better solution. The problem was that I wasn't previously sure that something like that would work, since I hadn't received any feedback about it before.

Thank you for your feedback!

38
Ask a Question / Re: Running / Testing game on Mac OSX Catalina
« on: January 31, 2020, 07:55:02 pm »
The mac app is structured the way it is because it would be much more expensive for us to distribute everything within the .app, and it (usually) works well enough the way it is. We do run into various roadbumps almost every time macOS gets an update (thank, Apple!!), but we usually manage to fix everything and make it a smooth experience again.

By the way, small nitpick, but the main app, "Stencyl.app" is signed and notarized.

We had mostly fixed up everything related to Catalina, but this was one remaining issue that I couldn't wrap my head around. Other users had asked about this in the past, but I never ran into this issue myself so I couldn't be sure about the solution. I had guessed that littlefrogvideo's solution might work, and suggested that to the other users, but never got any replies indicating that it worked.

Apart from the issue with haxelib not running (which I can try to improve now that I know the answer), what other points about installing Stencyl are woefully inadequate?

39
Ask a Question / Re: Failed to compile to Windows after Updating to 4.2
« on: January 09, 2020, 08:44:30 pm »
Did you install Stencyl over a previous install? Perhaps try uninstalling Stencyl and installing it again, or just install it to a different location on your computer.

40
Ask a Question / Re: Failed to compile to Windows after Updating to 4.2
« on: January 09, 2020, 05:47:53 pm »
Try cleaning your project and compiling again. Tools > Game > Clean Project.

41
You can drag the folder inside the DMG anywhere you want, including into Applications, and then run it from there. Don't try to run Stencyl from inside the mounted DMG.

42
Ask a Question / Re: Confused. How do I add an image?
« on: December 26, 2019, 10:07:25 pm »
In a "when created" event, try something like this.
Code: [Select]
set imageAttribute to [image from file [CorrectNixon.png]]
set imageInstanceAttribute to [instance of [imageAttribute]]
attach imageInstanceAttribute to screen at x, y

Images are different from drawing. Drawing happens every frame, but images are created whenever you want, and then attached to the screen. They're more similar to Actors.

43
Ask a Question / Re: Confused. How do I add an image?
« on: December 26, 2019, 06:36:51 pm »
In the "image from file" block, you're supposed to type in the name of the image in the extras folder.

44
Does your Stencyl install have a folder at "plaf\neko-win32"?

45
Dialog Extension / Re: Dialog Extension with 4.0.2
« on: December 20, 2019, 03:03:10 pm »
Did you try running the sample project first?

http://polydes.com/3.4.0-extensions/sample-games/dialog-extension-sample.stencyl

If that works, then it's just a problem with how it's configured in your game. You can copy the settings from the sample project over to the new game to get a headstart (see the "Optional Step" section in the getting started guide).

Pages: 1 2 3 4 5 ... 190