![]() |
|
[Lua] [SOLVED] Anyone able to help me out with this little issue - Love2D - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5) +---- Thread: [Lua] [SOLVED] Anyone able to help me out with this little issue - Love2D (/showthread.php?tid=4135593) |
[SOLVED] Anyone able to help me out with this little issue - Love2D - Toph Beifong - Mar 26, 2014 So iv been learning Love2D and my project was simple, make a snake game. So i decided to load each segment of the snake separately via a loop but one the loop is complete the snake disappears and i haven't even go to movement yet. Code function love.load()EDIT: since solved this, used a multi dimentional table to store the image position in: code below. Code function love.load()
* - .eXe - Mar 26, 2014 Code function love.load()I have never used Love2D so forgive me. But should it not be like that? * - Toph Beifong - Mar 26, 2014 Remember your function ends xD, and naa that gives same issue. I think i may have found an alternative way around it and solved a problem later on anyway. Will let you know how it goes. * - .eXe - Mar 26, 2014 (Mar 26, 2014 02:03 AM)Mr. P-teo Wrote: Remember your function ends xD, and naa that gives same issue. I think i may have found an alternative way around it and solved a problem later on anyway. Will let you know how it goes. Oh, thought I had too many ends when I moved it. But yeah, let me know. If not I'll download Love2D and have a proper look. |