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

Pages: 1 2 3 ... 6
Ask a Question / Re: How to do a 9-slice?
« on: October 14, 2019, 10:55:42 am »
I am new to using images, so I'm know I'm messing up somehow.  Nothing is showing up.  Here is my event:

Ask a Question / Re: How to do a 9-slice?
« on: October 14, 2019, 09:42:59 am »
Okay, so how to I get it to resize?  What block do I put it into?

Ask a Question / Re: How to do a 9-slice?
« on: October 12, 2019, 02:53:14 pm »
Okay I did not know that was the behavior.  I saw it was a png and thought it was just a picture.  Thank you very much.

Ask a Question / How to do a 9-slice?
« on: October 12, 2019, 12:43:59 pm »
I want to have text boxes that use 9-slice to resize them but I don't know how.
I have the following behavior, but I can't get it to work, the sprite doesn't appear, though the text will wrap:
I know Luyren mentions a behavior here but I couldn't find it:
Does anyone know anything that can help me?

I tried doing it but I keep getting an error message, this is what I put in the code block as one line:
_Text = "Hello, " + Engine.engine.getGameAttribute("Player_Name") + ", how are you doing today?"

I have never used code blocks and had considered it since there more space in them.  Is that the exact format I would use?  Text in quotation marks?

Alright, and for when I have lots of text I can just make every seperate section it's own text attribute in order to make the block easier to work with, right?

I have an G. Attribute called Player_Name and I would like to be able to set up text to say in the game "Welcome, [name], how are you today?"  where [name] is the text value for Player_Name.  I also want to be able to do this for long walls of text for certain scenes.
I know that there are special codes that can be put into text such as "\\n" inserting a line break into the text.

Ask a Question / Where is the Label Extension?
« on: August 04, 2019, 08:22:05 pm »
Before anyone says anything, I have looked in the Settings>extensions and there is NO label extension there. 

I am running 10300.

Is it possible, if you are still using the trial version, to set up a patreon for your game and let people download/play the demos for it?  If so, when exactly do you have to pay to upgrade?
Also, are you allowed to publish games with mature or adult content?

Okay that worked, problem solved.

200 by default, I've also used 500, and 2,000.  Even when right next to it the enemy won't move towards the player.

Hey guys, I haven't touched Stencyl for the better part of a year and I'm trying to recreate from scratch my game Crossbowman.
I am having trouble making enemies follow my player when he gets close to them.  The behavior should be making it so that every 3 seconds the enemy will move towards the player if within a certain distance, or in a random direction if not. 
However it is only moving around in random directions, even when the character is right next to it.
Below are screenshots of the events:

Ask a Question / Re: Actors Appearing on the Wrong Layer.
« on: November 11, 2018, 01:41:55 pm »
All of them have a "When Created" event that sends them to the correct layer,  The behavior that draws what layer they are on was created to make sure they were on the correct layer in game.

Ask a Question / Actors Appearing on the Wrong Layer.
« on: November 11, 2018, 01:22:34 pm »
I am having trouble getting my player's weapon to appear in front of the player rather than behind.  I have two screen shots.  The first shows how the layers are ordered.  The second is of the game.  The text is from a behavior that draws the name of the layers that the Cursor, Player, and Gun are on in that order.
Also sometimes the cursor is invisible and I can't figure out if that is related or not.

Pages: 1 2 3 ... 6