Search found 235 matches
- Thu Feb 09, 2012 9:12 am
- Forum: Support and Development
- Topic: Camera movement.
- Replies: 9
- Views: 5519
Re: Camera movement.
And changing mouse coordinates to world coordinates. Here is a nice tutorial for cameras here if you want to take a look: http://nova-fusion.com/2011/04/19/cameras-in-love2d-part-1-the-basics/ http://nova-fusion.com/2011/04/22/cameras-in-love2d-part-2-parallax-scrolling/ http://nova-fusion.com/2011/...
- Wed Feb 08, 2012 6:10 pm
- Forum: Support and Development
- Topic: Efficient Image Drawing
- Replies: 10
- Views: 4095
Re: Efficient Image Drawing
I have a AMD Athlon 3000 (monocore), 1 GB of ram and a Geforce4 MX (low-cost card from 2004, worse than Geforce3, probably worse than yours). And I've run games with quite a large amount of images, so I'm quite surprised.
- Wed Feb 08, 2012 6:01 pm
- Forum: Support and Development
- Topic: love.timer.getFPS() isn't working fine (I think)
- Replies: 6
- Views: 2537
Re: love.timer.getFPS() isn't working fine (I think)
That's my dream of perfect stability! Is there really a noticeable difference between those two?molul wrote:is going between 59 to 61
- Wed Feb 08, 2012 4:21 pm
- Forum: Support and Development
- Topic: Efficient Image Drawing
- Replies: 10
- Views: 4095
Re: Efficient Image Drawing
Could you post a .love file so we can take a look anyway? I'm curious
- Tue Feb 07, 2012 2:53 pm
- Forum: Support and Development
- Topic: Shooting enemies
- Replies: 7
- Views: 3271
Re: Shooting enemies
Yeah, insert them in a table so you can show some nice explosions before removing them
- Mon Feb 06, 2012 10:23 pm
- Forum: Libraries and Tools
- Topic: Successful random maze generator. EDIT now a simple game.
- Replies: 9
- Views: 4462
Re: Successful random maze generator.
Looks cool, in just a few seconds I understood what the code was "thinking" to do the maze. Great job, I love this kind of "animation calculation" thingies. Though, at the end of the first run the program freezes and I had to kill it. And didn't got it to work again. Weird. Let's...
- Mon Feb 06, 2012 7:59 pm
- Forum: Support and Development
- Topic: How to load map from txt file
- Replies: 6
- Views: 4751
Re: How to load map from txt file
Add a "return {" at the beggining and a "}" at the end. That way you can simply execute the file and get the matrix. If you want to store it as a string I use this magic piece of code that I don't understand from kikito ( https://github.com/kikito/love-tile-tutorial/wiki ): tileT...
- Sat Feb 04, 2012 5:12 pm
- Forum: General
- Topic: Corona SDK code engine "misused"
- Replies: 5
- Views: 3650
Re: Corona SDK code engine "misused"
Copying and not changing the background image with the copied company's logo. FAIL.
- Sat Feb 04, 2012 2:29 pm
- Forum: Support and Development
- Topic: Box-drawing characters/other UTF-8?
- Replies: 17
- Views: 9563
Re: Box-drawing characters/other UTF-8?
You can easily use "string.sub", taking a substring starting and ending at the first character. For example:
Prints ¥.
Code: Select all
function love.draw()
x = string.sub("¥×¤€ìng? likæ th?s", 1, 1)
love.graphics.print(x, 400, 300)
end
- Thu Feb 02, 2012 11:24 pm
- Forum: Support and Development
- Topic: SICK highscore.set - could not open file. does not exist.
- Replies: 10
- Views: 2097
Re: SICK highscore.set - could not open file. does not exist
I got the same problem when I tried to use it. I ended up making my own highscore sistem with http://lua-users.org/wiki/SaveTableToFile