Search found 170 matches
- Sun Apr 22, 2012 2:25 am
- Forum: Support and Development
- Topic: [DO NOT ANSWER, FOR I AM AN IDIOT]
- Replies: 4
- Views: 3440
Re: [DO NOT ANSWER, FOR I AM AN IDIOT]
I thought in Ludum dare you're supposed to work on your own.
- Sat Apr 21, 2012 2:56 am
- Forum: Games and Creations
- Topic: Mouse Game
- Replies: 10
- Views: 4564
Re: Mouse Game
Do you think you could add a little timer when you die just so you could see where? It could be helpful for the next time you run the level. Still great game!
- Thu Apr 19, 2012 12:02 am
- Forum: Support and Development
- Topic: File association on OS X broken for 0.8.0...
- Replies: 5
- Views: 1035
Re: File association on OS X broken for 0.8.0...
Have you tried selecting get info and selecting the open all files checkbox?
- Tue Apr 17, 2012 4:17 am
- Forum: General
- Topic: Attach an image to a body???
- Replies: 3
- Views: 5107
Re: Attach an image to a body???
Well generally you would add a separate image to whatever body you making. So if you were to have the guy as a table like this. function love.load() guy = { x = 0, y = 0, i = love.graphics.newImage("person.png") end end All that does is attach an image into your guy table. (I simply use i ...
- Mon Apr 16, 2012 1:51 am
- Forum: Support and Development
- Topic: How can I make my character jump?
- Replies: 29
- Views: 12495
Re: How can I make my character jump?
I can't really help you understand but I can add something to puzzlem00n's code to stop that bug. All I do is make a variable like "inAir" and add it to the player table. function love.load() player = { x = 280, y = 380, ySpeed = 0, -- the Speed we'll add to the Y movement gravSecond = 1.5...
- Sat Apr 07, 2012 12:45 am
- Forum: Support and Development
- Topic: Broken collision.
- Replies: 8
- Views: 2544
Re: Broken collision.
Thanks so much I can get back to properly making my game now! So all I have to do now is make more ground tables
- Fri Apr 06, 2012 11:55 pm
- Forum: Support and Development
- Topic: Broken collision.
- Replies: 8
- Views: 2544
Re: Broken collision.
(Thanks for being so patient with me, I really suck at this.) So I have in love.update this stopping() bigcollision() if Bighead.inAir then Bighead.ySpeed = Bighead.ySpeed + (falloff * dt) end Bighead.y = Bighead.y + (Bighead.ySpeed * dt) in my other functions i have these function stopping() if Big...
- Fri Apr 06, 2012 11:07 pm
- Forum: Support and Development
- Topic: Broken collision.
- Replies: 8
- Views: 2544
Re: Broken collision.
Sorry for asking for so much help but then should the ySpeed look like this? Because right now I'm getting an infinite fall if Bighead.y > grounds[i].top and Bighead.y < grounds[i].bottom - 30 and Bighead.ySpeed > 0 then Bighead.ySpeed = math.min(0, Bighead.ySpeed) This is the new stuff I think is a...
- Fri Apr 06, 2012 10:06 pm
- Forum: Support and Development
- Topic: Broken collision.
- Replies: 8
- Views: 2544
Re: Broken collision.
Your gravity system is most peculiar. Why not have a .xSpeed and .ySpeed instead (or dx and dy)? That way you can differentiate between side collisions and top bottom collisions... Anyway your problem lies in the bigcollision part. Elseif only triggers one option no matter what. So it's hitting the...
- Fri Apr 06, 2012 7:48 pm
- Forum: Support and Development
- Topic: Broken collision.
- Replies: 8
- Views: 2544
Broken collision.
Hi guys I've been trying to make my own collision detection for a game I'm making. Unfortunately whenever the guy jumps he falls right through and none of it works. Here is the important stuff of my broken code. I'll also post the broken .love function love.load() grounds = {} grounds1 = { right = 5...