Actually, the engineer can throw multiple wrenches. That's why I wrote the loop.
Thanks btw! Now the code is working.
Search found 40 matches
- Mon Apr 14, 2014 4:12 pm
- Forum: Support and Development
- Topic: Trying to get the quantity of a table with no success [SOLV]
- Replies: 7
- Views: 2184
- Mon Apr 14, 2014 1:24 am
- Forum: Support and Development
- Topic: Trying to get the quantity of a table with no success [SOLV]
- Replies: 7
- Views: 2184
Re: Trying to get the quantity of a table with no success
Sorry for not posting a .love file. It's because I had a problem with it.
- Sun Apr 13, 2014 11:59 pm
- Forum: Support and Development
- Topic: Trying to get the quantity of a table with no success [SOLV]
- Replies: 7
- Views: 2184
Trying to get the quantity of a table with no success [SOLV]
Well, this is my table: wr = {} wr.positionsX = {} wr.positionsX[1] = 510 wr.positionsX[2] = 156 And, in draw function, i have this: love.graphics.print(#wr.positionsX, 10, 10) if drawwrench == true then for n = 1, #wr.positionsX do local pX = wr.ppositionsX[n] local pY = wr.ppositionsY[n] love.grap...
- Sun Apr 13, 2014 6:07 pm
- Forum: Support and Development
- Topic: add gravity to my world and make an image jump.
- Replies: 6
- Views: 3565
Re: add gravity to my world and make an image jump.
I know, and that's why i said:
Remember to modify the code. Try to do something like 'if the player is at the ground then jump will be true'
- Thu Mar 27, 2014 10:49 pm
- Forum: Support and Development
- Topic: Love2D crashes when playing audio
- Replies: 7
- Views: 4613
Re: Love2D crashes when playing audio
No error messages, the program just freezes. It's terrible and givin' me headaches.
- Tue Mar 25, 2014 11:05 pm
- Forum: Support and Development
- Topic: Love2D crashes when playing audio
- Replies: 7
- Views: 4613
Love2D crashes when playing audio
It crashes at about 20 seconds after I play the audio. Idk why this happens. Do you know what it can be?
(I use Windows 7, Love 0.8.0).
(I use Windows 7, Love 0.8.0).
- Fri Mar 07, 2014 8:54 pm
- Forum: Support and Development
- Topic: Help with spawning objects
- Replies: 2
- Views: 1463
Re: Help with spawning objects
Great! thank you man. But we forgot about placing 'world:update(dt) on love.update '
- Fri Mar 07, 2014 7:35 pm
- Forum: Support and Development
- Topic: add gravity to my world and make an image jump.
- Replies: 6
- Views: 3565
Re: add gravity to my world and make an image jump.
Well, i have done this in a recent game mine: In love.load() i put 2 variables. It controlls the jump time and if the player can jump jumpTime = 0 jump = true Now, in love.update, I put two IF conditions and the variable 'jumpTime' will increase at every moment: jumpTime = jumpTime + 1 if love.keybo...
- Fri Mar 07, 2014 7:21 pm
- Forum: Support and Development
- Topic: Help with spawning objects
- Replies: 2
- Views: 1463
Help with spawning objects
I'm trying since yesterday making a water simulator.
Everytime the user press the left mouse key, the program would spawn a water particle, but this is not working.
Can someone help me?
Everytime the user press the left mouse key, the program would spawn a water particle, but this is not working.
Can someone help me?
- Thu Mar 06, 2014 7:06 pm
- Forum: Games and Creations
- Topic: My Experience with Love2D
- Replies: 3
- Views: 2847
Re: My Experience with Love2D
Just..
A W E S O M E
A W E S O M E