Collision Problem?

Get help using Construct 2

Post » Sun Feb 09, 2014 6:24 am

Hello again ^^

SO I was trying to make a character to collide with certain objects. For example, I have a sprite and 2 different boxes(which are also sprites).

if my character is colliding with a box and it will prompt with a message saying something like "Press Button to Interact". I altered the event sheet and it was just fine.

The event sheet looked like:

>Sprite| On Collision with box_1 => Call Prompt_Function()
>Sprite| Is Overlapping with box_1 =>
       >Keyboard| On E Pressed => Call Second_Function()

It was working somewhat fine.
-
Now I tried putting a second box in the layout.
When I altered the event sheet in order to detect whether or not it was colliding. So I just copy-pasted the code for the first box and changed the object. However it somewhat bugged out i think,

It wasn't showing any prompts or anything, what's the problem???

           
B
8
Posts: 35
Reputation: 388

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests