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 6 ... 202
46
Ask a Question / Re: Simulating a key press not quite working
« on: June 21, 2022, 05:34:51 am »
Probably due to the order that things happen.

If the updating event in your jump code happens first, it'll look like this.

Code: [Select]
- Jump Code:
  - when updating
    - if up was pressed (is false)
- On Screen Button Code:
  - when the mouse is pressed on self
    - simulate key press using up (if up was pressed would return true only if it happened after this)

This is the problem with using simulated presses. Sometimes you end up missing them because the press isn't simulated until after you've checked for the key press. You could try simulating the key press in a scene behavior or event, since those get updated before actor behaviors/events.

47
Ask a Question / Re: Get Pixel?
« on: June 17, 2022, 09:44:58 pm »

48
Ask a Question / Re: Help Installing Java - Error log attached
« on: June 17, 2022, 09:07:51 pm »
It doesn't understand the four-part Java version (18.0.1.1). That's a bug in Stencyl, not something wrong you did.

However, for the version of Stencyl that you're using, Java 18 is too new. You'll need an older version of Java for the Android/HTML5 targets. Try Java 11.

https://adoptium.net/temurin/releases?version=11

49
Ask a Question / Re: O Stencyl não está abaixando!
« on: June 15, 2022, 05:53:59 pm »
Ok, sounds like things worked out for you. Good to hear!

50
Ask a Question / Re: Error while building game - Stencyl version 4.04
« on: June 14, 2022, 06:39:32 pm »
Perhaps you can try running Process Monitor from Sysinternals Suite to try to see if any problems jump out in the logs.

Here's a guide that walks through debugging an issue. https://www.maketecheasier.com/ebug-windows-application-errors-process-monitor/

In your case, you would want to open Process Monitor and filter for events involving "haxelib.exe". Then open Stencyl and try testing a game. If you see any errors involving haxelib in the results, feel free to share the Process Monitor logs with me.

51
Ask a Question / Re: O Stencyl não está abaixando!
« on: June 14, 2022, 06:08:03 pm »
What link are you trying to download Stencyl from? The links on the home page work for me.

https://www.stencyl.com/download/

If those downloads are failing, could you provide your network request data from your browser for when you attempt to download Stencyl? Here's a guide that shows how.

52
Ask a Question / Re: Error while building game - Stencyl version 4.04
« on: June 14, 2022, 03:21:03 am »
Quote
Edit : The hard drive I'm using has a 64 bit version of windows 7 while it should be 32 bit. Would this have something to do with it ?

It's not possible to install 64-bit Windows onto a 32-bit machine, so I'm not sure what you mean by this.

Since you have a 64-bit Windows OS, you could try running the 64-bit version of Stencyl, though I don't particularly expect that to change anything.

53
Looks like the file is being served over http instead of https, so some browsers may block the download (since the Stencyl forums are served over https). You can copy the download link and paste it into a new tab, or use a download manager to get the file.

54
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.

55
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.

56
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.

57
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.

58
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.

59
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.

60
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.

Pages: 1 2 3 4 5 6 ... 202