Search found 12 matches

by LuaIsLife
Tue Jan 28, 2020 9:05 am
Forum: General
Topic: What code editor do you use ?
Replies: 195
Views: 297074

Re: What code editor do you use ?

@paulclinger.. oh, okay.. It's just because the web page shows no activity.. or isn't this the right place to track the development of ZBS? (Last update 2018 there..)
by LuaIsLife
Fri Jan 03, 2020 8:10 am
Forum: General
Topic: What code editor do you use ?
Replies: 195
Views: 297074

Re: What code editor do you use ?

Hello there.

Good thread... I use ZeroBrane Studio, but development of this editor seems to be dead.

Really, what editor is FAST and has good support LOVE2D (debugging in particular) and not to "overengineered" ?
by LuaIsLife
Mon Jun 03, 2019 10:29 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1496668

Re: What's everyone working on? (tigsource inspired)

Very very cool...... I feel inspired!

I'm tinkering around something like this myself (2D sidescroller shooter), but most likely there will never be some actual gameplay...which is perfectly okay, I've just fun playing around with love2d.
by LuaIsLife
Sat May 04, 2019 7:52 pm
Forum: Support and Development
Topic: [SOLVED] Problem with "Simple Tiled Implementation" and love.graphics.tanslate (and scale)
Replies: 1
Views: 2246

Re: Problem with "Simple Tiled Implementation" and love.graphics.tanslate (and scale)

Update: .. well, looking into the source code of "STI" I'm guessing that map:draw() seems to invalidate any love.graphics.scale oder .translate actions.. but you can pass the translate and scale params directly now .. --- Draw every Layer -- @param tx Translate on X -- @param ty Translate ...
by LuaIsLife
Sat May 04, 2019 4:41 pm
Forum: Support and Development
Topic: [SOLVED] Problem with "Simple Tiled Implementation" and love.graphics.tanslate (and scale)
Replies: 1
Views: 2246

[SOLVED] Problem with "Simple Tiled Implementation" and love.graphics.tanslate (and scale)

Hello, I'm trying to implement STI (Simple Tiled Implementation) in my code.. but I have a problem with the tutorial code when it comes to the "love.graphics.scaling" and "love.graphics.translate" parts at the end of the tutorial (to keep the player centered to screen while scrol...
by LuaIsLife
Wed Nov 07, 2018 7:10 am
Forum: Support and Development
Topic: [SOLVED] love.window.setMode() "releases" all keys?
Replies: 6
Views: 4649

Re: love.window.setMode() "releases" all keys?

I presume it's a consequence of destroying and recreating the window, as the keypresses are associated to a window. That has been my guess too... it's not too important to me, just something I noticed that MAY become important later on.. Thanks a ton for the support! I am surprised how helpful this...
by LuaIsLife
Tue Nov 06, 2018 2:32 pm
Forum: Support and Development
Topic: [SOLVED] love.window.setMode() "releases" all keys?
Replies: 6
Views: 4649

Re: love.window.setMode() "releases" all keys?

Thanks.. so now easy fix at the time being?
by LuaIsLife
Tue Nov 06, 2018 2:02 pm
Forum: Support and Development
Topic: [SOLVED] love.window.setMode() "releases" all keys?
Replies: 6
Views: 4649

[SOLVED] love.window.setMode() "releases" all keys?

Hi there, Just a quick question.. is it a known behaviour that love.window.setMode() resets the state of the keys of the keyboard, aka love.keyboard.isDown() returns false and love.keyreleased() gets fired for all keys? I have some code where I reset some window properties via love.window.setMode() ...
by LuaIsLife
Sun Nov 04, 2018 1:43 pm
Forum: Support and Development
Topic: [SOLVED] Problem with shaders (especially with texture_coords)
Replies: 13
Views: 9774

Re: Problem with shaders (especially with texture_coords)

vec4 pixel = Texel(image, uvs); This will return always white. Maybe you meant vec4 pixel = Texel(image, uvs) * color; ? .. holy... Yes, that did it.... Care to explain why the old code did work for all my "sprites" (images) but not for the stuff like circles/rectangles but the one with t...
by LuaIsLife
Sun Nov 04, 2018 5:33 am
Forum: Support and Development
Topic: [SOLVED] Problem with shaders (especially with texture_coords)
Replies: 13
Views: 9774

Re: Problem with shaders (especially with texture_coords)

For the reason that they aren't textured, so there's nothing to color. ISTR the texture was a dummy 1x1px white texture, with all UVs set to (0,0). From that, it's clear that texture_coords will always be (0,0) as well. So you can't obtain any useful texture coordinates, but you certainly can colou...