Search found 6 matches
- Fri May 28, 2021 4:28 pm
- Forum: General
- Topic: Love2D to switch
- Replies: 11
- Views: 29671
Re: Love2D to switch
I really wish Nintendo would get rid of those NDAs, I wonder what their motivations are because to me this seems counter productive. Nintendo doesn't always make the most sound decisions so it might just be because they're used to it. It's a quality thing. Nintendo would rather release a few, high ...
- Sat May 08, 2021 7:51 pm
- Forum: General
- Topic: What is your advice for saving game state?
- Replies: 6
- Views: 7361
Re: What is your advice for saving game state?
I put all my saveable data into one table, and used a library called table_save to save and load it. It works fine, but could easily be swapped out for some other system if I wanted more security or whatever. My inventory and level state data are in sub-tables inside the main savedata table. The oth...
- Thu Apr 22, 2021 3:29 pm
- Forum: Support and Development
- Topic: Love doesnt wanna accept my structure
- Replies: 8
- Views: 7193
Re: Love doesnt wanna accept my structure
OK SO IM DONE, because I disabled the level[tableY - 1][tableX] and IT WORKED FINE AND THERE ARE ANOTHER 3 EXACT SAME LINES BUT IT'S JUST SMTH ABOUT THIS PARTICULAR LINE IM DONE This is the function: function drawTiles(level) ... local up = tableY < 0 --or level[tableY - 1][tableX] == 1 <- this is ...
- Tue Apr 20, 2021 11:44 am
- Forum: Support and Development
- Topic: Efficiently drawing a grid map
- Replies: 19
- Views: 11941
Re: Efficiently drawing a grid map
You could draw the whole map to a canvas, and then just draw the canvas each frame. The problem there would likely be texture size, depending on how big your map is. Or you could draw a screenful to a canvas, or slightly more than a screenful to give you a bit of scrolling before you need to redraw....
- Fri Apr 16, 2021 2:40 pm
- Forum: Support and Development
- Topic: Why doesn't Font.getHeight() work the same as Font.getWidth()?
- Replies: 3
- Views: 4210
Why doesn't Font.getHeight() work the same as Font.getWidth()?
Hello, I just posted my first ever project in the Games and Creations forum, and I have many novice questions, but this was perhaps the major annoyance of my first project. Font.getWidth(string) gives you the width of the string, taking embedded newlines into account. Font.getHeight() doesn't take a...
- Fri Apr 16, 2021 2:13 pm
- Forum: Games and Creations
- Topic: The Eye of Gath - Dungeon crawler RPG
- Replies: 1
- Views: 15463
The Eye of Gath - Dungeon crawler RPG
Hi, The Eye of Gath is a first-person dungeon crawler RPG originally written in 7 days for the Dungeon Crawler Jam 2021. The Jam version was hilariously incomplete, so I didn't mention it here, but now I've released an update filling it out a bit, and it's much more of an actual game. It's here: htt...