Search found 1737 matches

by pgimeno
Sun Aug 18, 2019 3:42 pm
Forum: Support and Development
Topic: Stencil Help
Replies: 4
Views: 199

Re: Stencil Help

Cool, and nice graphics! Ah! Thank you! That's EXACTLY what I was going for! So, you can use the alpha for stencils? Huh, good to know! I was under the assumption that stencils were strictly bitmask-based. A stencil is a buffer that holds numbers. It's not a bitmask, but you can apply a comparison m...
by pgimeno
Sun Aug 18, 2019 2:33 am
Forum: Support and Development
Topic: Stencil Help
Replies: 4
Views: 199

Re: Stencil Help

Welcome to the forums. By default, alpha is not taken into account when drawing to the stencil, only the geometry. That can be changed with a shader. For example, this shader makes every pixel with alpha < 0.5 to not be drawn to the stencil: vec4 effect(vec4 colour, Image texture, vec2 texpos, vec2 ...
by pgimeno
Wed Aug 14, 2019 8:09 pm
Forum: General
Topic: Building a Free Library of Images for Everyone
Replies: 110
Views: 99932

Re: Building a Free Library of Images for Everyone

He spams a lot of forums. Here are a few hits for the music thread only: http://archive.zbrushcentral.com/showthread.php?199719-Free-Music-SFX-Resource-Over-700-Tracks http://www.wings3d.com/forum/showthread.php?tid=1660 https://forum.adamslair.net/viewtopic.php?f=21&t=271 https://forum.videohelp.co...
by pgimeno
Wed Aug 14, 2019 9:57 am
Forum: Support and Development
Topic: I need help with the compilation (Resolved)
Replies: 3
Views: 121

Re: I need help with the compilation

My guess is that the problem is with the ñ, since it correctly loaded 'calendario.png'. There's an encoding problem somewhere, but it's difficult to tell where. There's the encoding used to save the source (Lua strings are binary), then the encoding used by PhysFS, then the encoding used by zip (if ...
by pgimeno
Wed Aug 14, 2019 9:43 am
Forum: Support and Development
Topic: Problem with using a negative value for scale in love.graphics.draw() when scaling or rotating is used
Replies: 3
Views: 173

Re: Problem with using a negative value for scale in love.graphics.draw() when scaling or rotating is used

I think the problem is that you're multiplying the offset by scale. Offset is in image coordinates, not in screen coordinates, and is therefore not affected by scale. If your images are 32x32, just use 16,16. The draw coordinates, on the other hand, should probably be affected by scale. The draw cal...
by pgimeno
Tue Aug 13, 2019 11:23 am
Forum: Support and Development
Topic: [LINUX][BUG][11.2] Duplicate process.
Replies: 6
Views: 178

Re: [LINUX][BUG][11.2] Duplicate process.

libfuse? I have no idea how AppImage works but the fact it uses libfuse suggests to me that that process is some kind of AppImage stub. I don't think PhysFS or any other part of LÖVE uses fuse.
by pgimeno
Tue Aug 13, 2019 11:01 am
Forum: Support and Development
Topic: Love2d shader
Replies: 1
Views: 87

Re: Love2d shader

It depends on the filter set for the texture you pass to the function. You can set it individually for each texture with Texture:setFilter or set a default for newly created textures with love.graphics.setDefaultFilter.
by pgimeno
Mon Aug 12, 2019 11:54 am
Forum: Games and Creations
Topic: Aeon of Sands - The Trail - a retro, post-apocalyptic RPG coming 4 Dec. 2018
Replies: 40
Views: 18260

Re: Aeon of Sands - The Trail - a retro, post-apocalyptic RPG coming 4 Dec. 2018

SiENcE wrote:
Mon Aug 12, 2019 10:50 am
Fortunately the bot is 1000 times faster, so it ends the game in ~40h.
Does your game take 40,000 hours to complete? :shock:
by pgimeno
Fri Aug 09, 2019 11:04 am
Forum: Support and Development
Topic: [SOLVED] Small delta time without graphics and window
Replies: 3
Views: 289

Re: Small delta time without graphics and window

Hi, I'm doing a server version of my game without a graphic interface Somehow the delta time varies and that makes my game look very laggy [...] vsync basically pauses execution until the next frame, but since that is done by OpenGL, if you don't have OpenGL then you have no vsync. Servers usually ...
by pgimeno
Fri Aug 09, 2019 10:26 am
Forum: Support and Development
Topic: "Attempt to compare number with nil" error with collision
Replies: 9
Views: 478

Re: "Attempt to compare number with nil" error with collision

Okay, I see what's wrong now. Nothing beats having the whole code for debugging :) It should have been obvious, but it seems we all missed it. In main.lua, you have if Player:collide(asteroid1) then But that's not the right way to call it. The object is called player, the class is called Player. You...