Yeah, I've done something similar, cheers.
Q. How do I detect a collision between a bullet and an enemy?
Search found 15 matches
- Fri Jun 26, 2009 1:49 pm
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
- Mon Jun 22, 2009 10:28 pm
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
Re: My ongoing newbie questions
And another... I have a physics body as the ground, with the player standing on it. How do I detect whether the player is touching the ground, to determine whether he can jump? Or is there a better way? (At the moment, the player can keep jumping whilst in the air, as if they're flapping wings and f...
- Mon Jun 22, 2009 10:01 pm
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
Re: My ongoing newbie questions
For about a week I'd not gotten round to working on my game at all, but just last night i started getting back to work on it, and now have most of what I did working with everything as physics objects instead of just moving pictures :) To get the ball rolling on those questions again... Q. How do I ...
- Wed Jun 17, 2009 9:25 am
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
Re: My ongoing newbie questions
Great - thanks. Will try it tonight
- Tue Jun 16, 2009 11:48 am
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
Re: My ongoing newbie questions
Am having trouble figuring this out (player movement with physics).
Q. Can anyone suggest a Love game to refer to as a simple example of pressing arrow keys to move an avatar around in a basic physics-enabled world?
Q. Can anyone suggest a Love game to refer to as a simple example of pressing arrow keys to move an avatar around in a basic physics-enabled world?
- Sun Jun 14, 2009 10:19 pm
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
Re: My ongoing newbie questions
Okeydokey - I'm having a go at implementing the physics stuff. [Edit] Done! But now my previous means of moving the player character... if love.keyboard.isDown(love.key_right) then playerx = playerx + movespeed * dt end ...Doesn't work anymore. Q. Is this because the player is now a physics object, ...
- Sun Jun 14, 2009 3:27 pm
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
Re: My ongoing newbie questions
Righto - I'll try it the next time it comes up.
Q. I'm trying to implement some really basic kind of collision detection (bullets hitting the player / enemies). What's the simplest / suggested way of doing this?
Q. I'm trying to implement some really basic kind of collision detection (bullets hitting the player / enemies). What's the simplest / suggested way of doing this?
- Fri Jun 12, 2009 11:56 am
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
Re: My ongoing newbie questions
Q. What does "No matching function for overloaded 'draw'" mean, when I try and run my game and there's a showstopping error?
- Thu Jun 11, 2009 8:49 pm
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
Re: My ongoing newbie questions
Aye a friend linked me to that too - will start dipping into it
Q. How do I take a float and convert / round it to the closest integer?
Q. How do I take a float and convert / round it to the closest integer?
- Thu Jun 11, 2009 7:54 pm
- Forum: Support and Development
- Topic: My ongoing newbie questions
- Replies: 43
- Views: 33612
Re: My ongoing newbie questions
That's what I suspected. Cheers