Search found 2 matches
- Tue Feb 03, 2015 6:58 pm
- Forum: Support and Development
- Topic: Function Help.
- Replies: 4
- Views: 2465
Re: Function Help.
This was a weird bug but when I ran the program on a second computer it "Magically" worked for no clear reason what so ever so I'm calling this one solved and continue working on the other computer.
- Mon Feb 02, 2015 5:08 pm
- Forum: Support and Development
- Topic: Function Help.
- Replies: 4
- Views: 2465
Function Help.
So I've watched some tutorials etc but I keep running in to the same problem every time I try to call a function inside a function. For example: bullet.lua function bullet.update(dt) for i,v in ipairs(bullet) do if v.dir == "right" then v.x = v.x + bullet_speed * dt end if v.dir == "l...