my health goes down but you cant see it going down i know it goes down becasue eventually it goes onto the you died frame if you stay close to the enemy for long enough any help?
Ive got a problem too When i get 2 0 health on my game it keeps going down...HELP! and I know ADretsamtovip said that to and figued it out but I still cant....
nice, would there be any chance you could send me the game when your finished making it, i will help you out by making a tut on how to transform the char
Sure the only things i need tho are action script to stay a car when u press a button, and turn back and stay a robot when you press the button again and with ur help i got how to make my character attack the enemy and the enemy's health goes down but i need to know how to make the enemy look like he got hit when he does, not just standing there tho... sorry for not replying!
I need help with something, I created the playing bit of the game on frame 1, the lose screen on frame 2 and I made the menu on frame 3 and I don't know how to start with the menu when I play.
you cant, try moving the two frames along once togther then on the first frame which looks likes two put together click on the first one and press f7, now copy the menu frame which you have created to the first frame, by right clicking on the menu frame and press copy frames, then go to the first one and press paste frames.
britsh?
negresiolo 1 week ago
This has been flagged as spam show
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Operator '=' must be followed by an operand this._xscale=_root.hp;
Total ActionScript Errors: 1 Reported Errors: 1
what the hell is this??
gibihakkasy 1 month ago
can we make codes ourselves?
TheSvartdemon 9 months ago
@TheSvartdemon yes, just learn as2, or as3 (:
VampieGames 9 months ago
@VampieGames what?
TheSvartdemon 9 months ago
the code is wrong!!
gordonyuen2009 10 months ago
how do i make destroyable enemies
sonicfanyeah 10 months ago
In what format i have to save game?
444Morkization 10 months ago
The error means that frame 2 is missing
add a blank keyframe and it should work!
ProGamingLegends 10 months ago
It shows me that there is a mistake in the code !
can you send it to me in PM ?
HiroStarcraft2 1 year ago
MAKE MOAR!
Bladestorm687 1 year ago
I want to make a RTS can you help?
Bladestorm687 1 year ago
When i'm starting to play there is a error
**Error** Symbol=Symbol 12, layer=Layer 1, frame=1:Line 3: Operator '=' must be followed by an operand
kaguna05 1 year ago
din't work
SOSODEAF5 1 year ago
How can i make the enemy move??
Tanitrieltanya 1 year ago
how do I put that purple cube?
Marcoasdxdlol 1 year ago
1. Next level
2. Destroyable enemies
3. Moving enemies
4. Walls
5. powerups
I NEED THEM !!!
Anyone make tutorial or give link for it please!
(yes I copied the comment from moneymusic22)
Speelwow 1 year ago
This has been flagged as spam show
Here is the real and working hp bar code:
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop(2)
}
}
GeraldStudios2 1 year ago
straight copy off of pbj...
Hellonoob1234566 1 year ago
This has been flagged as spam show
hp bar code plzz?
TheSweXD 1 year ago
hp bar code plzz?
TheSweXD 1 year ago
This has been flagged as spam show
@TheSweXD This Is The HP Bar Code:
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop(2)
}
}
TheJake1999 1 year ago
what do we type when we are doing the button code i can't hear it or see it or even find it
thedayspider 1 year ago
nevermind
thedayspider 1 year ago
ty so much :D been alot of help
t7easy 1 year ago
This has been flagged as spam show
**Error** Scene=Scene 1, layer=Layer 1, frame=7:Line 2: Operator '=' must be followed by an operand this._xscale = _root.hp;
Total ActionScript Errors: 1 Reported Errors: 1
Whats that
NiksiLsmo 1 year ago
nice tut bro but i still have a problem with the items not going in the inventory :S the coins work but the items dont
bad7boyzftw 1 year ago
This has been flagged as spam show
Somebody please help, this is the error
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Operator '=' must be followed by an operand this._xscale = _root.hp;
SpiderOleg 1 year ago
what is the second frame code?
boring1231 2 years ago
enemy wont do anything
Riotman898 2 years ago
This Is The HP Bar Code:
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop(2)
}
}
LegoClone000 2 years ago 14
what are the you died button code??
JONTEK3 2 years ago
on(release){
gotoAndPlay("number of the frame you want it to go to")
}
HemVed 2 years ago
This has been flagged as spam show
when i die and press the retry button nothing happens please help!
yourmumsAWESOME 2 years ago
when i die and press the retry button nothing happens please help!
yourmumsAWESOME 2 years ago
are u sure its a buton?? because if its a movie clip it wont work also make sure you have added actions
shoopdawoop25 2 years ago
put this code on the button:
on(release){
_root.gotoAndStop(1);
}
blubfaceproductions 2 years ago
i want this program sooo bad
MegaMustache98 2 years ago
then buy it or pirate it....
eztoons4life 2 years ago
Why is there so long code on your frame actions, when i look at mine they are empty, could someone please give me the code's? Thank you,
Pyanapple 2 years ago
lol have you checked out my other 3 tuts, 1, 2 and 3, i also have a fifth but you have to watch them in order, if this doesn't help, pm me
VampieGames 2 years ago
hey... uhhhh i really dont get it?? i did everything correct but it just doesnt work?????
shocktheatertooons 2 years ago
Thank you so much!
MartaGirl200 2 years ago
i wanna give you a hug!
thanks so much for these tutorials!
JayMutta 2 years ago
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop()
}
}
where it says gotoAndStop() put the number 2 in between the brackets
hypersuperultrahaku 2 years ago
i got it doesnt matter thanks so much best tut ever
stevendavidcampbell 2 years ago
my health goes down but you cant see it going down i know it goes down becasue eventually it goes onto the you died frame if you stay close to the enemy for long enough any help?
stevendavidcampbell 2 years ago
Cant find hp bar code help
Areoshot 2 years ago
i need to know how to make levels and walls. help please?
TEHM4X 2 years ago
it says thiers an error on my 6th line on my action script for frame 1 heres my action script for it
money = 0;
currentslotnum = 1;
stop();
function addToSlot(item){
if(!item.found){ item._x = eval ("itemslot" + currentslotnum)._x; item._y = eval ("itemslot" + currentslotnum)._y; item.found = true; currentslotnum++;
}
}
hp = 100;
hellome12345678999 2 years ago
whats the code for making a health pack?
Marwaniok 2 years ago
When i find scripts?
I can't see the scripts on video.
nilpiupiu 2 years ago
how do you actuay make them die im making a game
gamemak0r 2 years ago
i write them, it takes a long time to learn, i guess i could teach u tho ill send u a message with my msn on
VampieGames 2 years ago
Hey, Could you send me your msn please, id like to learn how to do codes and you could help me make a flash game :) thnx
uXgotXmerked 2 years ago
Hey man think you could help me make some action scripts
reklats98 2 years ago
i wanna learn the actionscript too plz
hypersuperultrahaku 2 years ago
@VampieGames can you teach me PLZZZZZZ :') I really really REALLy wanna learn PLZ
alypkm 1 year ago
simply put this code in each frame:
stop();
:P
VampieGames 2 years ago
i wont work for me..
theres a error when you play it.
what will you put in the codes w/
(eneterFrame)?
SteveDaGM 2 years ago
your missing some important things and of course they are the things i need...
1. Next level
2. Destroyable enemies
3. Moving enemies
4. Walls
5. powerups
Thats all i can think of for now...
moneymusic22 2 years ago 15
Yeah, those would be cool and I thought of those,
Just I'm making a game with my group as a school project, and the game would only need the two I mentioned.
DaUltimaGamer 2 years ago
i figured out the moving enemies lol..
moneymusic22 2 years ago
Comment removed
Deskarano 2 years ago
@moneymusic22 The walls are so easy and moving enemies and next level like come on and she made a video about destroyable enemies and power ups
MrYodogson 1 year ago
@moneymusic22
It says that there are mistakes in the code and i cant use it !
W-T-F ?!
HiroStarcraft2 1 year ago
@moneymusic22 Moving enemies.... motion Tween... :)
daymond12345 3 months ago
@daymond12345 the ridiculous thing about that, is the comment was left 2 years ago...
VampieGames 3 months ago
@VampieGames I know lol in case he still doesnt know i did that... lol
daymond12345 3 months ago
Hey, Im postong this on a lot of flash tutorial vids, but I need help. I'll spare some details, but how can I make it so;
* you go to the next room when you come into contact with an object (like a door)
*you can have walls and objects that you cant move through,
Those are the ones I still need,
PLEASE HELP ME SOMEONE
I NEED TO FINISH THE GAME BY JUNE 3rd!,
so like, reply or PM me.
DaUltimaGamer 2 years ago
Comment removed
RTMuveez 2 years ago
how do you kill the enemies?
ermac142 2 years ago
how do you make a wall?
spades48 2 years ago
oh ye and whats the jump code?
stexcarina 2 years ago
Ty so much :]
dude where did you get all the codes and stuff?
stexcarina 2 years ago 3
Dude whats the stop code?
you said you will put it in the discription but you didint...
what to type in the second frame
stop then what?
stexcarina 2 years ago
stop();
VampieGames 2 years ago
stop();
Newgroundsdummie 2 years ago
Comment removed
stexcarina 2 years ago
tysm!
nccrochet 2 years ago
My hp bar just keeps going down this is the code:
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop(2)
}
}
help!?
TowerSL 2 years ago
ya me to
chordchart 2 years ago
Something that you need to do is make sure that on the frame your game is on, you have the code of
_root.hp = 100;
have that exactly as I wrote it, and it should work just fine
blubfaceproductions 2 years ago
Comment removed
samka08 2 years ago
on(press){on(press){
_root.hp++;
}
put this code in something so if you click on that object you get healed!!
the more _root.hp++;s you put in the more it heals you.put 50 you get healed full
YouNoobINC 2 years ago
2 questions.
1. Can you give me a code to make walls unwalkable through?
2. How can I make the enemy follow me?
Deskarano 3 years ago 2
This is so the enemy can follow you:
onClipEvent (enterFrame) {
_y += (_root.char._y-_y)/49;
_x += (_root.char._x-_x)/49;
}
TowerSL 2 years ago 3
Thanks!
Deskarano 2 years ago
I can't find the hp bar code
diademmaster45 3 years ago
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop(2)
}
}
VomitWithABrain 2 years ago
Do u no if there is a way to send the character to another frame by it touch something like the crystal?
And also, if there a way to make the pick-ups that go in the inventory a perk by making a buttton known as use?
Thanks
blitz557 3 years ago
Do you know a script that you could put on walls so that the character cant pass through it?
legendlazy 3 years ago
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop()
}
}
VampieGames 3 years ago
This code just made my wall shrink as I went over it as well as my hp bar. I could still go over it.
RedDawnJensen 2 years ago
how do i make an auto moving enemy?
ongdexing 3 years ago
simply make an animation then put the code on the animation, do you need a animation tut?? if so i would be more than happy to help :P
VampieGames 3 years ago
yess PLEEZ!!!
Antoniosgroup 2 years ago
THANKS IM SUBSCRIBING MAN SWEET!
melovesdoritos 3 years ago
What's the code for the Retry Button?
iisolicrow 3 years ago
In Frame:
stop();
In Button:
on (release)
gotoAndPlay(1)
toothpaste8760 3 years ago
in button for retry add code for frame where you want to start like
on (press)
{ gotoAndPlay(frame where you wanna go);
}
juricasokac 3 years ago
its
onRelease{
gotoAndPlay(#)
}
The # Sign Meaning What Frame u Wana goto
u dont need bracets around the release
MetalLica0007 3 years ago
you can also this code for the hp bar:
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndPlay(2)
}
}
circassianlife 3 years ago
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop()
}
}
VampieGames 3 years ago
What's the code for the hp bar?
iisolicrow 3 years ago
What is the code for the retry button?
iisolicrow 3 years ago
whats the code for the hp bar
tarey13 3 years ago
onClipEvent(enterFrame) {
if(_root.char.hitTest(this)) {
_root.hp += 10
unloadMovie(this);
}
}
Mathurankan 3 years ago
or this
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<0){
_root.hp=0;
}
if(_root.character.hitTest(_ro ot.health)){
this._xscale = 100;
}
}
Mathurankan 3 years ago
what is the code for the hp bar?
LsDesigns13 3 years ago
I also wonder what is de hp bar code?
malekjaojao 3 years ago
What is the HP Bar Code?
papayoshi16 3 years ago
yes
pivotmaster0213 3 years ago
OK I now have it where when I die it takes me to the you die frame but the hp bar is still going down when I'm not hitting the enemy...
pivotmaster0213 3 years ago
have you set the characters instance name to char ?
VampieGames 3 years ago
I did o wait no spaces? If that is then thats the mistake
pivotmaster0213 3 years ago
ok I got it but if I die and say retry I'm not even hitting the enemy and I'm losing hp help again! lol
pivotmaster0213 3 years ago
in the frame put the code hp=100;
VampieGames 3 years ago
Ive got a problem too When i get 2 0 health on my game it keeps going down...HELP! and I know ADretsamtovip said that to and figued it out but I still cant....
pivotmaster0213 3 years ago
oh ok thanks
pivotmaster0213 3 years ago
when you say stop on the frame thing what did you put after that ()? what
pivotmaster0213 3 years ago
in between the bracks you put the frame number
VampieGames 3 years ago
So where is the HP code?
Korogashite 3 years ago
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop()
}
}
hypersuperultrahaku 2 years ago
Can you make an inventory item replenish health?
4NTH0NYS 3 years ago
stop yelling in my ear lol
jemar200 3 years ago
haha =D
DCT1191 3 years ago
Don't call my friend a noob! What did he ever do to you?
Thatlittleweirdo 3 years ago
noob just means hes new...chill
RTMuveez 2 years ago
EVERYBODY!!
I HAVE FOUND THE BUTTON CODE!! woop woop!
IT IS:
on(release) {
gotoAndPlay(1);
}
DCT1191 3 years ago
you catch on fast, o.O noob
VampieGames 3 years ago
y r u calling me a noob??!!!
DCT1191 3 years ago
cas everyone new that 4 ages
VampieGames 3 years ago
o.k. then. i'll just make sure not to subscribe and not watch your vids!!
Isn't it a shame, i was going to tell all my friends about your AMAZING vids. ;P
DCT1191 3 years ago
it is not working i typed exactly this
on release
gotAndPlay
can you please type the whole button code :( i really need it fast.
mackemorot3 3 years ago
it is:
on(release) {
gotoAndPlay(1);
}
DCT1191 3 years ago
its:
on(release) {
gotoAndPlay(1);
}
DCT1191 3 years ago
whats the goto and play code?
thecreator559 3 years ago
This has been flagged as spam show
on(release) {
gotoAndPlay(1);
}
DCT1191 3 years ago
how to you make the char. kill the enemy please help fast, Awesome tutorial btw.
dicool27 3 years ago
ill make a tut 4 u
VampieGames 3 years ago
for the hero code how do you do it
thithimimi 3 years ago
Buy a new Mic.
draft92 3 years ago
how do you export the game to play it?
caloca17 3 years ago
save it, then press control and enter at the same time while in the flash with it loaded up then it will be wherever you saved it
VampieGames 3 years ago
you said you would put the code for the "HP bar" in the comments, i cant find it...
joekommovies 3 years ago
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop()
}
}
hypersuperultrahaku 2 years ago
wuts the codes u put in for the retry button
TheDarkTriforce777 3 years ago
This has been flagged as spam show
on(release) {
gotoAndPlay(1);
}
DCT1191 3 years ago
thnx i am makin a transformers game this helped alot
enzowars 3 years ago
nice, would there be any chance you could send me the game when your finished making it, i will help you out by making a tut on how to transform the char
VampieGames 3 years ago
Sure the only things i need tho are action script to stay a car when u press a button, and turn back and stay a robot when you press the button again and with ur help i got how to make my character attack the enemy and the enemy's health goes down but i need to know how to make the enemy look like he got hit when he does, not just standing there tho... sorry for not replying!
enzowars 2 years ago
gd Just YOUR VOICE IS SO ANNOYING!!!!
lol
firesoul7468 3 years ago
lol, im sorry, i had a bit of a cold !!!
VampieGames 3 years ago
Do tutorial about enemy whitch moves. Nice tutorials btw :)
GGMadMan 3 years ago
what hp bar action ?
litllefighterfan123 3 years ago
I need help with something, I created the playing bit of the game on frame 1, the lose screen on frame 2 and I made the menu on frame 3 and I don't know how to start with the menu when I play.
Emilerules97 3 years ago
you cant, try moving the two frames along once togther then on the first frame which looks likes two put together click on the first one and press f7, now copy the menu frame which you have created to the first frame, by right clicking on the menu frame and press copy frames, then go to the first one and press paste frames.
VampieGames 3 years ago
could i have some help plz
when i go up to the enemy and my hp hits 0 it keeps going backwards. plz help O, and whats the go to and play action script?
linemaster252 3 years ago
happened to me too in the action code for the hp it says gotoAndPlay() inside te brackets put 2
hypersuperultrahaku 2 years ago
what hot key did you use to go to the convert to symbol page when you changed the registration point to left.
Emilerules97 3 years ago
you press f8
VampieGames 3 years ago
and how do you make different objects take away more health than others?
JackSpud999 3 years ago
this time i only have 1 problem :S when i get killed the frame just freezes and doesnt go to the frame i asked y?
JackSpud999 3 years ago
thanks again u help me so much thanks :) ;)
JackSpud999 3 years ago
u did not put the gotoAndPlay code thing
franc1994 3 years ago
I seem to have something wrong. I did everything but when I test it i get killed instantly and sent to the 2nd frame where the retry button is.
know any reasin why?
faceless6262 3 years ago
you need to put in the frame of the game:
hp = 100;
VampieGames 3 years ago
I did put that code, but it was in caps. It works now, thnx.
faceless6262 3 years ago
yo how would you make your character like shoot a lazer or something at the enemy
BenjiSkateboards 3 years ago
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop()
}
}
VampieGames 3 years ago
thnx
cheesycrew12 3 years ago
u havent put the hp code in yet
cheesycrew12 3 years ago
onClipEvent(enterFrame){ this._xscale = _root.hp;
if(_root.hp<=0){ _root.gotoAndStop() }
}
Sorry it was on comments but it wont work on description
VampieGames 3 years ago