How do I

Get help using Construct 2

Post » Wed Feb 08, 2017 10:10 pm

hello friends
how do i make a scale and order system in game for players
scale ( where they can drag one point of square shape and make it bigger or smaller size with mouth not a scaling bar )
order (where they can choose which object go behind the other if they have many shapes )
thanks in advance :) :)
B
22
S
8
G
2
Posts: 78
Reputation: 2,701

Post » Thu Feb 09, 2017 2:03 pm

Scale: assuming you have a sort of resize handle, when the plater clicks on it you could set a x and y values for the opposite corner in a variable. Then you can set the width to mouse.x - corner.x and height to mouse.y - corner.y.
Order: this can be done easily when choosing to set to the bottom or top, read up on z-order. This can easily be manipulated through events.

Hopefully they both make sense, I know it's a bit vague so just ask if you don't fully understand.
B
14
S
3
Posts: 55
Reputation: 912

Post » Thu Feb 09, 2017 2:14 pm

@currypuff yes i really cant understand well but i need both scale and order system ingame for the player to let him do this himself
B
22
S
8
G
2
Posts: 78
Reputation: 2,701

Post » Fri Feb 10, 2017 6:04 am

@semaso
i made a demo file for you I think this is what you want
Demo File
Image
B
65
S
40
G
46
Posts: 655
Reputation: 32,865

Post » Sun Feb 12, 2017 1:41 am

@luckyrawatlucky made it for me oh thaaaank u sooo much
I will try and feed back :)
B
22
S
8
G
2
Posts: 78
Reputation: 2,701

Post » Sun Feb 12, 2017 1:49 am

@luckyrawatlucky are u kidding me ? this is exactly what i wanted , thank u very much , u made my day
B
22
S
8
G
2
Posts: 78
Reputation: 2,701


Return to How do I....?

Who is online

Users browsing this forum: Maydie and 35 guests