Search found 51 matches

by randy0428
Mon Dec 17, 2018 4:02 pm
Forum: Support and Development
Topic: tlfres cursor change works but click doesn’t
Replies: 5
Views: 3508

tlfres cursor change works but click doesn’t

I have a game I want to export to Android, so I’m trying to use tlfres to get it to scale to different resolutions. When I first tried it, it seemed to be working. It scaled as expected. The game has a function to change the cursor when it is over a clickable area and this worked as expected. Howeve...
by randy0428
Tue Jan 23, 2018 3:50 pm
Forum: Support and Development
Topic: Is Tlfres defunct?
Replies: 8
Views: 4133

Re: Is Tlfres defunct?

Thanks, MMR4tzvp.
I took a quick look at the push page on github and it looks good. I'll look at using it sometime in the future, but I'm occupied with some other things right now.
Thanks again.
by randy0428
Thu Jan 18, 2018 7:18 pm
Forum: Support and Development
Topic: Is Tlfres defunct?
Replies: 8
Views: 4133

Is Tlfres defunct?

Is Tlfres defunct? I tried using it based on https://love2d.org/wiki/TLfres and it didn’t work in my project. It just gave me a black window. So I tried a test of the code on the above referenced page. I made a directory called scaler. Inside this directory I created 3 blank files, conf.luamain.lua ...
by randy0428
Thu Jan 18, 2018 4:52 pm
Forum: Support and Development
Topic: confused about print() statements
Replies: 3
Views: 2667

SOLVED: confused about print() statements

Thanks zorg and erasio. Erasio, your solution worked for me. I added "io.stdout:setvbuf("no")" at the beginning of main.lua and commented out the print statement that was "allowing" the other print statements to print and the other print statments printed. I then commen...
by randy0428
Thu Jan 18, 2018 3:58 pm
Forum: Support and Development
Topic: confused about print() statements
Replies: 3
Views: 2667

confused about print() statements

I'm VERY confused. In main.lua I have function love.draw(), the first line of which is: print("Game has started."). This is followed by a love.graphics.draw statement that draws the background image. After this there is a series of if statements to call a draw function depending on the gam...
by randy0428
Fri Oct 13, 2017 3:22 pm
Forum: General
Topic: order that love loads files
Replies: 2
Views: 1825

Resolved: order that love loads files

Thanks for the explanation, hamberge.
That solved the mystery and the problem.
by randy0428
Fri Oct 13, 2017 2:23 pm
Forum: General
Topic: order that love loads files
Replies: 2
Views: 1825

order that love loads files

I am confused about how love loads. I’m trying to use a global variable, “timesAllowed”. I tried initializing it in main.lua in two ways, neither of which seemed to work as I expected. That is, when I tried to use this variable in another file, I got an error that the variable has a nil value. Note:...
by randy0428
Mon Oct 02, 2017 12:18 pm
Forum: General
Topic: draw a rectangle vs use an image
Replies: 4
Views: 2598

Re: draw a rectangle vs use an image

Thanks for the info, grump.
by randy0428
Sun Oct 01, 2017 9:32 pm
Forum: General
Topic: draw a rectangle vs use an image
Replies: 4
Views: 2598

Re: draw a rectangle vs use an image

Let me clarify my question. I've created my own mini-standard library. One of the functions in it creates a box with border (caixa com borda). The code for this function is below. Some of the variables are: corBorda is the color of the border (the color of the larger box - color names are also defin...
by randy0428
Sun Oct 01, 2017 7:24 pm
Forum: General
Topic: draw a rectangle vs use an image
Replies: 4
Views: 2598

draw a rectangle vs use an image

I'm curious to know which uses less resources and if the difference is significant between drawing two rectangles and using one image. To create buttons, I generally draw two boxes of different colors, one slightly smaller than the other so the the bigger box becomes a border for the smaller box. Wo...