Advanced Creation Behaviour

New releases and general discussions.

Post » Sun Oct 17, 2010 9:31 pm

Hi,
Imagine behaviour that allows you to specify how much objects You are spawning, what colour filter they have or in which angle and speed of motion they will be moving, also it could contain some events like "on creation" and "on destruction".
Also Copy/clone object would be very usefull sometimes.
Example:
on box destruction : adv_create 4 planks in random motion.

I think its usefull. I might be wrong.
B
5
S
1
G
2
Posts: 70
Reputation: 1,140

Post » Sun Oct 17, 2010 10:33 pm

yeah on creation, and on destruction conditions would we very useful.
B
10
S
4
G
6
Posts: 76
Reputation: 3,615

Post » Mon Oct 18, 2010 12:17 am

Can't this be done with loops or events that already exist?
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Mon Oct 18, 2010 4:13 am

This sort of thing works.

Start of layout -create sprite
-Set PV to random(4)

PV = 1 Float
PV = 2 Fall
PV = 3 Red
PV = 4 Orange
B
9
S
2
G
4
Posts: 346
Reputation: 2,726

Post » Mon Oct 18, 2010 4:22 pm

I had some really complex creation behavior I needed at one point.
In situations like this, the function object really shines.
Use the function instead of a create action,
In the function, you could put anything you'd want in an On_create event
You could even have an "amount" parameter, and have that parameter set the amount of times for a for loop to run to create multiple objects
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Thu Oct 21, 2010 9:44 am

I will try all those things, but still i think that behaviour would be more convenient for begginers :D.

Also I want to add clone/copy action that would duplicate existing sprite with all parameters (or with some exeptions if you like) to my request.
B
5
S
1
G
2
Posts: 70
Reputation: 1,140


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests