Search found 4 matches

by Dopplespots
Sun Aug 13, 2017 6:06 pm
Forum: Support and Development
Topic: Problem with using calling values in a table
Replies: 2
Views: 2376

Re: Problem with using calling values in a table

Try printing the values that produces. If you're using the default love.run (ie. you haven't defined it yourself), I imagine you're getting non-integer values because of the delta time. This then gives you table indexes that don't exist, thus giving you errors when you end up passing nil values to ...
by Dopplespots
Sat Aug 12, 2017 8:41 pm
Forum: Support and Development
Topic: Problem with using calling values in a table
Replies: 2
Views: 2376

Problem with using calling values in a table

I'm trying to use three different tables to sync up specific RBG values when setting the background color of my game. However, when I try to use a variable to call the values, it doesn't work! What am I doing wrong? function love.load() rainbowChangeRed = {237, 250, 247, 93, 81, 131, 241} rainbowCha...
by Dopplespots
Wed Dec 16, 2015 3:27 am
Forum: Support and Development
Topic: Help with a Timer, Double, and Int [Solved]
Replies: 5
Views: 5274

Re: Help with a Timer, Double, and Int

Thank you guys so much!
by Dopplespots
Mon Dec 14, 2015 9:55 pm
Forum: Support and Development
Topic: Help with a Timer, Double, and Int [Solved]
Replies: 5
Views: 5274

Help with a Timer, Double, and Int [Solved]

Hello! I am very new to LÖVE, and I am having a little bit of trouble with a timer I am trying to make. Here is my code: IntroTimer = true StartTimer = 0 function love.load() Mainfont = love.graphics.newFont("Graphics/PixelFont.ttf", 22) love.graphics.setBackgroundColor(255, 255, 255) love...