These two explain it very well: https://www.youtube.com/watch?v=Fy0aCDmgnxg
EDIT: I just realized they're the same people who made the game you mentioned. Funny coincidence.
Search found 21 matches
- Sat Feb 13, 2016 7:40 pm
- Forum: Support and Development
- Topic: How to make polished graphical effects
- Replies: 3
- Views: 2777
- Sat Feb 13, 2016 5:16 pm
- Forum: Libraries and Tools
- Topic: Snake Game Movement
- Replies: 14
- Views: 10189
Re: Snake Game Movement
No problem man, best of luck with your game.
- Sat Feb 13, 2016 4:58 pm
- Forum: Libraries and Tools
- Topic: Snake Game Movement
- Replies: 14
- Views: 10189
Re: Snake Game Movement
Please explain more I have created a simple LÖVE project and commented it (perhaps a bit too much), maybe that will give you a better understanding of how it's supposed to work? Here it is: Snake Movement.love The gist of it is that instead of updating the x and y coordinates every frame, you want ...
Re: New Icons
Can this be the new icon? The entire picture.rude wrote:Also:
- Sat Feb 13, 2016 2:42 pm
- Forum: Support and Development
- Topic: Player jumping with bump.lua
- Replies: 3
- Views: 2366
Re: Player jumping with bump.lua
I have no experience with bump.lua, but by printing the character yvel to the console I noticed that it's never 0, even when the character is perfectly still. It would probably be easier if your character had an yvel of 0 when still so you could use yvel == 0 as a condition to allow jumping... unles...
- Sat Feb 13, 2016 1:56 pm
- Forum: Libraries and Tools
- Topic: Snake Game Movement
- Replies: 14
- Views: 10189
Re: Snake Game Movement
By incrementing the x and y positions in a fixed amount you can make it "jump" as you want. You can also achieve the delay between jumps by following the first example here: https://love2d.org/wiki/love.update only instead of making the npc think, you're making the snake jump to the next ...
- Sat Feb 13, 2016 11:47 am
- Forum: Support and Development
- Topic: How to create a new item with a mouse click?
- Replies: 6
- Views: 3704
Re: How to create a new item with a mouse click?
No problem mate. Godspeed.BlakeBarnes00 wrote:Hey man, this was awesome. I just figured out tables today when making another game. Thanks so much!
- Sat Feb 13, 2016 1:31 am
- Forum: Support and Development
- Topic: How to create a new item with a mouse click?
- Replies: 6
- Views: 3704
Re: How to create a new item with a mouse click?
Woah bro nice and thorough. I felt as though he could have discovered the rest. (That and I also didn't have time to write a good response) Thanks, I try my best. I replied mostly because I was working on something similar recently, I'm only learning myself, just thought of giving back to the commu...
- Sat Feb 13, 2016 12:02 am
- Forum: Libraries and Tools
- Topic: Snake Game Movement
- Replies: 14
- Views: 10189
Re: Snake Game Movement
By incrementing the x and y positions in a fixed amount you can make it "jump" as you want. You can also achieve the delay between jumps by following the first example here: https://love2d.org/wiki/love.update only instead of making the npc think, you're making the snake jump to the next p...
- Fri Feb 12, 2016 9:30 pm
- Forum: Support and Development
- Topic: How to create a new item with a mouse click?
- Replies: 6
- Views: 3704
Re: How to create a new item with a mouse click?
Hello Blake, I assume what you meant is creating a new block at the click of the mouse, instead of repositioning the current one. Well, looking at the code in objects.lua, in this section: --Creating blocks objects.blocks = {} objects.blocks.body = love.physics.newBody(world.world, 100, 550, "d...