First of all, maybe i should tell you a bit of that project.
I'm going to make an 2D Arcade-Shooter with topview.
The map will be generated random out of pre-defined map parts, maybe you
know that from games like "Binding of Isaac".
This parts contains fixed objects like walls/lights, and also moving or spawning objects like
enemys or weapons.
In this map the player can move around freely, collide with some objects like walls, with others
not like objects, wich he will just pick up and dont lose his movement speed.
Now i dont know where i should start, i just found the tilded collision in the wiki, but
nothing that I need.
I would be happy with some link to an tutorial or a starting help for that.
Manuel
Collision
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Collision
I recently released version 2 of my collisions library, bump:
http://love2d.org/forums/viewtopic.php?f=5&t=78086
The source code and documentation is here:
https://github.com/kikito/bump.lua
The simple demo branch shows how to use it for moving a player around in an environment with walls, very appropriate for a top-down game:
https://github.com/kikito/bump.lua/tree/simpledemo
http://love2d.org/forums/viewtopic.php?f=5&t=78086
The source code and documentation is here:
https://github.com/kikito/bump.lua
The simple demo branch shows how to use it for moving a player around in an environment with walls, very appropriate for a top-down game:
https://github.com/kikito/bump.lua/tree/simpledemo
When I write def I mean function.
Who is online
Users browsing this forum: Google [Bot] and 1 guest