My character stops registering collisions for some reason.

Get help using Construct 2

Post » Wed Dec 09, 2015 8:47 pm

I've been making a top-down shooter for a while now and throughout the creation of the game, while I was playing my player just stopped picking up items. I didn't put any code anywhere to disable his collisions. I tought it was a bug with my item pickup code, so I carried on as i didn't manage to solve it.
After almost 2 months of not working on the game I added walls, and that is when I realized the player stops registering his collision, as he starts passing through solid objects even tough he has the 8 Direction behaviour just as he stops picking up items. I tried exporting to see if it happens outside construct and, sadly, it does.

Here's the capx so you can take a look for yourself:

http://speedy.sh/5SUYc/AlienGok.capx

Any help would be greatly appreciated, and if you do decide to help out please feel free to post if you can't understand a part of my code as it is not commented at all.

I've also uploaded the game to dropbox, so you can test and see if you get the problem as well.

https://dl.dropboxusercontent.com/u/267089024/AlienGok%280.01a%29/index.html

EDIT: I found that the easiest way to trigger the problem was to randomly drop and pickup items.
Banned User
B
6
S
3
Posts: 105
Reputation: 1,170

Post » Sun Dec 13, 2015 1:34 pm

I can't download the file from this site.

The collision works fine when i play the game on dropbox.
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sun Dec 13, 2015 2:46 pm

This looks fine. He stops picking up items when the inventory is full, intended?
B
44
S
14
G
61
Posts: 1,802
Reputation: 36,902

Post » Fri Dec 18, 2015 2:42 pm

Thanks for your input, I managed to "fix" it. I acctualy worked with my laptop's brightness set to the lowest and the item icons faded with the inventory backround and I couldn't acctually see that the inventory is full. :)
Banned User
B
6
S
3
Posts: 105
Reputation: 1,170

Post » Sat Dec 19, 2015 1:37 am

:roll: :mrgreen:
B
44
S
14
G
61
Posts: 1,802
Reputation: 36,902


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 5 guests