How do I create pixel perfect collision?

Just started using Construct 2? Post your questions here

Post » Wed Nov 30, 2016 6:24 pm

Hi all! =) I'm new and need a tutorial AND / OR video tutorial on how to create pixel-perfect collisions in Construct 2. And please don't tell me it can't be done because NOTHING is impossible.

Thank You!

~Mythirion
B
2
Posts: 2
Reputation: 152

Post » Sat Dec 03, 2016 9:29 am

These might help

https://www.scirra.com/forum/pixel-perfect-collision_t62461

https://www.scirra.com/tutorials/973/pixel-perfect-collision-with-bullets

http://69.24.73.172/scirra/forum/viewtopic.php?f=8&t=2391

You could also write your own collision detection based on dimensional arrays....

what I mean is...a sprite object is just an array of pixels...you could make an array for each sprite the requires pixel perfect collision and just program some code that constructs the array as a sprite...

I mean C2 is doing that already...but you might find a better faster way if you look into it..

each array entry point could contain as much information as you wish including positional data etc.

I mean its a double up but you might learn something new in the process which is what this is all about

:geek:
When in doubt..or you are lost in a Zombie apocalypse or someone is giving you a hard time..Remember one thing..... Read the Construct 2 Manual..it will save your life.:)
B
35
S
13
G
8
Posts: 318
Reputation: 7,685


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest