Search found 4 matches

by VladiMatt
Tue Apr 23, 2013 9:12 pm
Forum: Support and Development
Topic: [Newb Question] Fading images in/out?
Replies: 5
Views: 3643

Re: [Newb Question] Fading images in/out?

While your example didn't work the way I needed it to, I fixed what you pointed out (I've gotta say I'm a bit embarrassed I didn't realize it from the start, haha!) and got it working (for the most part)! Thanks a billion! :)
by VladiMatt
Tue Apr 23, 2013 7:44 pm
Forum: Support and Development
Topic: [Newb Question] Fading images in/out?
Replies: 5
Views: 3643

[Newb Question] Fading images in/out?

Hi there, I'm trying to write a couple functions that lets me fade images in and out, but I can't get it to work. function fadeGraphicIn(graphic, fadetime, _x, _y, scale) local fade = fadetime local alphachange = 255 / fadetime * 0.1 local alpha = 0 while fade > 0 do love.timer.sleep( 0.1 ) fade = f...
by VladiMatt
Sun Feb 17, 2013 9:52 pm
Forum: Support and Development
Topic: Unable to call function from other file
Replies: 2
Views: 4791

Re: Unable to call function from other file

Oh jeez, I should've known it was something simple like that. That may have actually been what I did the other day, but I think when I tried using require() earlier today, I kept ".lua" at the end of the name and it gave me an error, so I assumed that didn't work.

Thanks a billion! :)
by VladiMatt
Sun Feb 17, 2013 9:34 pm
Forum: Support and Development
Topic: Unable to call function from other file
Replies: 2
Views: 4791

Unable to call function from other file

Hi there, I'm new to using LOVE, but I've already got a fair bit of Lua experience for writing addons for the Half-Life 2 modification "Garry's Mod". Now, GMod's Lua structure has a number of key differences from LOVE (including what's brought me here to the LOVE forums today), but overall...