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

Pages: 1 2 3 ... 9
1
Ask a Question / Move a specific actor
« on: April 16, 2024, 07:07:08 pm »
When clicking on one actor, I want to move another specific actor that may or may not be the last created actor and has definitely not been collided with. Is there some reason we're not allowed to select which actor to act on but may only act on the Last Created, Last Collided, or Self? Like can someone explain why Choose Actor is not an option?

How do I move a specifically chosen actor that's not last created nor last collided with?

Thanks for any help!

2
Ask a Question / Re: Trying to fade my logo in but I got an error
« on: April 16, 2024, 04:37:25 pm »
Answering myself! I didn't know you had to set the actor's initial opacity to 0%! Did that and it works perfectly!

3
Ask a Question / Re: Trying to fade my logo in but I got an error
« on: April 16, 2024, 04:19:59 pm »
Solved the error but now I can't get the logo to fade in. I made it into an Actor and can fade it out but fading it in isn't working.I've tried Scene Event > When Created > Create Actor >Fade in Last created actor and I've tried placing the actor already in the scene and then fading that in.

What's the best way to fade this in, then out?

4
Ask a Question / Re: Trying to fade my logo in but I got an error
« on: April 16, 2024, 03:52:51 pm »
I'm a derp. Thanks so much! That fixed it. Rogue code I deleted.

5
Ask a Question / Re: Trying to fade my logo in but I got an error
« on: April 16, 2024, 01:03:15 pm »
No, there's a Scene selected in the "Switch to" block called "Choose Pod Type".

6
Ask a Question / Trying to fade my logo in but I got an error
« on: April 16, 2024, 09:36:49 am »
I'm sure I'm doing this wrong, so can someone help me understand my mistake? I'm trying to create a loading screen (scene) that fades my logo in, then out in a switch to the scene where my actual app code is.

7
Ask a Question / Can we save and retrieve data to/from local JSON files?
« on: February 03, 2023, 03:00:33 am »
I'm quite versed in JSON files thanks to some other coding language and I'd love to use it in Stencyl to save and retrieve data related to my Stencyl app. Is it possible, and how would I do that? I did a search and most topics related to this were from 2015. I wanted to know if there were any updated ways to achieve this.

8
Ask a Question / Why was text decided to be treated as art assets?
« on: November 11, 2021, 10:58:14 pm »
Can anyone on dev or who may know, explain why text was chosen to be treated as art assets? I know the 'Pedia says it's to make loading text faster or more consistent but that doesn't sit right with me. I'm trying to decide what size text I want on screen for my intended purpose and I'm having to go in and edit and re-edit the font size inside the font directly. It's nuts, honestly. Like the Stencyl devs are trying to actively discourage us from using too much text in our finished works. WHY?!

Stencyl, Y U do dis?

9
Ask a Question / Re: How to register single click to cause code to run?
« on: November 09, 2021, 03:25:48 am »
But I also need the number to permanently display to the left of the +1 actor button. What then?

10
Ask a Question / How to register single click to cause code to run?
« on: November 09, 2021, 01:43:42 am »
The below code is on a When Drawing event.

I'm trying to make it so when you click my +1 actor button, it runs the code (Checks to see if capsules exists and if not, sets capsules to 1. Otherwise if capsules exists, set capsules to current-value-of-capsules +1.) When I set it to Mouse Was Pressed On Self, nothing happens. The number doesn't show at all. If I set it to Mouse Is Down On, the number shows and runs up the count for as long as I click and hold the actor. I just need to register a single click to cause a single +1 to be added to the value of capsules. What am I doing wrong?

11
Ask a Question / Re: Drawing Text - How to specify when to draw?
« on: October 31, 2021, 10:24:51 pm »
Thanks for your reply. I'll do my best with it. I appreciate the time and effort you spent. :)

12
Ask a Question / Re: Drawing Text - How to specify when to draw?
« on: October 31, 2021, 07:20:38 am »
I really appreciate your information and I watched the video but it went by so quickly that I wasn't really able to pick up on it.

I don't understand the custom attribute you had to build to trigger the When Drawing block. And what if I want multiple When Drawing blocks that have different text? How do I make sure to call only the one I need for the input method or actor state that I'm using?

I'm trying to make it so that when you click on an actor designed as a button, it causes text to appear next to the button, like a counter. Every time you click the button, +1 is added to a displayed number nearby. If the number is empty or 0, make a 1. If there's already a number there, take that number and add +1 to it and display the result in that spot.

13
I want to create buttons than can be any length/width. They would have the beginning or leftmost part of the button or beginning cap, a middle that can be repeated to create the length/width, then the rightmost part of the button as an end cap. Is that currently possible and if so, how would I do that?

Like: (| and = and |) to make (|========|).

14
Ask a Question / Drawing Text - How to specify when to draw?
« on: October 30, 2021, 02:59:27 am »
I don't understand the "When drawing" feature whatsoever. How do I cause text to appear when my game loads or when I click on an actor? "When drawing" can't be called inside of a "When created" block and that makes no sense and feels dumb. How do I do this? I spent an hour scouring the Stencylpedia and anything else I could find, so I definitely made an effort to learn this by myself but I simply can't.

Please help? If you want to know what I'm trying to achieve, I want to save and load my game progress, and when the game is first opened and the saved data is loaded, I want to pop up a success message if it succeeds or an error message if it fails. How do I do that?

15
Extensions / Re: Attribute Saving [Extension]
« on: August 18, 2020, 11:06:45 pm »
I'm trying to learn how to use this extension. I want that on game start-up, when my actor is created, it checks first to see if an attribute exists or not. If it does, then load the data from that attribute. If it doesn't exist, show a 0. How would I achieve this?

Pages: 1 2 3 ... 9