Search found 62 matches
- Thu Jan 05, 2017 6:56 pm
- Forum: Support and Development
- Topic: Collisions don't work right
- Replies: 5
- Views: 3915
Re: Collisions don't work right
Hii, first of all keep in mind that the coordinate system of Love is top-left to bottom-right. So normally if you have a rectangle, it's X and Y position will be the top-left corner, and then you will have a width (maybe it's your len?), and a height. With my mad paint skills I've made you a little ...
- Thu Jan 05, 2017 8:49 am
- Forum: Support and Development
- Topic: [SOLVED]How to draw an image in a table?
- Replies: 3
- Views: 3663
Re: How to draw an image in a table?
Hii, welcome to the forums. From what I see you are trying to make some sort of chess game? What I'd do is draw the empty board as a whole image. Then on your matrix you keep note of your pieces and theyr position, and draw each one on top of the board. You will have to know width and height of the ...
- Fri Dec 30, 2016 1:03 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 410992
Re: "Questions that don't deserve their own thread" thread
...how can I make the window move with my player object... If you mean to have your player always at the center of the screen/window then you have to make use of a Camera. I only know two implementations: HUMP - Camera: Is one of the tools that come with HUMP. (personally using it) Gamera - This is...
- Tue Dec 27, 2016 1:32 pm
- Forum: Support and Development
- Topic: [SOLVED] Jumper exception thrown not expected
- Replies: 8
- Views: 5519
Re: Jumper exception thrown not expected
Thanks for the info. Then do you have any "better" or different implementation for Pathfinding? Or maybe just change the code of the library to do what Positive07 said?raidho36 wrote:There's no "standard" anything in Lua...
- Tue Dec 27, 2016 1:23 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 410992
Re: "Questions that don't deserve their own thread" thread
Hmmm, you where right, I was moving the player instead of the enemy. As I see I'll have to check if entity_a or entity_b is is the one moving toward the collision, and choose what to do. If the two of them are moving against each other, I'll move them both by half of the separating vector, and it sh...
- Mon Dec 26, 2016 4:49 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 410992
Re: "Questions that don't deserve their own thread" thread
Thanks a lot for the insight. I was really frustrated because I didn't see it normal.
About the STI/Jumper problem it's been more or less solved for now. Don't quite like the solution, because it's not very dynamic, but at least I solve it with the Tiled editor, and not with hardcode.
Thanks again!
About the STI/Jumper problem it's been more or less solved for now. Don't quite like the solution, because it's not very dynamic, but at least I solve it with the Tiled editor, and not with hardcode.
Thanks again!
- Mon Dec 26, 2016 4:42 pm
- Forum: Support and Development
- Topic: [SOLVED] Jumper exception thrown not expected
- Replies: 8
- Views: 5519
Re: Jumper exception thrown not expected
Thanks for the tips, I'll give it a shot. About the performance problem, I thought that Jumper was the standard library for pathfinding in Lua/Love2D. Do you have any other recomendation? Or do you make your own implementation?
- Sun Dec 25, 2016 6:27 pm
- Forum: Games and Creations
- Topic: Super Samurai Guy
- Replies: 11
- Views: 18251
Re: Super Samurai Guy
Wow! Super fast paced I like it! Nice work, keep it up!
- Sun Dec 25, 2016 5:40 pm
- Forum: Support and Development
- Topic: [SOLVED] Jumper exception thrown not expected
- Replies: 8
- Views: 5519
Re: Jumper exception thrown not expected
Sorry about repost, but couldn't attach game.love on the same entry, dunno why though.
- Sun Dec 25, 2016 5:37 pm
- Forum: Support and Development
- Topic: [SOLVED] Jumper exception thrown not expected
- Replies: 8
- Views: 5519
[SOLVED] Jumper exception thrown not expected
First of all I've created a new thread, because Jumper's thread isn't active since 2009... Now the exception that I get is as follows Screenshot from 2016-12-25 18-27-55.png and at line 330 we find: Screenshot from 2016-12-25 18-29-11.png The thing is that the map that I pass on is correctly formate...