Search found 1078 matches
- Wed Dec 02, 2015 6:01 am
- Forum: General
- Topic: How to resolve a collision between two rectangles
- Replies: 5
- Views: 2579
Re: How to resolve a collision between two rectangles
You can try to resolve collisions by using the velocity of the player. For example, if the player collides with a wall and the player is currently moving to the right, then you have to resolve the collision to the left.
- Fri Nov 20, 2015 11:13 pm
- Forum: Libraries and Tools
- Topic: Lua Talk Slides
- Replies: 5
- Views: 4345
Re: Lua Talk Slides
Nice. I like it.
And thumbs up for spreading LÖVE.
And thumbs up for spreading LÖVE.
- Thu Nov 19, 2015 7:44 am
- Forum: Support and Development
- Topic: attempt to perform arithmetic on a nil value
- Replies: 4
- Views: 3418
Re: attempt to perform arithmetic on a nil value
I had to look it up myself. Here is the solution: http://stackoverflow.com/questions/1133 ... c-notation
- Wed Nov 18, 2015 9:17 pm
- Forum: Support and Development
- Topic: attempt to perform arithmetic on a nil value
- Replies: 4
- Views: 3418
Re: attempt to perform arithmetic on a nil value
The error occurs in line 51 of your code. It happens when you call the function "rev" on a number that is too large. If you insert the lines print(cur) print(rev(cur)) right before line 51 you will see that the value of cur is "1.595479779756e+14". If you convert it to a string a...
- Tue Nov 10, 2015 12:46 pm
- Forum: Games and Creations
- Topic: Wanderer
- Replies: 62
- Views: 29256
Re: Wanderer - Kickstarter now live!
Congratulations!!
- Wed Nov 04, 2015 9:15 am
- Forum: Games and Creations
- Topic: Gravitry - Hardcore Platformer
- Replies: 13
- Views: 9782
Re: Gravitry - Hardcore Platformer
After all the rather negative feedback, I wanted to give some feedback too. First of all, congratulations for actually finishing this game. I haven't really finished any proper game, so Hats off! I very much like the technical implementation of the game and the visual style. Everything looks polishe...
- Mon Nov 02, 2015 9:40 pm
- Forum: Libraries and Tools
- Topic: Pattern Generator v1.2b - Custom patterns!
- Replies: 20
- Views: 14324
Re: Pattern Generator v1.0 - Custom patterns!
This is a solid little app. Well done. I like the overall style. It is very polished. One little interface thing that I don't like: The "right" button in the top left corner to switch between the "dashed line mode", changes its position depending on the current choice. That means...
- Tue Oct 27, 2015 5:59 am
- Forum: Support and Development
- Topic: A quick question on Lua table indices
- Replies: 7
- Views: 3198
Re: A quick question on Lua table indices
So I want to be able to iterate through a table of tables (see code below) using #table, yet also access those same members using string indices -- assigning them with string indices doesn't seem to give them numbered indices. So the best I could come up with is as follows: Are you sure you need nu...
- Mon Oct 19, 2015 4:15 pm
- Forum: Support and Development
- Topic: Concating strings and integers
- Replies: 3
- Views: 2464
Re: Concating strings and integers
Concatenating string does not work implicitely in table definitions. Try this instead: logs = {} for i=64, 1856, 192 do local key = log..i logs[key] = whatever end But I am not sure what you try to achieve by assigning the return value of love.graphics.draw to a variable. love.graphics.draw does not...
- Thu Oct 15, 2015 7:02 am
- Forum: Support and Development
- Topic: Rounded corners and quads?
- Replies: 3
- Views: 2418
Re: Rounded corners and quads?
Hi and welcome to the forum! Rounded corners cannot be achieved with quads directly, because quads are always rectangular. There are some other solutions: 1) Put the rounded corners into the image file. If you look at some free art files, you see that this is what most people are doing ( example ). ...