Newgrounds.com — Everything, By Everyone.
Age/Gender: n/a, Male
Newgrounds Stats
Whistle Status: Normal
Exp. Points: 70 / 100
Exp. Rank #: 234,277
Voting Pow.: 3.11 votes
BBS Posts: 0 (0 per day)
Flash Reviews: 2
Music Reviews: 0
Trophies: 0
Stickers: 0
All Flash Reviews
2 Reviews | 1 w/ Response
if you added some sound and a story line it would have been perfect
- Rate this review:
- Helpful!
- Useless.
- Flag as abusive.
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
Author's Response:
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
- Rate this review:
- Helpful!
- Useless.
- Flag as abusive.