Search found 238 matches

by xNick1
Mon Dec 18, 2017 8:20 am
Forum: Games and Creations
Topic: Aarstider
Replies: 15
Views: 7781

Re: Aarstider

Day/Night cycles are pretty much completed :D
aarstidernewnightshader.png
aarstidernewnightshader.png (143.56 KiB) Viewed 198 times
by xNick1
Sun Dec 17, 2017 6:10 am
Forum: Support and Development
Topic: Muffled Audio?
Replies: 2
Views: 141

Re: Muffled Audio?

I read Love's 0.11 changelog. The devs added some audio effects. The release is focused on audio for the most part. Unfortunately it isn't out yet. Maybe you can try experimenting with it since it should come out soon (especially if you're starting a new project) Changes from 0.10.2: Added low gain,...
by xNick1
Sun Dec 17, 2017 5:49 am
Forum: Support and Development
Topic: rotation question
Replies: 20
Views: 812

Re: rotation question

Maybe check in the update function the value of your rotation variable. If rotation < -3.1 then rotation = -3.1 The same when it's greater than 3.1 Then draw the sprite. love.graphics.draw(img, x, y, rotation, width, height, scalex, scaley) Maybe there are more proper ways but it should work
by xNick1
Fri Dec 15, 2017 8:10 pm
Forum: Support and Development
Topic: Game with separate files tryout
Replies: 32
Views: 1401

Re: Game with separate files tryout

I can't. I'm posting from my phone. I'll answer tomorrow if no one else provides a fix in the meantime
by xNick1
Fri Dec 15, 2017 7:56 pm
Forum: Support and Development
Topic: Game with separate files tryout
Replies: 32
Views: 1401

Re: Game with separate files tryout

SynfigMaster91 wrote:
Fri Dec 15, 2017 7:39 pm
here's the file. It's out there.squaremoving.love

Wrong file name mate. It's square not moving xD
Ok I'm bad, I'm sorry xD
by xNick1
Fri Dec 15, 2017 7:03 pm
Forum: Support and Development
Topic: Game with separate files tryout
Replies: 32
Views: 1401

Re: Game with separate files tryout

It took me 7 months before I could manage to start making my own game from scratch. Still I have to ask for help sometimes cause of something which I don't know how it works. All that backed up by the fact that I work as web developer and I code almost everyday since I was 16. So no, you're not goin...
by xNick1
Fri Dec 15, 2017 6:58 pm
Forum: Support and Development
Topic: Game with separate files tryout
Replies: 32
Views: 1401

Re: Game with separate files tryout

I'm sorry man, I don't really know how to help you.
Please consider following some tutorials.
Sheepolution has some good ones on his website, they helped me a little when I started around a year ago.
by xNick1
Fri Dec 15, 2017 6:54 pm
Forum: Support and Development
Topic: Game with separate files tryout
Replies: 32
Views: 1401

Re: Game with separate files tryout

... local square = {} speed = 40 function square.update( dt ) if love.keyboard.isDown("right") then square.x = square.x + speed * dt end if love.keyboard.isDown("left") then square.x = square.x - speed * dt end if love.keyboard.isDown("up") then square.y = square.y - speed * dt end if love.keyboard...
by xNick1
Fri Dec 15, 2017 6:51 pm
Forum: Support and Development
Topic: Game with separate files tryout
Replies: 32
Views: 1401

Re: Game with separate files tryout

Now you're using the table again, so it's square.x in your draw callback etc Please consider following a tutorial about variables and tables I know about variables, but I'm doing this. local square function square.update( dt ) if love.keyboard.isDown("right") then square.x = 10 + 40 * dt end if lov...
by xNick1
Fri Dec 15, 2017 6:36 pm
Forum: Support and Development
Topic: Game with separate files tryout
Replies: 32
Views: 1401

Re: Game with separate files tryout

Now you're using the table again, so it's square.x in your draw callback etc

Please consider following a tutorial about variables and tables