Search found 71 matches

by Le_juiceBOX
Mon Jun 20, 2016 10:53 pm
Forum: Support and Development
Topic: Timers
Replies: 5
Views: 2772

Timers

I very confused about timers. Whenever i try something it fails, could someone give me a script and explain it please?


thanks.
by Le_juiceBOX
Mon Jun 06, 2016 11:33 pm
Forum: Support and Development
Topic: "undrawing"
Replies: 1
Views: 1398

"undrawing"

is here a way to "undraw" a image or a shape drawn on the window?

thanks.
by Le_juiceBOX
Sun Jun 05, 2016 11:06 pm
Forum: Support and Development
Topic: Predictable math.random()
Replies: 2
Views: 1228

Re: Predictable math.random()

Math.random isn't seeded by default, so it will always output the same numbers (not completely exact, but I'm trying to keep it simple now). You either have to use [wiki]love.math.random[/wiki] or call math.randomseed(os.time()) at the beginning of your program (just once!). Thank You! this helped ...
by Le_juiceBOX
Sun Jun 05, 2016 10:47 pm
Forum: Support and Development
Topic: Predictable math.random()
Replies: 2
Views: 1228

Predictable math.random()

I am having problems with math.random(1, 10), for some reason it always chooses 1, 6, 8 and then i win. Please look at my scripts and tell me where i am going wrong thanks.


i am making a lottery sim
by Le_juiceBOX
Sat May 21, 2016 1:36 am
Forum: Support and Development
Topic: Rhythm game help
Replies: 3
Views: 4783

Re: Rhythm game help

the rest-
by Le_juiceBOX
Sat May 21, 2016 1:35 am
Forum: Support and Development
Topic: Rhythm game help
Replies: 3
Views: 4783

Rhythm game help

im making a rhythm game(like Guitar Hero, Rockband etc.) and when it comes the the white bar it(where the "notes" are detected) only makes the hit counter go down -1 and i scripted a variable that detect whether the note is colliding with the white bar so my script is as follows: if collis...
by Le_juiceBOX
Thu May 19, 2016 11:34 am
Forum: Support and Development
Topic: Platforming
Replies: 3
Views: 1363

Re: Platforming

You'll never learn if we hand you the keys to the teacher's closet. Also everyone does platformers differently. So there's no one way to do it. However, Kikito created an easy to use library called Bump (Can I have my check now, Kikito?) which comes with a simplistic platformer demo. However it's n...
by Le_juiceBOX
Wed May 18, 2016 9:28 pm
Forum: Support and Development
Topic: Platforming
Replies: 3
Views: 1363

Platforming

hey can i ask for someone to give me a simple and easy to edit platforming demo, make lots of notes, i couldn't find any good tutorials on the internet.



thanks!
by Le_juiceBOX
Tue May 17, 2016 9:19 pm
Forum: Support and Development
Topic: Looping Help
Replies: 1
Views: 1676

Looping Help

can you help me use while true do and repeat until


want it to repeat until a variable = false


thanks,
by Le_juiceBOX
Mon May 16, 2016 8:30 pm
Forum: Support and Development
Topic: help fix this script
Replies: 5
Views: 1845

Re: help fix this script

Beelz wrote:First thing first... Between the code you provided and the files, not once is there a 'love.update' or a 'love.draw'.

i do have those functions they are in my main.lua