oh no wonder it couldn't work, I forgot to add the "self". Thanks Robin for your help
What about dynamic loading and unloading of resources then? (My 1st question)
Search found 18 matches
- Mon Jun 29, 2009 6:45 am
- Forum: Support and Development
- Topic: Memory Control?
- Replies: 5
- Views: 3814
- Mon Jun 29, 2009 6:39 am
- Forum: Support and Development
- Topic: Mouse position in love.physics?
- Replies: 1
- Views: 2681
Re: Mouse position in love.physics?
Well, I halved the mouse coordinates to fit the physics coordinates and it worked:
Code: Select all
function mousepressed(x, y, button)
block_new(x*0.5, y*0.5)
end
- Mon Jun 29, 2009 6:30 am
- Forum: Support and Development
- Topic: Memory Control?
- Replies: 5
- Views: 3814
Memory Control?
Hi, I'm new to LÖVE and I have some questions: 1) Is it possible to control when to load/unload resources in my game? e.g. load game sprites when player enters the game state from the menu screen. 2) Is there an event callback when all resources have loaded? e.g. Lets say I have a variable called &q...
- Mon Jun 29, 2009 6:07 am
- Forum: General
- Topic: Sandboxing (poll)
- Replies: 83
- Views: 40566
Re: Sandboxing (poll)
erm I don't really know what sandboxing is, even after reading it up on Wikipedia. All I know it is some security mechanism :X Anyone care to explain with an example?
- Sun Jun 28, 2009 8:22 pm
- Forum: Games and Creations
- Topic: Cave Boy - Minimal Labyrinth Walking Toy
- Replies: 21
- Views: 9518
Re: Cave Boy - Minimal Labyrinth Walking Toy
okay i played Caveboy again, and it wasn't garbled this time round. Its probably my speakers screwing up - it screws up after the computer is on for a long time.
- Sun Jun 28, 2009 8:14 pm
- Forum: Games and Creations
- Topic: Cave Boy - Minimal Labyrinth Walking Toy
- Replies: 21
- Views: 9518
Re: Cave Boy - Minimal Labyrinth Walking Toy
to ljdp: wow I'm impressed at your maze generator :D you managed to randomly generate a huge maze, yet keeping it moderately easy to solve to qubodup: yea the sounds are garbled on my side, but its still funny especially when you knock into a wall. quite cool that you managed to get so much done in ...
- Sun Jun 28, 2009 5:18 pm
- Forum: Games and Creations
- Topic: A Platformer With Love!
- Replies: 76
- Views: 39620
Re: A Platformer With Love!
hey Robin,
I'm not exactly sure what am I supposed to do in the game :X
all I did was to jump around the platform and kill dudes by touching them, attracting like 6 of these guys -> (:P) in the process
Is there more to it, or is there a later version than version 6?
I'm not exactly sure what am I supposed to do in the game :X
all I did was to jump around the platform and kill dudes by touching them, attracting like 6 of these guys -> (:P) in the process
Is there more to it, or is there a later version than version 6?
- Sun Jun 28, 2009 5:04 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1006718
Re: Avatars: OBEY!
I hear and obey...