Search found 132 matches
- Fri Aug 12, 2016 1:28 am
- Forum: Ports
- Topic: Love2D WebPlayer (WebGL)
- Replies: 203
- Views: 185842
Re: Love2D WebPlayer (WebGL)
Sorry If this has been already answered but what parts of the api don't work?
- Fri Aug 05, 2016 1:48 pm
- Forum: Games and Creations
- Topic: ADEPT - playtest build available!
- Replies: 17
- Views: 11096
Re: ADEPT - playtest build available!
A lot of fun.
IDEs
Just out of curiosity what IDE does everyone here use? I personally use Atom an open source IDE that I find really nice.
- Thu Aug 04, 2016 11:24 pm
- Forum: Support and Development
- Topic: Help with lua.touch
- Replies: 3
- Views: 2286
Re: Help with lua.touch
I agree. It took me quite some time to figure it out.pauls313 wrote:Thanks, now I understand. The wiki page wasn't very clear.
- Thu Aug 04, 2016 10:17 pm
- Forum: Games and Creations
- Topic: Asteroids - Remake
- Replies: 4
- Views: 3298
Re: Asteroids - Remake
Awesome! great second game man.Semeon wrote:I'll consider adding extra dlc and i'll try to fix that issue!
- Thu Aug 04, 2016 9:08 pm
- Forum: Games and Creations
- Topic: My platformer
- Replies: 12
- Views: 8282
Re: My platformer
1. Create a variable to store the gravity. Let us call that "grav". 2. Assign some value to it. Variable lets you change the strength of the gravity and it's direction. Let it be that grav = 10. Just for example. 3. Create a variable with your current Y-axis speed. Let us call that y_vel....
- Thu Aug 04, 2016 1:00 pm
- Forum: Games and Creations
- Topic: My platformer
- Replies: 12
- Views: 8282
Re: My platformer
Yes it would be awesome.4aiman wrote:Can't tell if you want to learn how to code gravity. Do you?
- Wed Aug 03, 2016 6:08 pm
- Forum: Support and Development
- Topic: Help with lua.touch
- Replies: 3
- Views: 2286
Re: Help with lua.touch
I struggled with this as well. Here is some example code I just pulled up for you. I hope it helps. function love.load() end function love.update() --get table of touch ids touches = love.touch.getTouches() end function love.draw() --iterate through touch ids for i, id in ipairs(touches) do --get po...
- Wed Aug 03, 2016 6:02 pm
- Forum: Support and Development
- Topic: Can someone please explain "for" statements in lua?
- Replies: 11
- Views: 5530
Re: Can someone please explain "for" statements in lua?
I that's not what I mean by iterating through an integer. This doesn't mean it's not. (EDIT from here on) Furthermore, that is exactly what OP wrote: for i = 1,100 do blah blah blah end One more thing, you don't iterate over tables, you iterate over iterators. This: for i in 1100 do print(i) end is...
- Wed Aug 03, 2016 5:14 pm
- Forum: Support and Development
- Topic: Can someone please explain "for" statements in lua?
- Replies: 11
- Views: 5530
Re: Can someone please explain "for" statements in lua?
Bull. None of the example you gave are iterating through integers. If you try to iterate through an integer like 6 or 1100 you'll get an error. for i = 1, 6 do print(i) end for i = 1, 1000 do print(i) end for i = 1000, 6, -1 do print(i) end I that's not what I mean by iterating through an integer. ...