Moofy
Posts : 379 Experience : 4584 Join date : 2009-09-10 Age : 28 Location : Denmark, Odense Country :
| Subject: The worlds hardest game scripts! Fri Dec 25, 2009 2:16 pm | |
| | |
|
Reaven Admin
Posts : 676 Experience : 10001287 Join date : 2008-12-17 Age : 30 Location : im your neighbor!!!.....naah, im German. Country :
| Subject: Re: The worlds hardest game scripts! Sat Dec 26, 2009 11:36 pm | |
| i don't really wan't to explain the script to you cause im lazy. BUT i can tell you that the script for that game is simple. use google to find the scripts. you'll need: basic controls for the player: http://flashfight.blogspot.com/2009/08/flash-tutorial-character-movement-with_06.html hit-test: too lazy to explain that and a hit-test script for the wall. maybe like that: - Code:
-
onClipEvent (enterFrame) { if (this.hitTest(_root.someMC)) { this._x += -5; } else { this._x += 0; } } thats it! btw, you don't need any script for the enemy cause its just a moving movieclip with a hit-test script :) | |
|
Moofy
Posts : 379 Experience : 4584 Join date : 2009-09-10 Age : 28 Location : Denmark, Odense Country :
| Subject: Re: The worlds hardest game scripts! Sun Dec 27, 2009 7:12 pm | |
| | |
|
Reaven Admin
Posts : 676 Experience : 10001287 Join date : 2008-12-17 Age : 30 Location : im your neighbor!!!.....naah, im German. Country :
| Subject: Re: The worlds hardest game scripts! Sun Dec 27, 2009 11:32 pm | |
| gimme your msn name and i'll explain it to you.
Last edited by Reaven on Wed Dec 30, 2009 2:02 am; edited 1 time in total | |
|
Moofy
Posts : 379 Experience : 4584 Join date : 2009-09-10 Age : 28 Location : Denmark, Odense Country :
| Subject: Re: The worlds hardest game scripts! Mon Dec 28, 2009 9:13 pm | |
| | |
|
Sponsored content
| Subject: Re: The worlds hardest game scripts! | |
| |
|