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

Pages: 1 2 3 ... 11
1
Ask a Question / Re: Final Boss Stages
« on: March 23, 2018, 08:34:29 am »
Are you sure animation is selected for the attribute? It's supposed to work. Instead of using an animation attribute, you can simply write its name.

2
Ask a Question / Re: Animation - Help
« on: March 21, 2018, 06:10:40 am »
For inventory you will need 2d lists.
http://community.stencyl.com/index.php/topic,28081.0.html
First 2D list stores - names of items. Second 2D list stores - number of items.
When you click on the " I " or inventory icon, on the top layer will create an inventory frame. And inside the frame you need to create tiles of empty cells. Inside these tiles you need to create actors-items. Which item will be created is taken from the first list. The coordinates of the tile in which to arrange the item are equal to col and row in which this item was contained in List1.
Above the inventory frame you need to create 4 tiles-icons: items, quests, relationships, close inventory.
If you click on the quest tile, all tiles with inventory cells are removed and the actors items too, and instead created tiles for the quest menu. In my opinion it's simple.

3
Ask a Question / How to take an Image from a certain type of actor?
« on: March 20, 2018, 09:32:28 am »
How to take an Image from a certain type of actor?
When I look at the block

it has no Actor Type.


4
Ask a Question / Re: Making a Scene remain changed
« on: March 20, 2018, 08:08:14 am »
 ;D

5
Ask a Question / Re: Animation - Help
« on: March 20, 2018, 06:31:45 am »
Noticed a mistake. Instead

you need to use


And:

6
Ask a Question / Re: Animation - Help
« on: March 20, 2018, 06:27:58 am »
Since you have a lot of actors, you need to store all their data in the game attribute: Map.

For this you will need 1 Map and 1 List.
The first will contain different plant values. (Map1)
The second will contain the sequence numbers of existing plants. (List1)
For example:
When you plant a plant (Cucumber).
1) Set ActorTypeAttribute "NameOfPlant" which is in your hand right now, and you're planting it = Cucumber.
2) You need to check which plant numbers exist in List1. For each existing item in List1, you need to check its value and, if such a number does not exist, create it and end the recurrence cycle.

3) Now you need to put the values of this plant in MAP1.

And yet, when you create an actor, you need to transfer the number of the actor in the existing attribute in the actor.

Now if you leave the room all the data will be recorded in MAP1. And at the entrance to the room you will be able for each existing value in LIST1 to create an actor with the data recorded in MAP1.
If the plant will die of old age or you collect, you will need to remove all values with the number of the actor ("NumberofPlant") in List1 and Map1
To increase the age of the plant, you need to create another attribute in the timer code: boolean.
At the moment when Day = Day + 1
Set boolean = true.
And then in the event to add each value AGE +1 and do boolean false.
And for every actor of the group "plants" to change the animation. (Animations must be named with numbers corresponding to the age)




7
Ask a Question / Re: I can't turn a monster towards a character.
« on: March 20, 2018, 03:42:14 am »
The problem was that the code was triggered earlier than the monster was moving.
I thought that the delay affects the code and unless all the code with a delay, the next code will not work.

8
Ask a Question / Re: Final Boss Stages
« on: March 20, 2018, 03:15:39 am »
Well it is attached to the boss but for some reason it doesn't switch animation when I put the "switch animation" block in the custom event. No matter where I put the block it doesn't seem to work.
Well, show us the code, how do we know what the mistake is, if you don't show what you wrote.

9
Ask a Question / Re: I can't turn a monster towards a character.
« on: March 20, 2018, 03:13:48 am »
There are no errors in writing the name of the animations. I don't know what the problem is.

10
Ask a Question / Re: Final Boss Stages
« on: March 19, 2018, 05:13:32 pm »
Create a Boolean attribute.
+ Add event
Attributes
Number
If boolean is False, set the boolean to true.
Your code.
This will allow this action to be repeated only once.

11
Ask a Question / Re: Final Boss Stages
« on: March 19, 2018, 02:05:37 pm »
That's wrong, because everything you wrote here would work every frame.
Use:
+ Add event
Attributes
Number

12
Ask a Question / Re: Enemies Off Screen Don't Move
« on: March 19, 2018, 01:39:11 pm »
Actor > Properties > Make Self Always active
Or Set Offscreen Bounds

Used to set how far actors have to be off-screen to be considered off screen.

13
Ask a Question / Re: Isometric Games
« on: March 19, 2018, 12:53:17 pm »
Just draw the isometric blocks to several square tiles.

14
Ask a Question / Re: Making a Scene remain changed
« on: March 19, 2018, 12:05:44 pm »
Game attributes - Setter - Set List to "attributes - lists - create - create new list".

15
Ask a Question / I can't turn a monster towards a character. [solved]
« on: March 19, 2018, 11:52:09 am »
I can't turn a monster towards a character.
At the end of the movement put this code.
All values seem to be correct, but the animation does not change.

Pages: 1 2 3 ... 11