Search found 148 matches
- Wed Jun 22, 2016 12:11 am
- Forum: Support and Development
- Topic: love.filesystem.mount question about loading content from save directory
- Replies: 8
- Views: 4438
Re: love.filesystem.mount question about loading content from save directory
Thanks for your help! I got the program to mount and read the files in the zip. Just a case of me reading the documentation more closely again with your pointers :awesome: For the gentle reader who is facing the same problem as I did but perhaps is want to dig through the docs... first thing, if you...
- Tue Jun 21, 2016 11:40 am
- Forum: Support and Development
- Topic: love.filesystem.mount question about loading content from save directory
- Replies: 8
- Views: 4438
Re: love.filesystem.mount question about loading content from save directory
Hi what I want to do is keep the program content data separate from the program code. So I could use the same code and just drop a different content zip (or possibly an ace file.) have the data. Just so I could do updates ect easily. And have an easy way to distribute updates for content to certain ...
- Tue Jun 21, 2016 10:01 am
- Forum: Support and Development
- Topic: love.filesystem.mount question about loading content from save directory
- Replies: 8
- Views: 4438
Re: love.filesystem.mount question about loading content from save directory
Hi thank you for your answers, I was just trying to understand the thinking behind the framework. Ideally I want to keep everything within a file structure that I can define. If it has to be in the save directory, its ok. I can just set something up like projectfile/save/assets/images/character/ pro...
- Tue Jun 21, 2016 9:30 am
- Forum: Support and Development
- Topic: love.filesystem.mount question about loading content from save directory
- Replies: 8
- Views: 4438
love.filesystem.mount question about loading content from save directory
Hi I have a few questions about loading files from the zip folder, I understand that I need to have a copy of the zip file in the save folder of the love project directory. So the structure i have is loveproject/assets/save/data.zip I found the following code on the forum and this appears to unzip t...
- Sat Jun 18, 2016 4:49 pm
- Forum: Support and Development
- Topic: Hump & transition image effects
- Replies: 14
- Views: 10889
Hump & transition image effects
Hi, What I would like to do is make a set of functions that handle transitions between states in my program. I got the hump library working ok I ran some of the examples but others seemed to be incomplete and error. There was this one snippet of code that was commented as being useful for splash scr...
- Thu Jun 16, 2016 11:54 am
- Forum: Support and Development
- Topic: Sound synthesis and strange error from tutorial.
- Replies: 4
- Views: 1893
Re: Sound synthesis and strange error from tutorial.
Thank you for your help Nixola much appreciated. function Oscillator(freq) local phase = 0 return function() phase = phase + 2*math.pi/rate if phase >= 2*math.pi then phase = phase - 2*math.pi end return math.sin(freq*phase) end end function love.load() len = 2 rate = 44100 bits = 16 channel = 1 sou...
- Thu Jun 16, 2016 10:19 am
- Forum: Support and Development
- Topic: Sound synthesis and strange error from tutorial.
- Replies: 4
- Views: 1893
Re: Sound synthesis and strange error from tutorial.
Sure function Oscillator(freq) local phase = 0 return function() phase = phase + 2*math.pi/rate if phase >= 2*math.pi then phase = phase - 2*math.pi end return math.sin(freq*phase) end end function love.load() len = 2 rate = 44100 bits = 16 channel = 1 soundData = love.sound.newSoundData(len*rate,ra...
- Thu Jun 16, 2016 9:32 am
- Forum: Support and Development
- Topic: Sound synthesis and strange error from tutorial.
- Replies: 4
- Views: 1893
Sound synthesis and strange error from tutorial.
Back in the day there were some great books for the Atari and commodore about making your own sounds for games. I realised after a quick check that love has the potential to do this also. What I am getting stuck on is that the example tutorial is pretty basic and seems to not work. http://www.headch...