Glad to help
Search found 98 matches
- Sun Apr 21, 2024 5:55 pm
- Forum: Support and Development
- Topic: [SOLVED] Mapping
- Replies: 11
- Views: 251
Re: Mapping
- Sun Apr 21, 2024 5:39 pm
- Forum: Support and Development
- Topic: [SOLVED] Mapping
- Replies: 11
- Views: 251
Re: Mapping
This code here, in love.load: num_tiles = 60 tiles = {} for i = 1, num_tiles do tiles[i] = love.graphics.newImage("/DungeonTiles01/" .. string.format("%02d", i) .. ".png") end should be replaced with this code (which you currently have in love.draw): tiles = {} for _, r...
- Sun Apr 21, 2024 4:39 pm
- Forum: Support and Development
- Topic: [SOLVED] Mapping
- Replies: 11
- Views: 251
Re: Mapping
If you share your code as a .love file I can hopefully find exactly where your problem is.
- Sun Apr 21, 2024 4:32 pm
- Forum: Support and Development
- Topic: [SOLVED] Mapping
- Replies: 11
- Views: 251
Re: Mapping
Hello, would you mind sharing the error you get?Todespreis wrote: ↑Sun Apr 21, 2024 4:25 pm Exactly! But your code is'nt working. I get the same error
- Sun Apr 21, 2024 4:08 pm
- Forum: Support and Development
- Topic: [SOLVED] Mapping
- Replies: 11
- Views: 251
Re: Mapping
If I understand correctly, you're trying to load images for tiles that don't exist, like 01.png To solve this, you can iterate over your tilemap to pick out the tiles that are actually used: tiles = {} for _, row in ipairs(tilemap) do for _, tile in ipairs(row) do if tiles[tile] == nil then tiles[ti...
Re: Lua
You need to pass the scale twice, one for X and one for Y:
Code: Select all
love.graphics.draw(PlaImg, posX, posY, rot, tam, tam, ori, ori)
- Sun Mar 03, 2024 2:18 pm
- Forum: Support and Development
- Topic: Can a non-Windows peep test my love file?
- Replies: 8
- Views: 1621
Re: Can a non-Windows peep test my love file?
For Linux, you can very easily set up a VM to do your testing. Look into installing and hosting Linux on Virtual Box.
- Fri Jan 19, 2024 6:08 pm
- Forum: Support and Development
- Topic: Detecting if Keylock is on?
- Replies: 4
- Views: 994
- Thu Jan 04, 2024 11:08 pm
- Forum: Games and Creations
- Topic: Just launched Typing Bullets on Steam
- Replies: 16
- Views: 198386
Re: Just launched Typing Bullets on Steam
If I ever get my game on steam, I'll probably use luasteam - side note, is it possible to test this stuff out without having to pay the submission fee? Probbaly not something I should be wasting my time on yet buuuuuuuut it would be fun to learn how to do achievements and stuff. No, I think you nee...
- Thu Jan 04, 2024 12:47 am
- Forum: Games and Creations
- Topic: Just launched Typing Bullets on Steam
- Replies: 16
- Views: 198386
Re: Just launched Typing Bullets on Steam
I've had some success in testing with luasteam:
https://github.com/keharriso/luasteam
It's been fairly easy to implement new/missing functions, and I've been adding more as I need them.
https://github.com/keharriso/luasteam
It's been fairly easy to implement new/missing functions, and I've been adding more as I need them.