Search found 118 matches

by erasio
Thu Jan 25, 2018 7:22 pm
Forum: Support and Development
Topic: love.graphics.print( coloredText ) question
Replies: 7
Views: 780

Re: love.graphics.print( coloredText ) question

Not exactly I think. love.graphics.setColor(green) love.graphics.print({blue, "TEXT"}, 10, 10) is not the same as: love.graphics.setColor(green) love.graphics.setColor(blue) love.graphics.print("TEXT", 10, 10) This is what I mean. Because setColor() doesn't stack! If you call it twice in a row, the...
by erasio
Mon Jan 22, 2018 5:33 pm
Forum: Support and Development
Topic: How to use Tiled (or not) with a platformer
Replies: 9
Views: 951

Re: How to use Tiled (or not) with a platformer

It's not so much a recommendation to not use it but rather a limitation to be aware of. I mean do you need to rotate your screen? Is that important to you? (not characters or objects in your world. You can rotate those just fine) If it is, then yeah. I would recommend looking into how easy it is to ...
by erasio
Mon Jan 22, 2018 8:23 am
Forum: Support and Development
Topic: How to use Tiled (or not) with a platformer
Replies: 9
Views: 951

Re: How to use Tiled (or not) with a platformer

I said that STI doesn't play nice with camera libraries because it resets them before drawing the map. And that you must provide the camera translation (without rotation which you mustn't use without modifying STI) to the sti map if you want to use it. So you can use a camera. But you are more limit...
by erasio
Sun Jan 21, 2018 3:00 pm
Forum: General
Topic: Movement - move the player AND the world?
Replies: 10
Views: 1144

Re: Movement - move the player AND the world?

Once I fixed the scaling and simply didn't use rotation.

Other times I implemented my own tile or chunk system which i did write my own map formats for. (Well one was picture based with color codes)
by erasio
Sun Jan 21, 2018 2:10 pm
Forum: General
Topic: Movement - move the player AND the world?
Replies: 10
Views: 1144

Re: Movement - move the player AND the world?

OK I see, that explains a lot then. I thought I was just doing it all wrong. But I thought normally people use STI with Tiled? At least I noticed Tiled is extremely popular. I want to use that camera so what should I use with Tiled? Thanks for your help. Truth be told. I have no idea. Never looked ...
by erasio
Sun Jan 21, 2018 1:53 pm
Forum: General
Topic: Movement - move the player AND the world?
Replies: 10
Views: 1144

Re: Movement - move the player AND the world?

STI doesn't work well with other cameras. It calls love.graphics.origin before drawing anything meaning any effect applied beforehand (location, scale or rotation) is completely ignored. While it does handle everything for you in regards to drawing, it's very limited in how it can draw the environme...
by erasio
Sun Jan 21, 2018 1:45 pm
Forum: Support and Development
Topic: Help with 2D lighting
Replies: 14
Views: 1525

Re: Help with 2D lighting

It's worth noting that this is a form of static (or very simple) lighting. It does not cast shadows, doesn't support normal maps and could not produce anything close to the example shown by yetneverdone (OP). More like a bright spot. Which can work beautifully for some games! Don't get me wrong! But...
by erasio
Sun Jan 21, 2018 1:26 pm
Forum: General
Topic: Are there any ways to make openworld?
Replies: 4
Views: 1127

Re: Are there any ways to make openworld?

I don't think anyone can give you a proper answer here. "How to make open world" is to broad a question. There are a whole lot of differences in how you should approach the issue depending on what you want your open world to be able to do. Are we talking about Zelda style open world? Or Terraria? Ch...
by erasio
Sun Jan 21, 2018 12:07 pm
Forum: Support and Development
Topic: love.graphics.print( coloredText ) question
Replies: 7
Views: 780

Re: love.graphics.print( coloredText ) question

Well. It actually is doing exactly the same! Both filter out color. Or rather remap it. If you setColor of the blue component to 0.5. And then apply a textcolor of 0.5 you get one half of one half. Or 0.25 in short. Since 0.11 you can really just think of all color functions as multiplying with one ...
by erasio
Sun Jan 21, 2018 11:56 am
Forum: Support and Development
Topic: What collaborative development/editing options are available?
Replies: 1
Views: 402

Re: What collaborative development/editing options are available?

The default is pretty much version control. As long as you don't edit the exact same lines of code, it will just combine any modifications into a new "current" version. If there are conflicts you get the option to review them and select the version you want to keep. Still needs a bit of coordination...