Search found 706 matches

by Germanunkol
Sat Dec 22, 2012 5:11 pm
Forum: Support and Development
Topic: [SOLVED] Invoking love through ssh?
Replies: 3
Views: 679

Re: Invoking love through ssh?

What do you mean by "grepping" my source? Do you mean the source of my game? It has nothing to do with my game. For one thing, my game runs fine if I call it using a vnc client. Also, just calling ~/Love/love-0.8.0/src/love without any arguments (i.e. the rubber piggie should be shown) it still give...
by Germanunkol
Sat Dec 22, 2012 12:36 pm
Forum: Support and Development
Topic: [SOLVED] Invoking love through ssh?
Replies: 3
Views: 679

[SOLVED] Invoking love through ssh?

I have compiled love successfully on my Raspberry Pi. There's the famous GLX error (https://love2d.org/forums/viewtopic.php?f=3&t=8978&hilit=raspberry) but I don't mind, because all I need is the command line version of my game (mainly using the love.thread module). So I don't need graphical output....
by Germanunkol
Fri Oct 19, 2012 12:50 pm
Forum: Support and Development
Topic: Running/Compiling Löve without graphics?
Replies: 5
Views: 561

Re: Running/Compiling Löve without graphics?

Thanks to both of you for your answers! The conf.lua trick worked wonders. It runs the game without graphics and at the same time I can still communicate with the game using io.write() and typing in the console. Awesome, thank you! Now I just have to check if I can get all this to work on my Rasberr...
by Germanunkol
Thu Oct 18, 2012 3:25 pm
Forum: Support and Development
Topic: Running/Compiling Löve without graphics?
Replies: 5
Views: 561

Running/Compiling Löve without graphics?

Hi, I want to write a gameserver for my game. Ideally, I'd like it to use as much of the code that I have already written as possible. Also, it will need threads to run correctly and do everything I want to do. I was planning on only using plain Lua, since most of the server-side functions don't use...
by Germanunkol
Fri Oct 05, 2012 11:33 pm
Forum: Support and Development
Topic: Ending a thread?
Replies: 8
Views: 686

Re: Ending a thread?

Awesome:
Image
Speeds up the generating of my images SO much! Threads for ever!
by Germanunkol
Fri Oct 05, 2012 3:01 pm
Forum: Support and Development
Topic: Ending a thread?
Replies: 8
Views: 686

Re: Ending a thread?

Uh, that works...
I didn't see it in the manual. Thought you could only call it with a name... Thanks a lot!
by Germanunkol
Fri Oct 05, 2012 2:38 pm
Forum: Support and Development
Topic: Ending a thread?
Replies: 8
Views: 686

Re: Ending a thread?

Yay, it's working:
Image
Still, I don't know how to get a pointer to the currently running thread without knowing its name. Is there any way?
by Germanunkol
Fri Oct 05, 2012 6:18 am
Forum: Support and Development
Topic: Ending a thread?
Replies: 8
Views: 686

Re: Ending a thread?

Ah, yes, the garbage collector was the problem. Since it's just the map generator, it's not horrible if there's a tiny delay at the end of it. But since I might need threading for other parts of the project: if I pick a new name every time, how does the thread get a reference to itself? I currently ...
by Germanunkol
Thu Oct 04, 2012 8:59 pm
Forum: Support and Development
Topic: Ending a thread?
Replies: 8
Views: 686

Ending a thread?

I wrote a Lua script that renders my map in a separate thread. It all works very nicely, but when I get back to rendering a new map, I want to generate a new thread using the same code. At this point I get the error: "A thread with that name already exists." So my question is: How do I correctly "en...
by Germanunkol
Fri Sep 21, 2012 8:19 am
Forum: Support and Development
Topic: Screenshot is transparent?
Replies: 3
Views: 701

Re: Screenshot is transparent?

Thanks! I don't know why I didn't think of using mapPixel myself, I've been playing with it all day yesterday. Though you're right, it is pretty slow, especially for the full screen. I've tried pasting the imageData onto another imageData (fully black, no transparency) as well, which didn't work eit...