Search found 4650 matches

by bartbes
Sun Mar 19, 2017 12:38 pm
Forum: Support and Development
Topic: Need an efficient binary networking example for server & clients.
Replies: 21
Views: 441

Re: Need an efficient binary networking example for server & clients.

strings are the natural way to represent binary data in lua. They are pretty much "a bag of bytes" everywhere that doesn't involve display or specific encodings.
by bartbes
Wed Mar 15, 2017 7:44 pm
Forum: Ports
Topic: ODROID C1 - How do I port Love2d - lubuntu (armhf)
Replies: 11
Views: 2043

Re: ODROID C1 - How do I port Love2d - lubuntu (armhf)

Ah, there's a software OpenGL implementation it prefers? That's possible, since love probes for OpenGL before GLES. You can have it prefer GLES by setting the environment variable LOVE_GRAPHICS_USE_OPENGLES to 1, or setting the define LOVE_GRAPHICS_USE_OPENGLES when compiling.
by bartbes
Wed Mar 15, 2017 7:40 pm
Forum: Support and Development
Topic: Pixelart - Canvas rendering question
Replies: 19
Views: 476

Re: Pixelart - Canvas rendering question

Please.
Don't.
Quadruple.
Post.
by bartbes
Wed Mar 15, 2017 10:16 am
Forum: Ports
Topic: ODROID C1 - How do I port Love2d - lubuntu (armhf)
Replies: 11
Views: 2043

Re: ODROID C1 - How do I port Love2d - lubuntu (armhf)

Unsurprisingly, things have changed over the last 2 years. Love now always supports GLES out of the box, I'm not sure what error you're getting from the binary package, but GLES (2) support is in there. If you do want to compile it yourself, you can either get the source package from the downloads, ...
by bartbes
Mon Mar 13, 2017 2:30 pm
Forum: Support and Development
Topic: how to convert Image to ImageData?
Replies: 17
Views: 379

Re: how to convert Image to ImageData?

Image:getData was removed roughly three weeks ago. Along with the implicit conversion from Image to ImageData (see wrap_Graphics.cpp in that commit).
by bartbes
Fri Mar 03, 2017 10:01 am
Forum: Support and Development
Topic: How to install STI
Replies: 7
Views: 569

Re: How to install STI

Using love2d it works and there are no problems when I use require. When I try to just load it using Lua (version 5.2) it fails. Hah, I knew this was going to come up. second, Lua can require folders if the folder has an init file. so you only need to require "sti". In versions of lua before 5.3 th...
by bartbes
Sun Feb 26, 2017 6:00 pm
Forum: Support and Development
Topic: Ios simulator error
Replies: 4
Views: 171

Re: Ios simulator error

That's the exact same error from this topic, just 3 days old!
by bartbes
Sat Feb 25, 2017 5:37 pm
Forum: Support and Development
Topic: Peer-to-Peer Networking Question
Replies: 10
Views: 467

Re: Peer-to-Peer Networking Question

I'm sure I've seen it done without a master server, but I can't remember where. I may have been thinking of this: http://samy.pl/pwnat/ Though it does presume the client knows the server's public ip (and port?), which seems a bit weird. Of course if two players actually exchanged IPs (host has clie...
by bartbes
Sat Feb 25, 2017 11:03 am
Forum: Support and Development
Topic: Peer-to-Peer Networking Question
Replies: 10
Views: 467

Re: Peer-to-Peer Networking Question

You should be able to do holepunching without an intermediary server if you have players exchange their ip addresses outside of the game. Which kind of requires that server. For most NAT types the following (udp!) method works: Magically obtain a server list (usually by having a master server where...
by bartbes
Wed Feb 22, 2017 1:52 pm
Forum: General
Topic: Dev on Rasberry Pi series
Replies: 3
Views: 187

Re: Dev on Rasberry Pi series

Alternatively, you can build love 0.10.2 from source and it won't require experimental opengl drivers.