Search found 104 matches

by dusoft
Sun Apr 02, 2017 7:04 pm
Forum: Libraries and Tools
Topic: osmlove library (OSM maps in your Love2D projects)
Replies: 10
Views: 4152

osmlove library (OSM maps in your Love2D projects)

Hi, I have created a library that allows you to use geoJSON file (OSM XML to be implemented soon) and draw a map based on this. Currently, only roads/streets/sidewalks/bridges (OSM type 'highways') are supported, but implementation of others is easy and will be coming. Custom rules can be defined re...
by dusoft
Sun Apr 02, 2017 6:55 pm
Forum: Support and Development
Topic: canvas black & white only?
Replies: 14
Views: 5239

canvas black & white only?

I am trying to use canvas for caching hundreds of individual drawing operations that would otherwise have to run every love.draw loop. Unfortunately, I have a problem. Whatever color I set when drawing to canvas, this is not kept when drawing cached canvas from the main loop. I can individually set ...
by dusoft
Thu Mar 02, 2017 5:28 pm
Forum: Support and Development
Topic: Unlimited coordinates system / unlimited map
Replies: 4
Views: 1026

Re: Unlimited coordinates system / unlimited map

Cool, thanks, I understand.
by dusoft
Thu Mar 02, 2017 5:54 am
Forum: Support and Development
Topic: Text limitations
Replies: 6
Views: 2128

Re: Text limitations

I would recommend storing the messages in the log queue (list/array) and the using

Code: Select all

ipairs
function to iterate over and printing line by line.

I don't think that printing 100 lines has any impact on performance.
by dusoft
Thu Mar 02, 2017 5:50 am
Forum: Support and Development
Topic: Unlimited coordinates system / unlimited map
Replies: 4
Views: 1026

Re: Unlimited coordinates system / unlimited map

great!

will

Code: Select all

love.graphics.setScissor
be respected impact-wise in terms of not drawing anything else beside the selected rectangle?
by dusoft
Wed Mar 01, 2017 4:48 pm
Forum: Support and Development
Topic: Unlimited coordinates system / unlimited map
Replies: 4
Views: 1026

Unlimited coordinates system / unlimited map

Hi, Probably this idea is not new, but I have tried to use out of window (screen resolution) coordinates in love.graphics (e.g. line, rectangle etc.) and it works. (think using negative coordinates that are to the left and top of 0,0 or coordinates to the right/bottom of window width/height) So I wa...
by dusoft
Sun Nov 02, 2014 3:36 pm
Forum: Support and Development
Topic: Loading a .lua file multiple times...
Replies: 10
Views: 3190

Re: Loading a .lua file multiple times...

Check this state manager/switcher, it load the same file over and over without a problem:
http://www.ambience.sk/love2d-a-state-s ... class-lua/
by dusoft
Thu Aug 28, 2014 12:59 pm
Forum: Support and Development
Topic: Love2D Windows, Android, Flash (test) exporter
Replies: 25
Views: 10167

Re: Love2D Windows, Android, Flash (test) exporter

http://s1.uploadpics.ru/images/bkPABnZHM.png Programm make executable files for Windows, Android and Flash (test, maybe not working) ...snip... It's nice to see new programs, but we have the existing superior distribution creator already: https://github.com/MisterDA/love-release or see more here: h...
by dusoft
Mon Aug 25, 2014 11:18 am
Forum: Libraries and Tools
Topic: Table editor - numTable 1.5
Replies: 18
Views: 6252

Re: Table editor - numTable 1.3

numTable 1.3 is table editor with 9 output formats. I'm using this for making maps. Ctrl = move the camera Ctrl+N = New Ctrl+S = Save Ctrl+D = Open containing folder Left mouse button = Modifying a single cell Right mouse button = Fast cell modifying Mouse wheel = Selects tile number Bugs: -low fps...
by dusoft
Sat Aug 23, 2014 8:21 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 162657

Re: "Questions that don't deserve their own thread" thread

IceQB wrote:I have little question, how to make something work only for all numbers more from n?
For example:

Code: Select all

egg = {1,2.3.4,5}
n = 2

--egg 3,4 and 5 do /something/

Code: Select all

if egg>2 then do...