Adding to the gridlock movement tutorial on the tutorial section of love

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
fridays18
Citizen
Posts: 90
Joined: Tue Nov 01, 2022 3:24 pm

Adding to the gridlock movement tutorial on the tutorial section of love

Post by fridays18 »

After following the tutorial I'm at a loss of how to do much outside of changing table drawing colors and fill/line, I have no clue how to add interaction, enemies, etc and I can't find any gridlocked movement tutorials that use tables to help me out, does anyone know of a good place to learn more about the gridlocked movement? Normal movement I can do collisions and items and etc easy its just I have no clue when it comes to this specifically.

Link to the tutorial mentioned
https://love2d.org/wiki/Tutorial:Gridlocked_Player
User avatar
darkfrei
Party member
Posts: 1216
Joined: Sat Feb 08, 2020 11:09 pm

Re: Adding to the gridlock movement tutorial on the tutorial section of love

Post by darkfrei »

fridays18 wrote: Tue Nov 01, 2022 3:33 pm After following the tutorial I'm at a loss of how to do much outside of changing table drawing colors and fill/line, I have no clue how to add interaction, enemies, etc and I can't find any gridlocked movement tutorials that use tables to help me out, does anyone know of a good place to learn more about the gridlocked movement?
There is a game with tiled world, where both players are bigger than just 1x1 tile and interact with other blocks, that are also bigger than 1x1 tile. Sorry, no smooth movement system.

viewtopic.php?t=92585

Main movement function is just

Code: Select all

if can_move() then do_move() end
So just checking if the movement is possible before this movement :)
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
fridays18
Citizen
Posts: 90
Joined: Tue Nov 01, 2022 3:24 pm

Re: Adding to the gridlock movement tutorial on the tutorial section of love

Post by fridays18 »

Ty Ill look into it!
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 2 guests