Search found 16 matches
- Wed May 29, 2019 3:41 am
- Forum: Support and Development
- Topic: Filesystem Loading and Writing Questions
- Replies: 1
- Views: 3460
Filesystem Loading and Writing Questions
I'm working on writing to a file and loading it to act as a save feature. It works but I have a few of questions. What's the difference between using love.filesystem.write() and using a File object to write (File:write())? When I use either of these functions it does work when I read the file in LOV...
- Wed Jun 20, 2018 3:39 pm
- Forum: Support and Development
- Topic: [SOLVED]HUMP Gamestate Issue: Passing Parameters Into New State
- Replies: 6
- Views: 5846
Re: HUMP Gamestate Issue: Passing Parameters Into New State
Okay the code is working now! Thank you Lirija!
- Wed Jun 20, 2018 12:02 am
- Forum: Support and Development
- Topic: [SOLVED]HUMP Gamestate Issue: Passing Parameters Into New State
- Replies: 6
- Views: 5846
Re: HUMP Gamestate Issue: Passing Parameters Into New State
Nope, still nothing. Also if I read the readme correctly, Gamestate.registerEvents() is used to automatically call state callbacks corresponding with love's (ex. Gamestate.draw() is automatically called when love.draw() is called.)
- Tue Jun 19, 2018 9:36 pm
- Forum: Support and Development
- Topic: [SOLVED]HUMP Gamestate Issue: Passing Parameters Into New State
- Replies: 6
- Views: 5846
Re: HUMP Gamestate Issue: Passing Parameters Into New State
@Lirija Sadly this isn't working for me. Using the same call as you did it appears that the extra parameters are not passing through. Here's the changes what I did with stateTwo following your instructions. StateTwo = {} local stat, x, y = nil function StateTwo:init() end --WHAT I WANT function Stat...
- Tue Jun 19, 2018 8:31 pm
- Forum: Support and Development
- Topic: [SOLVED]HUMP Gamestate Issue: Passing Parameters Into New State
- Replies: 6
- Views: 5846
[SOLVED]HUMP Gamestate Issue: Passing Parameters Into New State
Currently I'm writing a simple menu system using HUMP's Gamestate library . I've read the page, the readme, and that Gamestate.switch()/Gamestate.push() accepts extra parameters, but I just can't seem to figure out how to use those parameters onto a new gamestate. I coded something simple to show wh...
- Fri Jun 08, 2018 10:55 pm
- Forum: Support and Development
- Topic: Simple Recursive Tactical RPG Movement Range Issue
- Replies: 2
- Views: 2480
- Fri Jun 08, 2018 2:18 am
- Forum: Support and Development
- Topic: Simple Recursive Tactical RPG Movement Range Issue
- Replies: 2
- Views: 2480
Simple Recursive Tactical RPG Movement Range Issue
So I'm working on a simple Fire Emblem like game. But the movement range that it calculates is a bit buggy when the movement range is 3. I'm using a recursive function that will check if a space can be reached by a unit, if it can't it jumps out of the recursion, if it does then it is added to an ar...
- Thu Aug 31, 2017 9:26 pm
- Forum: Games and Creations
- Topic: My First Game: Town
- Replies: 17
- Views: 16834
Re: My First Game: Town
Hi all! Thanks for all your advice and links are really helpful! I've looked into the Tiled editor and I'll probably be using that for future map making. It's really great to draw out the map and it spits out the all the data into one file, it'll save me lots of time and headaches. I had to original...
- Sat Aug 26, 2017 11:54 pm
- Forum: Games and Creations
- Topic: My First Game: Town
- Replies: 17
- Views: 16834
Re: My First Game: Town
Very nice work, I appreciate, it reminds me of so many games I loved ^-^ How do you intend to do to expand the game world ? I've seen it was hard-coded in Lua, which allows for more complex data. Wouldn't be a level editor a good thing on such a game ? Thanks for your feedback, I'm glad you liked i...
- Fri Aug 18, 2017 7:45 pm
- Forum: Games and Creations
- Topic: My First Game: Town
- Replies: 17
- Views: 16834
Re: My First Game: Town
Please convert these to a sensible format - preferably lossless in fact, even midi might work well for this sort of game. A prototype like this shouldn't be larger than 1-2 MB. I'll remember to use a different audio format for next time. :) Also, how would you recommend decreasing the file size?