What's everyone working on? (tigsource inspired)

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Posts: 41
Joined: Thu Apr 04, 2019 3:32 pm

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

Post by CrimsonGuy » Sun Sep 08, 2019 7:26 pm

Finished the first version of the first map for the game i'm making, made it using Tiled and this nice tileset https://iknowkingrabbit.itch.io/heroic-overworld


Still need to add the game play objects and structures, but ill do that via code.

User avatar
Posts: 4
Joined: Tue Jun 05, 2018 3:15 am
Location: Moscow

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

Post by rozenmad » Sun Nov 10, 2019 8:55 pm

I'm working on a small wrapper on love2d, which combines 2D and 3D rendering. So far, nothing serious, only performance tests, but maybe in the future I will make a game.



User avatar
Party member
Posts: 1881
Joined: Sun Oct 18, 2015 2:58 pm
Location: Valencia, ES

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

Post by pgimeno » Fri Nov 15, 2019 2:13 pm

Working on a collision library for axis-aligned rectangles, to resolve certain sliding collisions that bump can't:
colib-vs-bump-slide-resolution.png (13.88 KiB) Viewed 82 times
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, represent the trajectory during analysis: according to the library, the entity can reach the destination. Two collisions are registered, one with rectangle #1 and one with rectangle #2. The latter is with a corner; since the required displacement at that point is bigger in the vertical direction, the lib chooses vertical. In case of a tie (collision with a corner at 45°), the user code can decide the preferred resolution, horizontal or vertical.

The idea is that once it detects a collision with a sliding surface, it will slide only up to the end of the rectangle and, if no more collisions happen, it will try to move again towards the target from that position. This repeats until it reaches the closest possible point to the target without penetrating anything.

This should allow making something like a maze with tight passages the size of the player. With bump, this causes problems because you can't turn if there's no surface in front of you to help aligning the player.

It's going to be a bit more restricted than bump; in particular there will be no "bounce" resolution and no user-definable ones. There may be fewer world querying functions too; I still have to decide on that.

Edit: New working title is 'collib' since 'colib' seems to be taken by a coroutine library.

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests