Search found 267 matches

by xNick1
Tue Dec 12, 2017 3:24 pm
Forum: Support and Development
Topic: Layer order
Replies: 8
Views: 4613

Re: Layer order

I'm attaching a .love file.
I draw everything, and then on top I put the filter to make everything darker.
Then I want only the player not to be affected by the dark thing
by xNick1
Tue Dec 12, 2017 3:12 pm
Forum: Support and Development
Topic: Layer order
Replies: 8
Views: 4613

Re: Layer order

Nixola wrote: Tue Dec 12, 2017 2:55 pm

Code: Select all

function love.draw()
	lg.setColor(255, 255, 255)
	sun:draw()
	mountain:draw()
	blackRectangle:draw()
end
Black rectangle is being drawn on top of everything, and it draws something like setColor(0, 0, 0, 200), so the sun is still dark :/
by xNick1
Tue Dec 12, 2017 1:21 pm
Forum: Support and Development
Topic: Layer order
Replies: 8
Views: 4613

Layer order

Hi guys, I have 3 things I want to draw. I'm drawing them manually in the order I want to give them: function love.draw() sun:draw() mountain:draw() blackRectangle:draw() end The black rectangle has a high value on the alpha channel (love.graphics.setColor(0, 0, 0, 200)), that way the mountain is da...
by xNick1
Sun Dec 10, 2017 9:44 pm
Forum: Support and Development
Topic: Android shader on touch
Replies: 1
Views: 3332

Android shader on touch

Hi guys. I couldn't really find an "easy" way to make a shader I need in opengl es. It has to work on Android and iOS. I need something like a "bubble" to appear in the touched spot. Something like "hey, you tapped right here". I don't really know where to start. I used...
by xNick1
Sun Dec 10, 2017 2:25 pm
Forum: Games and Creations
Topic: Open Terrarium
Replies: 3
Views: 4587

Re: Open Terrarium

I'm looking forward to try it :D It seems like a cool game
by xNick1
Tue Dec 05, 2017 6:21 pm
Forum: General
Topic: What is happening behind the scenes?
Replies: 5
Views: 6355

Re: What is happening behind the scenes?

For me?
It's really easy to work with and it's insanely fast to prototype stuff.
After making a couple games you can reuse entire Lua files!
But this is just my opinion
by xNick1
Mon Dec 04, 2017 2:13 pm
Forum: General
Topic: What is happening behind the scenes?
Replies: 5
Views: 6355

Re: What is happening behind the scenes?

I'm also a fullstack .NET web dev and I'm in my mid 20s :D I was looking for something similar to XNA. Unfortunately I didn't like monogame because of the very few resources out there, so I chose Love. As far as I know Love games are just a zip file interpreted by Love2d at runtime. And as far as I ...
by xNick1
Sat Dec 02, 2017 1:18 pm
Forum: Support and Development
Topic: Need help with STI
Replies: 6
Views: 3883

Re: Need help with STI

Sorry for not being that specific. I know how to draw a quad in general, But this library only supports a drawable and I cant seem to add a quad. Do I use spritebatch for this? Sorry, I don't know how to help you. You could try in the STI thread maybe? https://love2d.org/forums/viewtopic.php?f=5&am...
by xNick1
Fri Dec 01, 2017 10:08 am
Forum: Support and Development
Topic: How do i create a auto moving character without any user inputs
Replies: 4
Views: 3435

Re: How do i create a auto moving character without any user inputs

If you take away the if where you check if someone's pressing the key, the characters moves without any user input.
In this case it keeps moving forward

Code: Select all

function love.update(dt)
        player.y = player.y + player.speed * dt
end