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 ... 198
1
Ask a Question / Re: Stencyl doesn't open on Mac
« on: May 26, 2022, 02:13:42 am »
If it stops opening when it previously worked, and downloading a fresh copy makes it work again, then it sounds like at some point the Stencyl install folder is being changed in some way. It's not likely to be something that Stencyl itself is doing, so it's a little difficult for me to give advice about handling that.

If you have trouble figuring out what it is that's modifying the Stencyl install folder, an easy way to work around the problem would be to just save the Stencyl download and re-extract it from the dmg or zip file every time it breaks instead of redownloading it.

2
Ask a Question / Re: How do I create an If Statement with Lists?
« on: May 26, 2022, 02:08:34 am »
That looks correct, but it depends on you setting up the list with the correct data in the first place as well.

Try looping over the list and printing each item to make sure the list contents are what you expect.

3
Ask a Question / Re: How do I create an If Statement with Lists?
« on: May 21, 2022, 12:25:49 am »
You can use the [get item # [_index_] from [_list_]] block to retrieve the value of an item in the list, and then use the <[_anything_] = [_anything_]> block to check if that's equal to the word complete.

if <[ get item # [ 0 ] from [ my list ] ] = [ complete ]>, for example.

4
Ask a Question / Re: How do I create an If Statement with Lists?
« on: May 19, 2022, 12:44:13 am »
Not sure what you mean by an item on a list being complete. Might help to expand on that.

5
Ask a Question / Re: Permanent within the Scene
« on: May 17, 2022, 02:00:54 am »
You need to use game attributes for this.

If you don't want to set up individual game attributes for something like this, you might want to consider automating it by using a Map game attribute, and coming up with some way to uniquely identify each actor that you want to track. Then you can set the unique key to true/false depending on whether the treasure has been collected.

For example, you could use scene name + actor x position + actor y position as they keys for your map. Then, as long as you don't rename the scene or move your actor, the key won't change, and when you load your game next time, the treasure will still be removed from the scene. And you can place that code in a single behavior that will work for all actors its attached to.

That's just an example. Perhaps there's a better solution for you, but it depends on how your game works.

6
Ask a Question / Re: Google Drive - Shared Drive
« on: May 17, 2022, 01:51:46 am »
I'm not sure what you mean by Stencyl putting files into different drives. If you create a shared drive folder, aren't all files created there still implicitly part of "My Drive"? Otherwise, you could just create a bunch of shared drive folders and have unlimited storage, right?

You don't tell Stencyl anything about excluding folders. You need to tell Google Drive not to backup the folders I mentioned. I know that that was possible with the old "Backup and Sync" application, but that was recently removed and replaced with Google Drive for desktop which has a different set of features. If that's not possible with Google Drive, you'll need to use a different cloud storage application that does allow you to do that.

7
Ask a Question / Re: Need help attaching 2 actors
« on: May 16, 2022, 05:46:17 pm »
You need to set the MONKEY actor attribute to an actor before you call that code. If you're not sure how to do that, posting your entire behavior may make it easier for others to help you.

8
Ask a Question / Re: Google Drive - Shared Drive
« on: May 16, 2022, 05:39:37 pm »
If you want your workspace to be saved to a cloud backup folder, there are quite a few folders within the workspace that you should exclude to save space. In fact, I would say that everything should be excluded by default. Only include the following folders, and exclude everything else.

1. engine-extensions
2. extensions
3. games
4. prefs

If you want to save even more space, don't even include engine-extensions or extensions. Just download the same extensions on each computer you use.

10
I'm not sure what you mean by "doesn't work". I fixed a bug that prevents autorotate from being disabled, but that's going to be in 4.1.0. I'm not aware of any other bugs regarding autorotate.

11
Dialog Extension / Re: Null error?
« on: February 17, 2022, 06:12:55 am »
This thread was continued over Discord.

https://discord.com/channels/209323692205932544/227870283749523459/943764381018234912

In the end, the problem was that there was a blank extension listed in the style.


12
Dialog Extension / Re: Null error?
« on: February 15, 2022, 05:39:43 pm »
Looks like you're missing the animation displayed when waiting for user input to proceed the dialog. Check under the "Flow Scripts" extension in your data structures.

13
Ask a Question / Re: Full screen on html
« on: February 15, 2022, 05:36:08 pm »
There's a problem with the generated game-config.json file. Open this file your workspace: [stencylworks]/games-generated/[game name]/Config/game-config.json. (The workspace, [stencylworks], can be found with Tools > View Folder > View Workspace Folder.)

Paste the contents here or file a new issue on the issue tracker.

14
Ask a Question / Re: Disable in-app purchases
« on: February 13, 2022, 11:25:25 pm »
Thanks. I've fixed the issue that caused that permission to appear. It's a regression that occurred when I updated purchases to use Google Play Billing Library v4.

https://github.com/Stencyl/extension-purchases/commit/f4b3ad7e16646ef6873109aaba495539040f7703

The fix is available in the latest private build (4.1.0-beta3/b10927).

15
Ask a Question / Re: Disable in-app purchases
« on: February 10, 2022, 04:13:48 pm »
Sounds like a bug. What build are you using?

Pages: 1 2 3 ... 198