Search found 702 matches

by Ref
Tue Apr 13, 2021 1:31 am
Forum: Games and Creations
Topic: SnowFlakes
Replies: 5
Views: 6098

Re: SnowFlakes

And this is what I though SnowFlakes was going to be about.
by Ref
Tue Apr 13, 2021 1:24 am
Forum: General
Topic: Pipes: spritesheet, quads
Replies: 5
Views: 4299

Re: Pipes: spritesheet, quads

Off topic but does seem that everyone has to make an assembly type script.
Was going to add a save feature but came to the conclusion that it wasn't worth saving.
(TV was really quite poor so just a programming exercise.)
Touch to select, touch to place.
by Ref
Tue May 12, 2020 11:31 pm
Forum: General
Topic: How to correctly read text from keyboard
Replies: 7
Views: 8786

Re: How to correctly read text from keyboard

I don't know about "correct" but I've hacked a library together that allows test input without too much of a burden.
Sure you will come up with something better but might get some ideas from this.
Best
by Ref
Sun Apr 12, 2020 9:18 pm
Forum: Libraries and Tools
Topic: simple tool for converting CSS color names to RGB/A
Replies: 5
Views: 6407

Re: simple tool for converting CSS color names to RGB/A

More power to you!
I tried to group the colors together but the names just don't convey the colors I expect.
Best
by Ref
Sun Apr 12, 2020 1:11 am
Forum: Libraries and Tools
Topic: simple tool for converting CSS color names to RGB/A
Replies: 5
Views: 6407

Re: simple tool for converting CSS color names to RGB/A

yetneverdone really doesn't appreciate how much effort went in to your file.
My only interest is the opposite of yours - I really don't know the names of the various colors.
Some of the names really don't bring to mind the color.
Best
by Ref
Sun Jan 19, 2020 6:27 pm
Forum: Support and Development
Topic: Re: Hash
Replies: 3
Views: 3358

Re: Hash[resolved]

As I expected - my bad.
I overwrote the function in a library.
by Ref
Fri Jan 17, 2020 10:22 pm
Forum: Support and Development
Topic: Re: Hash
Replies: 3
Views: 3358

Re: Hash

Is it just me or is the WIKI backward?

Code: Select all

rawdigest = love.data.hash( hashFunction, data )
It only seems to work for me if the arguments are reversed???

Code: Select all

rawdigest = love.data.hash( data, hashFunction )
by Ref
Sun Dec 22, 2019 10:08 pm
Forum: Support and Development
Topic: Share a Shader!
Replies: 328
Views: 534927

Re: Share a Shader!

Just another simple Shader.
Splits a colored image into separate R,G,B images.
by Ref
Fri Dec 20, 2019 7:43 pm
Forum: Support and Development
Topic: In need of example code of this matter
Replies: 4
Views: 8975

Re: In need of example code of this matter

Maybe something like this? PointInBox = function( point, box ) local x, y, w, h = unpack( box ) local px, py = point[1], point[2] if px>=x and px<=x+w and py>=y and py<=y+h then return true end return false end touch = function( box ) local mx, my = love.mouse.getPosition( ) if love.mouse.isDown( 1 ...
by Ref
Fri Dec 20, 2019 7:25 pm
Forum: Support and Development
Topic: Help to create enemies
Replies: 5
Views: 5412

Re: Help to create enemies

This might give you some ideas.
Best