How do I Check a collision?

Get help using Construct 2

Post » Wed Jul 06, 2016 5:27 am

Hello there!
I'm new here and I dont know very well how to use this fantastic software, so maybe you could give me a little help here. I heard C2 community is great :D
I'm trying to check a collision for the Player, now I'm trying to do something like this:
Check if PLAYER is colliding with the GROUND
if its true than make the PLAYER jump and the GROUND disappear
else dont make the PLAYER jump

How do I make this in the event sheet? I tryed some combinations but withous success :(
Thanks for your attention!
B
5
S
2
Posts: 17
Reputation: 513

Post » Wed Jul 06, 2016 6:13 am

Well the very basic way would be something like,

Player on collision with Ground -> Player jump + Destroy Ground

Doesn't sound like you need the else condition since Player won't jump unless they collide with Ground, so they're not jumping by default.
B
54
S
24
G
18
Posts: 295
Reputation: 13,140

Post » Wed Jul 06, 2016 6:15 am

@ArtChan - I made a sample .capx that should fit what you are trying to achieve.

https://1drv.ms/u/s!AjcW2ueud6qpsHWXw5fqyTYlh327
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
67
S
22
G
90
Posts: 1,125
Reputation: 60,036

Post » Wed Jul 06, 2016 3:14 pm

To chadorireborn:
Thanks that you got time for me to send that project, but I can't open it because i have the version r227...

To sup with that:
I can understand the logic, is more simpier than I thought! I'll try it, thanks!
B
5
S
2
Posts: 17
Reputation: 513


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 11 guests