Search found 41 matches

by NÖÖB
Fri Dec 20, 2013 8:11 pm
Forum: Support and Development
Topic: Game Music Emu - how do I use it?
Replies: 10
Views: 3231

Re: Game Music Emu - how do I use it?

bartbes: will any of the binaries you ship have gme enabled in the future? :)
by NÖÖB
Fri Dec 20, 2013 8:01 pm
Forum: Support and Development
Topic: Game Music Emu - how do I use it?
Replies: 10
Views: 3231

Re: Game Music Emu - how do I use it?

-_-

"0.9.0 Additions:
(...)
OPTIONAL: Added support for Game Music Emu".

That's all I can find about it on the wiki. I also know GME supports nsf. Don't know what they mean by optional, though. Perhaps I have to build love with some flag set..?
by NÖÖB
Fri Dec 20, 2013 7:49 pm
Forum: Support and Development
Topic: Game Music Emu - how do I use it?
Replies: 10
Views: 3231

Re: Game Music Emu - how do I use it?

Well, yes, I've tried playing it like this

Code: Select all

function love.load()
   song1 = love.audio.newSource("kim280513.nsf")
   love.audio.play( song1 )
end

etc..
etc..
but then love.exe tells me

Code: Select all

Error
Extension "nsf" not supported
by NÖÖB
Fri Dec 20, 2013 7:29 pm
Forum: Support and Development
Topic: Game Music Emu - how do I use it?
Replies: 10
Views: 3231

Game Music Emu - how do I use it?

Hey,
can anyone tell me how to play, say, an .nsf?
I can't find anything about GME on the wiki, other than that it's supported by 0.9.0 :)
by NÖÖB
Wed Aug 08, 2012 9:59 pm
Forum: Libraries and Tools
Topic: Playing Video. mjpeg decoder in pure lua. With audio!
Replies: 23
Views: 8540

Re: Playing Video. mjpeg decoder in pure lua. With audio!

Awesome!

Put this in loader_thread.lua:

Code: Select all

while running do
collectgarbage("collect")
and this in main.lua

Code: Select all

function love.update(dt)
collectgarbage("collect")
Then the memory usage gets much lower -- 25mb
by NÖÖB
Tue Jul 31, 2012 10:10 pm
Forum: Support and Development
Topic: Accept input from scandinavian characters æøåäöå
Replies: 10
Views: 3251

Re: Accept input from scandinavian characters æøåäöå

The following gives the error "graphics.lua:1265: Decoding error: Not enough space". I've uploaded a .love containing a font with the æøå characters.. function love.load() font = love.graphics.newFont("op.ttf", 12) love.graphics.setFont(font) end function love.draw() love.graphics.print("Æ", 0,0 ) e...
by NÖÖB
Mon Jul 30, 2012 10:16 pm
Forum: Support and Development
Topic: Accept input from scandinavian characters æøåäöå
Replies: 10
Views: 3251

Accept input from scandinavian characters æøåäöå

Hey, when I run the example at https://love2d.org/wiki/love.keypressed, after commenting "if unicode > 31 and unicode < 127 then ..." and try to press æ, ø or å on my keyboard, the program crashes. Is it possible to make Löve accept these keys, and display them?
by NÖÖB
Tue Jul 24, 2012 8:32 pm
Forum: Support and Development
Topic: What's bad about a Canvas?
Replies: 14
Views: 4025

Re: What's bad about a Canvas?

Could you do it like this? -- without canvas. I've supplied example images in the .love function love.load() _a = 0 love.graphics.setDefaultImageFilter("nearest", "nearest") playerImageBuffer = love.image.newImageData(32, 32) -- initialize PO2 buffer playerImageHead = love.image.newImageData("head00...
by NÖÖB
Sun Jul 08, 2012 10:11 pm
Forum: Libraries and Tools
Topic: Sync to sound
Replies: 5
Views: 1147

Re: Sync to sound

New version :) do download the .love, as the code depends on the audio file inside. -- Synchronizing graphics to music. -- -------------------------------------- -- In order for this to work, the music you're using has to be a perfect loop, with constant intervals between beats, and no silence at th...
by NÖÖB
Fri Jul 06, 2012 10:50 pm
Forum: Libraries and Tools
Topic: Sync to sound
Replies: 5
Views: 1147

Re: Sync to sound

Wow.. hehe :P

if position <= 11008 should be enough..