Search found 27 matches

by ~Tidal
Thu Aug 27, 2015 11:17 am
Forum: Support and Development
Topic: [Solved] Shader, but on quad/batch and not whole texture
Replies: 11
Views: 6832

Re: [Solved] Shader, but on quad/batch and not whole texture

Oh, never mind.
I've already find a way out and it's even better for what I want to achieve, but I'll take notes for the next time.
by ~Tidal
Tue Aug 25, 2015 8:27 pm
Forum: Support and Development
Topic: [Solved] Shader, but on quad/batch and not whole texture
Replies: 11
Views: 6832

Re: [Solved] Shader, but on quad/batch and not whole texture

Umh. Thanks.
I don't know, tho. I stopped used canvases for dynamic stuff when I experienced flickering, I was using mouse position to change some text and pictures and I think it wasn't ok. As far as I experienced, canvases don't work very well when you put some of their logic in love.update.
by ~Tidal
Tue Aug 25, 2015 7:09 pm
Forum: Support and Development
Topic: [Solved] Shader, but on quad/batch and not whole texture
Replies: 11
Views: 6832

Re: Shader, but on quad/batch and not whole texture

Real stupid but have you tried drawing each sprite to a separate canvas and then apply the shader to all the canvases? aren't canvas supposed to represent static things? IMHO this wouldn't be ok. anyway, I guess I've solved it. Since I can't apply the effect on a single quad but it is applied on th...
by ~Tidal
Tue Aug 25, 2015 1:58 pm
Forum: Support and Development
Topic: [Solved] Shader, but on quad/batch and not whole texture
Replies: 11
Views: 6832

Re: Shader, but on quad/batch and not whole texture

It is exactly what I want to do. But I was trying to do a gradient. Simple stuff. But instead of being applied on the current quad/batch drawn, it is applied to the whole picture. https://40.media.tumblr.com/12fe5a06a2ad09631a9d7e5e58f98f25/tumblr_inline_ntn5fj8G261r838ei_540.png Visual representati...
by ~Tidal
Tue Aug 25, 2015 10:25 am
Forum: Support and Development
Topic: [Solved] Shader, but on quad/batch and not whole texture
Replies: 11
Views: 6832

[Solved] Shader, but on quad/batch and not whole texture

Good day. Since I want to create a custom glow on every character sprite, I thought a shader would do the trick. After a few tries, I thought nothing was working, only to realize that the shader applies to the whole texture (ex. 64x64 with every tile or character pose or whatever) and not a single q...
by ~Tidal
Sat Jul 11, 2015 8:26 pm
Forum: Support and Development
Topic: Writing into TXT
Replies: 19
Views: 11116

Re: Writing into TXT

there is something (library, function, user function) that converts data in quads, bits, and then ascii (a-z, 0-9)? Do you have any idea how to do that? I did this in a previous game, but it was a mess since it included EVERY symbol in the chart and not only a-z/0-9 (or at the best "usual"...
by ~Tidal
Sun Jul 05, 2015 2:51 pm
Forum: Support and Development
Topic: Writing into TXT
Replies: 19
Views: 11116

Re: Writing into TXT

Because I like the idea of people breaking my code, but not just changing, for example "Chinese_Vase.unlock = false" into "Chinese_Vase.unlock = true". It would be too simple. And I'm evil inside. Actually just saving in quads or bits will do the goal. I just don't want everythin...
by ~Tidal
Thu Jul 02, 2015 8:56 pm
Forum: Support and Development
Topic: Writing into TXT
Replies: 19
Views: 11116

Re: Writing into TXT

Well, cookie clicker does this, for example.
Even just displaying the code itself would do the trick, I think, adding some sort of encryption (so it wouldn't be SO simple cheating).
by ~Tidal
Tue Jun 30, 2015 12:10 pm
Forum: Support and Development
Topic: Writing into TXT
Replies: 19
Views: 11116

Re: Writing into TXT

Oh.
I'll probably hijack the whole stuff, making the user backup its save file if it want to directly from the game in some way.
Sounds decent enough?
by ~Tidal
Sat Jun 27, 2015 6:53 pm
Forum: Support and Development
Topic: Writing into TXT
Replies: 19
Views: 11116

Re: Writing into TXT

So, i was thinking...a save file should be placed in the same folder too? That's pretty...annoying, to be honest. :huh: