Search found 185 matches
- Fri Jul 08, 2016 1:48 pm
- Forum: General
- Topic: Access to the directory of the game?
- Replies: 15
- Views: 10005
Re: Access to the directory of the game?
To be fair, i myself have a few projects in the making, and the way i did config files were the following: Game startup: - If it/they do not exist in the save folder yet, then use internal copies and copy those to the save folder. - Load the config files from the save folder (and by config, i mean ...
- Thu Jul 07, 2016 11:25 am
- Forum: General
- Topic: Access to the directory of the game?
- Replies: 15
- Views: 10005
Re: Access to the directory of the game?
That would mean that the only difference between fused and unfused is that in the case of the fused game, the directory needs to be mounted before it can be read? If i would have been right in my previous post, yes; but since .love files are not automatically fused, you can not access the folder co...
- Thu Jul 07, 2016 5:35 am
- Forum: General
- Topic: Access to the directory of the game?
- Replies: 15
- Views: 10005
Re: Access to the directory of the game?
Thanks. The fused/unfused distinction makes things a tad more complicated. I also want to avoid using the save directory for things a user might want to access because that gets complicated as well. So far I have always developed my little games on Linux and packaged for OSX and Windows. Linux was u...
- Wed Jul 06, 2016 8:57 pm
- Forum: General
- Topic: Access to the directory of the game?
- Replies: 15
- Views: 10005
Re: Access to the directory of the game?
Thanks zorg, I did not even know there was a save directory... Do I understand the wiki page correctly that I could read a config file that is next to the .love but not write it? Example: games/mygame.love games/config.lua I guess I could read user settings from config.lua and write them to conf.lua...
- Wed Jul 06, 2016 5:27 pm
- Forum: General
- Topic: Access to the directory of the game?
- Replies: 15
- Views: 10005
Re: Access to the directory of the game?
I wonder since a long time and was just about to ask that
The reason in my case is that I would prefer the config file to be easily accessible by the user, so I'd like it to be a text file right next to the .love file. Is this possible?
The reason in my case is that I would prefer the config file to be easily accessible by the user, so I'd like it to be a text file right next to the .love file. Is this possible?
- Sun Apr 17, 2016 5:46 pm
- Forum: Support and Development
- Topic: Simple flight physics
- Replies: 5
- Views: 2676
Re: Simple flight physics
One thing I could not figure out and had to fake was my uplift thingy. I tried to do the following: _____ | u | | p | | l | | i | | f | | t | _____ | s | | o | | l | | i | | d | ____ So I tried to make a solid thing attached to which there is a thing that is not solid but where the player character ...
- Sun Apr 17, 2016 5:37 pm
- Forum: Libraries and Tools
- Topic: [Lib] SUIT - Simple User Interface Toolkit
- Replies: 81
- Views: 89357
Re: [Lib] SUIT - Simple User Interface Toolkit
I just had the same issue and probably did the same stupid workaround (reset the layout to reset the cell x, then guess the correct y position). The main example code is not exactly the code that generate the animated example and I am also not sure that it shows how to handle this issue sanely. What...
- Sun Apr 17, 2016 5:27 pm
- Forum: Libraries and Tools
- Topic: HUMP - yet another set of helpers
- Replies: 146
- Views: 129693
Re: HUMP - yet another set of helpers
Yes, I intended to spawn increasingly more enemies in a sort-of random time interval. This was the way I came up with (if you replace print with spawn, adjust time intervals to taste).
Is there a better way to do something like that?
Is there a better way to do something like that?
- Sun Apr 17, 2016 5:09 pm
- Forum: Support and Development
- Topic: Simple flight physics
- Replies: 5
- Views: 2676
Re: Simple flight physics
Thanks Hugo, I did it a lot simpler and a bit hackish as I had too little time to learn the physics stuff. Bad idea nr. 749: Take a day off during a 48h game jam. Anyway, the jam is over and here is my result: https://murks.itch.io/running-fairy Code: https://bitbucket.org/murks/klujam_2016 Jam page...
- Fri Apr 15, 2016 7:30 pm
- Forum: Support and Development
- Topic: Simple flight physics
- Replies: 5
- Views: 2676
Re: Simple flight physics
I am somewhat reluctant, fearing loosing too much time hunting weird calculation errors and stuff like that...