Hey im making an RPG right and i have set it up so my map moves and my character stays in one stop accept that he changes direction when he moves.
anwyaz i made 2 layers so far… one for the moving map and my character and one for my the stuff i dun want my player to walk into. I understand the hittest stuff but i dun know how to make it so my guy cant crash through my buildings…
heres ther fla… help appreciated… i cant figure out wats wrong …
umm actually, no. Hit Test is a bit more complicated then that. What you have is only one thing to Hit Test with. So, when you load the game, your character is already “hit testing” the buildings because all the outer buildings on each side create a huge square(hit testable area).
I dont’ know if that made sense but what i’m trying to say is that you need a wall for north, east, south, west for each building.
Okay, what you should do is just have the stage/bg color green and have the rest as one movie clip. If you have the BG that large extending out to the furthermost borders of your Flash document, it’s going to run at 1 fps, which is bad for performance reasons.
Have the roads and the houses as one movie clip, because if you go to modify-> document and change the BG color to green, you wont need to have the green as part of the movie clip and the game will run faster. Your layers are messed up too.
[QUOTE=MoNgOlIaN]Okay, what you should do is just have the stage/bg color green and have the rest as one movie clip. If you have the BG that large extending out to the furthermost borders of your Flash document, it’s going to run at 1 fps, which is bad for performance reasons.
QUOTE]
That’s not true… just look at my game… unless your computer’s slow…
Thanks… to create a map that large I had to create a movie clip… and then put the map in the movie clip… and then I scaled down the map… then I edited it from there…
u got good skills in flash… u learn all this urself or through turtorals…
if u learned through turtorials please post which ones helped u with the rpg the most
Thanks… but the truth is… I learned my flash from a very good programmer… he learned all that he knows from many tutorials at this site… but I don’t know which ones…