Hello all,
I am having some issues getting collision to work "flawlessly" like I would prefer it to do. At the moment, in my proof of concept, you can tell that collision handles strange. You can see very tiny jumps and movement that the player is having.
I believe it is a problem with how I am moving the player, in player:update. However I am not perfectly sure. Any advice on how to fix this, or how to optimize my existing code, that would be great.
http://i.imgur.com/28fKG.png
Note* Had to fix a little bug that I got from fiddling too much. I can't fix anything else.
Platformer Collision Issues
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Platformer Collision Issues
- Attachments
-
- Haibutsu 2013.love
- Edit: updated game
- (43.92 KiB) Downloaded 178 times
Last edited by JesseH on Tue Jan 01, 2013 9:06 pm, edited 1 time in total.
-
- Prole
- Posts: 22
- Joined: Sat Dec 22, 2012 11:59 pm
Re: Platformer Collision Issues
Is the player meant to be able to move? At the moment I can jiggle him left or right by 1 but he doesn't actually move!
Re: Platformer Collision Issues
Oh lord, let me fix this.
-
- Prole
- Posts: 22
- Joined: Sat Dec 22, 2012 11:59 pm
Re: Platformer Collision Issues
NEVER! Your error is preserved in the amber of the internet, to be pored over by legions of tech-monocle wearing researchers in the far future.JesseH wrote:Oh lord, let me fix this.
:O
Code: Select all
self.jump = -200 -- something related to michael jackson
- NightKawata
- Party member
- Posts: 294
- Joined: Tue Jan 01, 2013 9:18 pm
- Location: Cyberspace, Room 6502
- Contact:
Re: Platformer Collision Issues
Aren't I so clever with my commentsholothurian wrote:me likeyCode: Select all
self.jump = -200 -- something related to michael jackson
"I view Python for game usage about the same as going fishing with a stick of dynamite. It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -taylor
Re: Platformer Collision Issues
Still sitting here, wondering why it doesn't work.
Re: Platformer Collision Issues
I'm not clear on what problem you're looking at. When moving horizontally on the top platform, I think I noticed the player hit a bump, but I could not get this to happen again. Is that (and only that) the current problem you're trying to solve?
Who is online
Users browsing this forum: Amazon [Bot] and 6 guests