Media Summary: Enemy: onClipEvent(enterFrame){ if(_root.char.hitTest(this)){ _root.hp--; } } Hp Bar Instance Name: hp Hp Code (Put In Frame): hp ... Money Code (Put On The Coin): onClipEvent(enterFrame) { if(_root.char.hitTest(this)) { _root.money +=10 unloadMovie(this); } ... just watch it. - Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 ...
Flash 8 Game Tutorial Part - Detailed Analysis & Overview
Enemy: onClipEvent(enterFrame){ if(_root.char.hitTest(this)){ _root.hp--; } } Hp Bar Instance Name: hp Hp Code (Put In Frame): hp ... Money Code (Put On The Coin): onClipEvent(enterFrame) { if(_root.char.hitTest(this)) { _root.money +=10 unloadMovie(this); } ... just watch it. - Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 ... heres the codes: gun: onClipEvent (enterFrame) { Mouse.hide(); this._x = _root._xmouse; this._y = _root._ymouse; } onClipEvent ... Here I show you how to create a very simple guessing Items Code: onClipEvent(enterFrame) { if(_root.char.hitTest(this)) { _root.addToSlot(this); } } Inventory Code (Put In Frame): ...
Yeah! It's finally here! I had to cut some of it away cuz the whole vid was 20 FUCKING MINUTES LONG! I updated my page so ...