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

Pages: 1 2 3
Ask a Question / Re: Alternating animations based on time.
« on: June 20, 2020, 07:41:07 am »
Hey there, I don't exactly understand your problem.  If the animation changes when your player is close you can use the positions of both actors. If it is time based, a "every x seconds" inside of a "when created" could do the trick. For a specific event occuring, you could use a boolean. If these don't work then could you try to explain your problem a bit more?

Ask a Question / Re: Coin doesn't show when restarting the game
« on: June 11, 2020, 01:11:08 am »
It seems like the coins aren't appearing because you have the "kill self" block. If you want the coins to appear again, you shouldn't use the "kill self" block under the "when created" event.

Ask a Question / Re: Text
« on: June 08, 2020, 03:25:31 am »
Thanks for this, it works! What's weird is that the stencyl page on labels says:
1) Create a blank Actor with a blank Animation.
But I guess a "blank actor" isn't an actor with no animation. (I don't know what a "blank animation" is so I thought it was just no animation)
Thanks again, this one really had me stumped.
P.S. Your tip about scale switching worked great!

Ask a Question / Re: Text
« on: June 07, 2020, 04:28:50 am »
This is it

Ask a Question / Re: Text
« on: June 06, 2020, 01:41:51 pm »
When I use your code, it works.
Make sure you don't have any more code that is affecting the X coordinate.
Are you testing it on Android?

This is really weird. That's literally the only code. I'm testing it on  a windows PC.  The code is on an actor that's in the scene, not the scene itself. It is an event, not a behaviour. Nothing changes when I close Stencyl and boot it up again. I have no idea what's wrong.

Ask a Question / Re: Text
« on: June 06, 2020, 11:40:02 am »

Ask a Question / Re: Text
« on: June 06, 2020, 09:00:44 am »
@SkyPilot, set the text-wrap to 300, and set to 10 the X coordinate of the actor which has the label attached.
The set x and set y blocks don't work for me. Whatever I set it to, the text always starts at the very top right of the page.  I've tried putting the set x/y block at the start, end and middle of my code but nothing works. Moving the actor around in the scene doesn't change anything either.

Ask a Question / Re: Text
« on: June 06, 2020, 07:23:53 am »
Thanks for all your answers and suggestions. I'm mainly writing this in case someone else in the future has the same problem, they can find this thread and learn what to do.
Using a font worked,
this I solved this by increasing text-wrap. (320 worked for me, maybe cause my game size is 320x480?)
My one remaining question is that wether I can have a tiny bit of distance between the left side of the screen and where the text starts. I don't know if this will even be the way I go, so not being able to do so won't bother me much. Sorry if this is a simple question, I've never really used labels before. Thanks again, everyone.

Ask a Question / Re: Text
« on: June 04, 2020, 07:05:36 am »
I enabled text wrapping- and disabled the original draw block which was appearently the cause of the text going off screen. Oops.
However, now I don't have any text at all. Am I using Lables wrong? So far I've:
Created an actor with no animations
On the events of that actor, attached label to self,
set lables text to (text)
set lables allignment to left (also tried center)
and enabled text wrap, using width 100.

Only thing I can think of is setting labels font, which I'm not using because it shows "no fonts for this game", but the draw command doesn't need you to set a font for it to write so I don't think this is the problem.

Ask a Question / Re: Text
« on: June 04, 2020, 06:53:44 am »
Hi Liberado,
Thanks for the suggestion. I'm trying to use labels and I've followed the guidelines here on the stencyl page, but my text still goes off screen. Any help?

Ask a Question / Re: Text
« on: June 04, 2020, 01:17:20 am »
Hey, yea I thought about twine actually but it seemed a little complicated and I think envolved some coding (although it did look quite basic). I wanted to use stencyl because I'm more familiar with it, and I can use game attributes for stats/money/HP, I don't know if twine has that sort of system

Ask a Question / Text
« on: June 03, 2020, 05:22:48 am »
I wanna make a text-only choice game, sort of a "choose your own adventure" kinda thing. Problem is, using text in stencyl is really hard. I used a drawing event and the "then draw text at" block, but the things I write in the block (which is quite long) go off screen. How can I solve this? Has someone made a kit that helps with writing?

Not the best solution, but how about this:

Ask a Question / Re: Ticking Issue Again
« on: May 01, 2020, 06:06:55 am »
Thanks for the quick reply,
I tried what you said but it's still executing too many times. The initial value on the list is "5" but after this event happens it jumps to 639 (?)
After testing the scene twice more I had very weird results. Once the number wass 1000-odd and then 2000-odd.. So it's not even consistent

EDIT: I've got it working! I used what @Luyren talked about in his video about using booleans and the not command.
Still weird why it didn't work though. Any idea?

Ask a Question / Ticking Issue Again
« on: May 01, 2020, 05:39:33 am »
I've had this problem before when I want something to only execute once but it happesn hundreads of times. I can't use the same fix as last time however. All I want to do is increase the number on a list by one. Any way of doing this?
(I thought about using increment by one but the blocks didn't connect)

Pages: 1 2 3