Search found 533 matches

by MadByte
Sun Jun 02, 2013 7:38 pm
Forum: General
Topic: BaconGameJam 05 | June 7th - 9th | 22:00 UTC
Replies: 11
Views: 3247

Re: BaconGameJam 05 | June 7th - 9th | 22:00 UTC

Eamonn wrote:Like Davidobot said, good luck if you're participating!
Thanks, I will. Good luck, Eamonn.
I think it's not about win the jam, it's more about the things you learn from it - & you actually get feedback for your game from most people.
That's also pretty importent.
by MadByte
Sun Jun 02, 2013 8:57 am
Forum: General
Topic: Can't make a file to save game data
Replies: 9
Views: 7208

Re: Can't make a file to save game data

If you don't change anything then it will save in the %appdata% directory. ( windows )
i.e C:/users/user/appdata/LOVE/YourGameName/
by MadByte
Sun Jun 02, 2013 8:49 am
Forum: General
Topic: Can't make a file to save game data
Replies: 9
Views: 7208

Re: Can't make a file to save game data

Zeliarden wrote:or use love filesystem... ;)

Code: Select all

--saves
love.filesystem.write( "save.lua", Tserial.pack(coins) )
-- loads
coins = Tserial.unpack( love.filesystem.read( "save.lua"  ) )
arw. :/ that easy ... But my attempt is good practice... ! :D
by MadByte
Sun Jun 02, 2013 8:39 am
Forum: General
Topic: Can't make a file to save game data
Replies: 9
Views: 7208

Re: Can't make a file to save game data

Next time try to post problems in the "Support & Devlopment" area. I save files by serialize tables. You will need a Serialization library or write it on your own. I use TSerial . Then do something like this. function saveOptions() local file file = love.filesystem.newFile( "confi...
by MadByte
Sat Jun 01, 2013 2:15 pm
Forum: Support and Development
Topic: Audio Looping(again :I )?
Replies: 7
Views: 3557

Re: Audio Looping(again :I )?

I tested it again and I've found following: I have a .ogg file with a short sound ( ~1,5esc ). I used this code: function love.load() song = love.audio.newSource('song.ogg') song:setLooping(true) end function love.update(dt) song:play() end After ~ 15 loops the sound stopped. But when calling the Pl...
by MadByte
Sat Jun 01, 2013 2:00 pm
Forum: General
Topic: BaconGameJam 05 | June 7th - 9th | 22:00 UTC
Replies: 11
Views: 3247

BaconGameJam 05 | June 7th - 9th | 22:00 UTC

Hi Lövers,

The BGJ05 starts in 6 days & and there are already 133 participants registed :nyu:


To everyone who does not know what it is :
BaconGamJam


Is anyone going to participate ?

greets,
The MadByte
by MadByte
Sat Jun 01, 2013 1:34 pm
Forum: Support and Development
Topic: Audio Looping(again :I )?
Replies: 7
Views: 3557

Re: Audio Looping(again :I )?

Good, so for me exactly the same code you use work on my computer. ( using a .ogg )
If your music file is fine I really had no clue why this shouldn't work.
by MadByte
Sat Jun 01, 2013 1:16 pm
Forum: Support and Development
Topic: Audio Looping(again :I )?
Replies: 7
Views: 3557

Re: Audio Looping(again :I )?

Try converting the mp3 to ogg. I guess löve has problems with the mp3 format sometimes.
edit: also I'm not sure if there is a problem with calling the :play() method everytime in the update loop.
by MadByte
Sat Jun 01, 2013 8:25 am
Forum: Support and Development
Topic: Selectable Window
Replies: 4
Views: 3007

Re: Selectable Window

bartbes wrote:I believe love frames has a lot of windowing features, never used it though.
Link
by MadByte
Fri May 31, 2013 9:40 pm
Forum: Support and Development
Topic: [solved] How i make UI D:
Replies: 2
Views: 2099

Re: How i make UI D:

simply set the ui outside of the camera drawing range.

i.e

Code: Select all

function love.draw()
  camera:set()
  drawGame()
  camera:unset()
  drawUi()
end
I'm not familiar with the hump camera, but most camera classes work like this.
This solution should work with this one.