Advanced Tiled Collider [v0.22]

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
markgo
Party member
Posts: 190
Joined: Sat Jan 05, 2013 12:21 am
Location: USA

Advanced Tiled Collider [v0.22]

Post by markgo »

Advanced Tiled Collider (ATC) is a collision module for Advanced Tiled Loader. It specializes in collision detection and resolution of tiles. I thought it'd be nice if there was a collision library to assist Lovers when using ATL.

Much thanks to Kadoba and other contributors for your work and libraries!

Features:
  • Fully compatible with ATL 0.12 (Untested for other versions)
  • Customizable collision callback for all sorts of possibilities
  • Supports the use of vertical/horizontal height maps for slopes
  • Continuous collision detection ensures that nothing is missed
Github Repo

I also made a generic version that doesn't rely on ATL:
https://github.com/markandgo/tile-collision
viewtopic.php?f=5&t=12214&hilit=tile+collision
demo.love
0.2
(55.56 KiB) Downloaded 518 times
Last edited by markgo on Tue Mar 05, 2013 5:42 pm, edited 6 times in total.
User avatar
Uhfgood
Prole
Posts: 35
Joined: Sat Jul 28, 2012 10:04 pm
Location: Oregon, US
Contact:

Re: Advanced Tiled Collider

Post by Uhfgood »

nice to see you have some of the same problems I did, such as having the sprite stay on the ground when going down hill. Trying to jump up when going uphill, etc.
User avatar
markgo
Party member
Posts: 190
Joined: Sat Jan 05, 2013 12:21 am
Location: USA

Re: Advanced Tiled Collider [v0.2]

Post by markgo »

Updated to v0.2! This version should not miss tiles as much as before now that each sensor covers an area instead of a line.
User avatar
I~=Spam
Party member
Posts: 206
Joined: Fri Dec 14, 2012 11:59 pm

Re: Advanced Tiled Collider [v0.2]

Post by I~=Spam »

Nice! It works really well! :awesome: (I wonder how many collision detection libs there are now... :rofl: )
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
Germanunkol
Party member
Posts: 712
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Re: Advanced Tiled Collider [v0.2]

Post by Germanunkol »

Nice work!
It does look pretty polished :)
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
tilmah
Prole
Posts: 3
Joined: Sun Jun 02, 2013 11:53 pm

Re: Advanced Tiled Collider [v0.22]

Post by tilmah »

Hi there,
I'm using your 'ATC' library for a simple platformer.
I had the 'tile collider' installed previously and switched to this because it should mean less work as I add levels.
One thing I am wondering, is could you please help me with setting up a one way tile class that allows the player character to jump up through but not fall down through a tile?
Thank you for this library and thank you for your time.
User avatar
szmol96
Citizen
Posts: 51
Joined: Mon Oct 07, 2013 4:24 pm
Location: Horvátkút, Hungary

Re: Advanced Tiled Collider [v0.22]

Post by szmol96 »

NIce libary! Finally something that supports slopes in Tiled maps.
All your code are belong to us.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 2 guests