Search found 14 matches

by lieudusty
Sun Aug 04, 2013 2:46 pm
Forum: Support and Development
Topic: Beginner to HardonCollider
Replies: 3
Views: 2747

Re: Beginner to HardonCollider

Check the HC github reference? http://vrld.github.io/HardonCollider/reference.html#hardoncolliderHC:setCallbacks Thanks! I should of checked the reference first Edit: Okay I just checked it and tried to follow the example. I got the player to move the wall but thats not what I wanted, I need player...
by lieudusty
Sun Aug 04, 2013 4:52 am
Forum: Support and Development
Topic: Beginner to HardonCollider
Replies: 3
Views: 2747

Beginner to HardonCollider

Hi everyone! :D I'm starting to use HardonCollider and it seems great! I took an attempt to make a basic moving box with walls on the map but I can't figure out how to stop the player from moving through the wall. On the collision callback I have no idea how to stop it from colliding. Can someone pl...
by lieudusty
Wed Jul 24, 2013 7:42 pm
Forum: Support and Development
Topic: Player jumping increases with speed
Replies: 6
Views: 3578

Re: Player jumping increases with speed

In your place, I personally would leave it like it is, because this is the physically correct behavior. If you still want to change it you have two options: Either change the jumping height (by making the initial jumping velocity smaller) or increase gravity. Since the games speed increases you hav...
by lieudusty
Wed Jul 24, 2013 7:37 pm
Forum: Support and Development
Topic: Player jumping increases with speed
Replies: 6
Views: 3578

Re: Player jumping increases with speed

I haven't looked at your code but, if you are using dt and you multiply it by the speed, make sure to divide it again by the speed when you are jumping. Well when the game speeds up, I add the speed to the scrolling so it speeds up the map movement. But, that results in the jumping to jump further....
by lieudusty
Wed Jul 24, 2013 7:30 pm
Forum: Support and Development
Topic: Player jumping increases with speed
Replies: 6
Views: 3578

Re: Player jumping increases with speed

Davidobot wrote:I haven't looked at your code but, if you are using dt and you multiply it by the speed, make sure to divide it again by the speed when you are jumping.
Well when the game speeds up, I add the speed to the scrolling so it speeds up the map movement. But, that results in the jumping to jump further.
by lieudusty
Wed Jul 24, 2013 7:21 pm
Forum: Support and Development
Topic: Player jumping increases with speed
Replies: 6
Views: 3578

Player jumping increases with speed

Hi! I'm making an endless running side scrolling game and the jumping jumps too far when the speed is increased. The speed of the game is increased overtime and the jumping jumps further out. For example at lets say at speed 1 when the player jumps the player moves 100 px, but at speed 5, when the p...
by lieudusty
Wed Jun 12, 2013 5:24 pm
Forum: Support and Development
Topic: Gaps and overlaps in object collision
Replies: 8
Views: 3923

Re: Gaps and overlaps in object collision

Well all I'm trying to find help on is why there is a gap between the player and the walls and a solution to fix that. But sadly I still can't figure it out :(
by lieudusty
Sat Jun 08, 2013 2:51 pm
Forum: Support and Development
Topic: Gaps and overlaps in object collision
Replies: 8
Views: 3923

Re: Gaps and overlaps in object collision

To me, it is not totally clear, what you mean by gaps or overlay, but here is a general comment on collision: What you do right now is this: Calculate the new position of the player Check if new position causes a collision If it does not, then move to the new position Otherwise, stay at the old pos...
by lieudusty
Sat Jun 08, 2013 2:38 pm
Forum: Support and Development
Topic: Gaps and overlaps in object collision
Replies: 8
Views: 3923

Gaps and overlaps in object collision

Hello everyone! :) I've been using the bounding box collision function found on the love2d forums and its working fine but when I try to make walls with it, there are sometimes gaps or overlaps and sometimes not. Thanks for the help in advanced! -- Check Wall returns true if the player's x and y are...
by lieudusty
Thu Jun 06, 2013 11:09 pm
Forum: Games and Creations
Topic: Untitled game about shooting falling rectangles.
Replies: 14
Views: 8176

Re: Untitled game about shooting falling rectangles.

Very nice game! Love the lighting effects.