I seem to be still having a problem with collision because the tutorial is using solid objects, I'm using images - http://pastebin.com/QrWkuxwc
Still quite new with lua ;?
Search found 4 matches
- Wed Jan 25, 2012 11:44 pm
- Forum: Support and Development
- Topic: Changing to Collision?
- Replies: 9
- Views: 3583
- Wed Jan 25, 2012 7:38 pm
- Forum: Support and Development
- Topic: Changing to Collision?
- Replies: 9
- Views: 3583
Re: Changing to Collision?
I suggest checking out bounding box collision(https://love2d.org/wiki/BoundingBox.lua) if you haven't already. But basically you want to get the x and y of the player(Which I'm pretty sure you have already), which are in the top left corner of the picture. Then get all three other corners, do the s...
- Wed Jan 25, 2012 6:30 pm
- Forum: Support and Development
- Topic: Changing to Collision?
- Replies: 9
- Views: 3583
Re: Changing to Collision?
I mean if I were to add walls, or anything else, all i've added is a floor, and my player isn't colliding to it.
- Wed Jan 25, 2012 6:11 pm
- Forum: Support and Development
- Topic: Changing to Collision?
- Replies: 9
- Views: 3583
Changing to Collision?
This is my first time using love2D and Lua and I've kinda went through a workaround for the collision with ground, and I've got no idea how to add collision now. I honestly don't understand the ground and collision things because my friend helped me do all that but he doesn't how to make a fully wor...