Search found 1877 matches

by pgimeno
Fri Nov 15, 2019 6:02 pm
Forum: Games and Creations
Topic: Sliding maze puzzle
Replies: 0
Views: 7

Sliding maze puzzle

Cleaning up my queue of pending releases, now's the turn of this puzzle game. The idea is shamelessly ripped from this video: https://www.youtube.com/watch?v=pHOmjbH6zdM but without all the bells and whistles, just something very simple :) It can be played on a desktop or on Android. It uses portlan...
by pgimeno
Fri Nov 15, 2019 4:50 pm
Forum: Support and Development
Topic: [SOLVED] Top Down Parallax scrolling and a zoomable camera
Replies: 3
Views: 46

Re: [SOLVED] Top Down Parallax scrolling and a zoomable camera

There are two types of zoom. One consists of bringing the camera closer to the target; some 3D design programs do this when you zoom. The other consists of magnifying a small angle of view so it looks bigger; that's what zoom lenses and telescopes do. Playing with both in a real camera, you can get ...
by pgimeno
Fri Nov 15, 2019 2:13 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1702
Views: 488931

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

Working on a collision library for axis-aligned rectangles, to resolve certain sliding collisions that bump can't: BUMP vs COLIB The entity to move starts at the top left. The green line represents the requested movement. The blue line and the green rectangles that aren't the beginning or end, repre...
by pgimeno
Fri Nov 15, 2019 12:45 pm
Forum: Support and Development
Topic: Canvas and shader issue
Replies: 5
Views: 134

Re: Canvas and shader issue

If you post something we can run, we can do some debugging; otherwise all we can do is guessing. Help us help you.
by pgimeno
Wed Nov 13, 2019 11:15 pm
Forum: Support and Development
Topic: Why won't this very simple UDP networking work?
Replies: 1
Views: 122

Re: Why won't this very simple UDP networking work?

The semantics of not using setsockname() on the server are not clear to me, as there's no port defined. The LuaSocket manual says: "To associate an UDP socket with a local address, an application calls the setsockname method before sending any datagrams. Otherwise, the socket is automatically bound ...
by pgimeno
Wed Nov 13, 2019 3:34 am
Forum: Support and Development
Topic: How can I close window if game has thrown error?
Replies: 1
Views: 121

Re: How can I close window if game has thrown error?

Code: Select all

function love.errorhandler(msg)
  -- doing nothing here will just exit quietly
end
See docs here: love.errorhandler
by pgimeno
Tue Nov 12, 2019 2:18 pm
Forum: Games and Creations
Topic: Do Console Dream of Romeo - Cyberpunk Strategy Chess
Replies: 3
Views: 1504

Re: Do Console Dream of Romeo - Cyberpunk Strategy Chess

Sounds like the "using isDown instead of isScancodeDown syndrome". Or the "using first instead of second parameter of keypressed" symdrome. Or both. Or none.
by pgimeno
Mon Nov 11, 2019 10:09 pm
Forum: Libraries and Tools
Topic: cam11 - Yet another camera library
Replies: 4
Views: 198

Re: cam11 - Yet another camera library

Yeah, sure thing. Feel free to grab any ideas you find interesting. I've updated the library to make the speed be more on par with gamera. I had to disable hump testing, as it seems to interrupt tracing (because of the love.graphics.getWidth/Height call I presume). JIT off: Screen to World coords co...
by pgimeno
Mon Nov 11, 2019 12:40 pm
Forum: Libraries and Tools
Topic: cam11 - Yet another camera library
Replies: 4
Views: 198

Re: cam11 - Yet another camera library

Thanks zorg, that's a false friend that slipped in :) "ángulo" also means "corner" in Spanish. To be honest, I hadn't tested them. Now I have. Here's the test program: local cam11 = require 'cam11' local stalker = require 'stalker-x' local gamera = require 'gamera' local humpcamera = require 'hump_c...
by pgimeno
Mon Nov 11, 2019 1:06 am
Forum: Libraries and Tools
Topic: cam11 - Yet another camera library
Replies: 4
Views: 198

cam11 - Yet another camera library

Having gamera, hump.camera and STALKER-X around, one may wonder, does the world really need yet another camera library? No, it really doesn't. Unless... ok, ok, not that either. Or, well, maybe a little, if you are like me, and prefer that the guts of your libraries are as optimal as they can be. An...