Search found 2 matches

by Gael
Sun May 25, 2014 2:35 pm
Forum: Support and Development
Topic: love.filesystem.getWorkingDirectory returns user directory
Replies: 9
Views: 5489

Re: love.filesystem.getWorkingDirectory returns user directo

If someone is still interested, I think I have the solution. Try love.arg.options.game.arg[1], it works for me (I don't know whether it exists for all Löve versions ; I'm on 0.9.1). It is not a function : it's directly the value, stored as a string. print(love.arg.options.game.arg[1]) -- it prints a...
by Gael
Sun May 11, 2014 10:22 am
Forum: General
Topic: A special pseudo-random generator ?
Replies: 1
Views: 1464

A special pseudo-random generator ?

I need a random number generator which returns a value between 0 and 1, from multiple values, which satisfies the following criteria : We can call it with the number of arguments you want, these arguments must be numbers The returned value looks not dependant from the arguments (pseudo-random) But w...