pretty good!
i learned to make a game out of this!
pretty good!
i learned to make a game out of this!
Makes No Sense
I had trouble when i got to the walls. My guy kept on being pushed to the top or bottom when he touched the wall, and with the health, mp, and xp, it was too confusing. And since when did we add in the menu bar? Sorry, but I think you might have to fix this up.
the solution to get xp :p
this tutorial is old i would say dont just copy paste look into the code and everything should work perfectly
ps: if you have problems with the xp i had very much trouble with i got the code
put this code in the xp movie clip
onClipEvent (load) {
next=1200;
totalxp=0;
}
onClipEvent(enterFrame){
if(totalxp>=next){
next*=2;
totalxp=0;
}
}
onClipEvent (enterFrame) {
this._xscale= totalxp/next*100
}
onClipEvent (enterFrame) {
if(this._xscale>next-1){
this._xscale=next;
}
}
onClipEvent (enterFrame) {
if(this.totalxp>next-1){
this.totalxp=next;
}
}
onClipEvent (enterFrame) {
if(this._xscale<1){
this._xscale=0;
}
}
onClipEvent (enterFrame) {
if(this.remaining<1){
this.remaining=0;
}
}
_root.xp.totalxp+=whateveryouget; use this in every thing that gives you xp
You shouldn't reset totalxp, because that is the variable that shows you how much xp you have IN TOTAL. You should reset regular xp, but not set it to 0, minus next instead. Anyway, this tutorial is quite old, when I get round to it, I'll make a newer version
send
wow.. work on your tut actionscript. possibly send me the .fla file via email? the .fla file of the tut that is. d.gregory@charter.net
it doesn't work
the actionscript just wont work.