View Full Version : RPG Slayer
KIERIOSHIMOTO
July 2nd, 2005, 09:28 PM
im making an rpg, its got a guy in it who basicly just has to go around through all of the levels killing vampires and werewolves and whatever else the cia tells him to kill. at the beggining u have no weapon but on the first level there is a gun store were u go to spend u cash and buy a weapon, i dont know how to equip my guy with the gun and make it so when he has the gun he can shoot and when he doesnt have it he cant shoot. i also want it so i can go into the gun store and cycle throught the weapons. so i need to have a hitt est so when guymc colides with gunstores door itll got to frame 2, where i will make the inside of a guy store. can anybody help me plz?
pom
July 2nd, 2005, 09:59 PM
:h: What's your question exactly? And please don't send pm's to ask questions...
KIERIOSHIMOTO
July 2nd, 2005, 10:15 PM
:h: What's your question exactly? And please don't send pm's to ask questions...
ive given up that idea, so dont worry but do you know where i can find a tutorial on side scrolling platformers, can u take a look at theis plz? my guy wont jump
KIERIOSHIMOTO
July 2nd, 2005, 10:17 PM
forgot to put my fla on
and could u make and example of how to equip a gun to it?if thats not to much trouble plz
pom
July 3rd, 2005, 08:19 AM
http://www.kirupa.com/forum/showthread.php?t=43182
RolandU
July 3rd, 2005, 08:25 AM
you could do this...
haveWeapon= true; // states that you have a weapon, if you don't... it'll be false
if(haveWeapon==true){
guymc.weapon._visible=true; //tells the weapon movieclip (which contains the picture of a gun) inside the guymc to be visible
}else{
guymc.weapon._visible=false;
}
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.