Search found 8 matches
- Sun Nov 12, 2017 2:58 pm
- Forum: Support and Development
- Topic: Having trouble figuring out stop/idle animations (anim8/hump.timer/boipushy)
- Replies: 2
- Views: 2943
Having trouble figuring out stop/idle animations (anim8/hump.timer/boipushy)
I've been trying to come up with a simple stop/idle cycle for a sprite for hours and I can't seem to figure out what I'm missing. Here's the code with explanations for what I'm trying to achieve. Any insights? local anim8 = require 'bin/anim8' local timer = require 'bin/timer' local Input = require ...
- Sat Nov 11, 2017 6:16 pm
- Forum: Support and Development
- Topic: Screenshots not being saved
- Replies: 9
- Views: 5300
Re: Screenshots not being saved
Oh I see it now. Thanks a lot!
- Sat Nov 11, 2017 5:40 pm
- Forum: Support and Development
- Topic: Screenshots not being saved
- Replies: 9
- Views: 5300
Re: Screenshots not being saved
Thanks for the help everyone. It turns out I was using two love.keypressed() functions and it didn't occurred that one was overriding the other. I've rewrote them into one if/elseif function and it's working now. One last question: what string should I use so the screenshots are saved in numbers li...
- Sat Nov 11, 2017 4:51 pm
- Forum: Support and Development
- Topic: Screenshots not being saved
- Replies: 9
- Views: 5300
Re: Screenshots not being saved
Thanks for the help everyone. It turns out I was using two love.keypressed() functions and it didn't occurred that one was overriding the other. I've rewrote them into one if/elseif function and it's working now. One last question: what string should I use so the screenshots are saved in numbers lik...
- Sat Nov 11, 2017 3:23 pm
- Forum: Support and Development
- Topic: Screenshots not being saved
- Replies: 9
- Views: 5300
Re: Screenshots not being saved
Thanks for replying but I've tried your solution with and without love.filesystem.setIdentity("Demo") in love.load() and it doesn't work. Still no save folder being created either. function love.keypressed(key, isrepeat) if key == "s" then love.filesystem.write(os.time() .. '.png...
- Sat Nov 11, 2017 2:29 pm
- Forum: Support and Development
- Topic: Screenshots not being saved
- Replies: 9
- Views: 5300
Screenshots not being saved
I'm trying to use the love.graphics.newScreenshot() function but it's not working. The save folder is also not being created* even though I've already set it with t.identity . Running love.exe as admin (I'm using Windows 7 by the way) doesn't make any difference. *Assuming it's C:\Users\user\AppData...
- Fri Nov 10, 2017 1:09 pm
- Forum: Support and Development
- Topic: Need help with upscaling to fullscreen resolution
- Replies: 2
- Views: 5142
Re: Need help with upscaling to fullscreen resolution
It worked! Thanks a lot. I've adapted your code to my needs and am leaving it here in case anyone else is looking for such a solution: function love.load() love.graphics.setDefaultFilter('nearest', 'nearest', 0) end function love.draw() -- Store desktop resolution local width, height = love.window.g...
- Wed Nov 08, 2017 11:55 pm
- Forum: Support and Development
- Topic: Need help with upscaling to fullscreen resolution
- Replies: 2
- Views: 5142
Need help with upscaling to fullscreen resolution
Hi! I'm making a little demo on LÖVE to learn the basics and I can't figure out how to make the game upscale when going into fullscreen. I'm aware that there's already many topics regarding the subject, but I need instructions step-by-step as I'm new to programming and math is definitely not my stro...