Thats awesome! I will definitely use this. Thanks you!Jasoco wrote:--SNIP--
Search found 8 matches
- Sun Oct 23, 2011 5:33 pm
- Forum: Support and Development
- Topic: Question
- Replies: 18
- Views: 7939
Re: Question
- Sun Oct 23, 2011 10:56 am
- Forum: Support and Development
- Topic: Question
- Replies: 18
- Views: 7939
Re: Question
SNIP Yes, but I can't seem to figure out how I get the original pacman movement like this one: http://www.pacman.nl/pacman.html . This is what I got at the moment: function playerLoad() playerUp = love.graphics.newImage("images/pacmanUp.png") playerDown = love.graphics.newImage("imag...
- Sat Oct 22, 2011 5:44 pm
- Forum: Support and Development
- Topic: Question
- Replies: 18
- Views: 7939
Re: Question
Hello, I am in kinda trouble. I want to create a menu, map, enemies and I want to have pacman move to the right automatically when I press Right. However this is kinda of a big deal to ask to you guys, so do you guys know some sort of site or tutorials where I could find this kind of stuff. I alread...
- Fri Oct 21, 2011 6:07 pm
- Forum: Support and Development
- Topic: Question
- Replies: 18
- Views: 7939
Re: Question
Ah! now i get it, Thank you very much!Jasoco wrote:Of course! Don't put multiple love.***() functions. You're going about it wrong. Instead, put the love.***() functions in main.lua and call the other individual update, draw, load functions with different names, from the originals.
- Fri Oct 21, 2011 5:44 pm
- Forum: Support and Development
- Topic: Question
- Replies: 18
- Views: 7939
Re: Question
You define love.load, love.update and love.draw in pacman.lua, but then you overwrite them in main.lua. If you remove the empty functions in main.lua, it should work. Thanks it worked! But what if I want to add another file to main.lua and add love.load; love.update and love.draw in that file will ...
- Fri Oct 21, 2011 5:35 pm
- Forum: Support and Development
- Topic: Question
- Replies: 18
- Views: 7939
Re: Question
Hello, I got into a problem when trying out the quad images. It just doesn't draw the image. What is wrong? main.lua require('pacman') function love.load() end function love.update(dt) end function love.draw() end pacman.lua function love.load() local p_Atlas = love.graphics.newImage('pacman-256x256...
- Thu Oct 20, 2011 5:14 pm
- Forum: Support and Development
- Topic: Question
- Replies: 18
- Views: 7939
Re: Question
Thanks, both of you!
- Thu Oct 20, 2011 5:02 pm
- Forum: Support and Development
- Topic: Question
- Replies: 18
- Views: 7939
Question
Hello! I am just new to löve 2d and I got a very simple question. I already tried to look it up but I not sure how to supscribe it. I trying to make a game and make the source pretty clean, so is it possible to created more .lua files and make them load in main.lua? example: I got main.lua but I wan...