View Full Version : [HELP] Platform game block hero jumping through walls
calvinpohwc
July 26th, 2009, 01:07 PM
Hi guys,
I am new to AS3 game programming. Anyone can help me with the above question?
Attached is the source codes.
Thanks,
Calvin
flyingmonkey456
July 27th, 2009, 12:28 AM
be more specific when you have a problem. i had to play it a few times before i found it. to anybody who doesn't want to play the game 10 times, his problem is that it is treating wall tiles like platform tiles. you can jump through platform tiles from below, and wall tiles are allowing the same thing. when he has a wall tile that can be walked under, you can jump up through it and if it is a vertical wall you will be standing inside of it. i don't know the solution to your problem, but i hope i've clarified things for anybody who does.
calvinpohwc
July 27th, 2009, 01:19 AM
be more specific when you have a problem. i had to play it a few times before i found it. to anybody who doesn't want to play the game 10 times, his problem is that it is treating wall tiles like platform tiles. you can jump through platform tiles from below, and wall tiles are allowing the same thing. when he has a wall tile that can be walked under, you can jump up through it and if it is a vertical wall you will be standing inside of it. i don't know the solution to your problem, but i hope i've clarified things for anybody who does.
Yep that's exactly my problem. Sorry for not being clear initially.
SparK_BR
July 28th, 2009, 08:21 AM
I made a fix_LOG_READ_ME!!!.txt file inside the zip
have fun, read the comments and i hope you like the new camera/scrolling ;)
calvinpohwc
July 28th, 2009, 08:46 AM
Wow! Really nice changes there. Really appreciate your help on this. Really like the new camera scrolling much more realistic and nicer.
SparK_BR
July 28th, 2009, 08:58 AM
hehe, no prob, as long as my boss don't get me neither looking at the forums nor with flash CS3 open... ;)
solipsism
September 8th, 2009, 10:34 AM
you can also solve the problem by removing any stacked wall tiles and stretching ONE out to be the same height as what you need to replace.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.