HELP with C2 Example

Get help using Construct 2

Post » Wed Nov 30, 2016 3:25 am

Hi!

Id like to move around the player like on this example, but it only should move withing the 2 solid yellow blocks and not be able to pass trought it. Is it possible?
I have tried using Solid behavior as well, didnt work...

Here: https://we.tl/3Dye79BRT9

Thanks


@plinkie maybe you know?
B
22
S
10
Posts: 82
Reputation: 1,910

Post » Wed Nov 30, 2016 9:52 pm

It's possible to limit the Y of the player when you overlap the yellow blocks. How come you drag a large sprite in this game and not the player, is this to simulate dragging up and down on mobile or something? Feels weird with a mouse but maybe it works better on mobile..
B
47
S
18
G
84
Posts: 2,273
Reputation: 49,800

Post » Thu Dec 01, 2016 12:02 am

@plinkie it is indeed an example test for something on mobile, so your finger in not in front of the play all the time, so you can drag a larger portion... Is it possible for you to apply that Y limit to the even sheet as you describe?
B
22
S
10
Posts: 82
Reputation: 1,910

Post » Thu Dec 01, 2016 12:22 pm

May need some tweaking but something like this should work. You limit where the Sprite can be dragged to.
https://dl.dropboxusercontent.com/u/495 ... drag2.capx
B
47
S
18
G
84
Posts: 2,273
Reputation: 49,800

Post » Thu Dec 01, 2016 9:54 pm

Sorry @plinkie mind sending a screenshot from the event sheet? could not open due to the version

thank you very much
B
22
S
10
Posts: 82
Reputation: 1,910

Post » Thu Dec 01, 2016 10:03 pm

farfetchd83 wrote:Sorry @plinkie mind sending a screenshot from the event sheet? could not open due to the version

thank you very much


Just download the latest version? https://www.scirra.com/construct2/relea ... 0/download

Unless you are using some kind of old v100 crack so don't bother, buggy and glitchy :roll:
B
21
S
9
G
8
Posts: 188
Reputation: 6,069

Post » Thu Dec 01, 2016 10:11 pm

@plinkie @triforce

thanks I got it

great @plinkie Im gonnar try it out
B
22
S
10
Posts: 82
Reputation: 1,910


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests