Quote:
Originally Posted by scriptless
Change
PHP Code:
if (weaponfired) {
to
PHP Code:
function onWeaponFired() {
Then change anything with
PHP Code:
playerx playery playerdir
to
PHP Code:
player.x player.y player.dir
Then with
PHP Code:
setani freezeplayer sleep
us
PHP Code:
setani() freezeplayer() sleep()
That's pretty much all you gotta do to convert it from GS1 to GS2.
|
Thanks

, but, this
player.x += 0.1;
sleep .1;
player.x += 0.1;
sleep .1;
player.x += 0.1;
sleep .1;
player.x += 0.1;
it's really ugly
Any way to change that?
Quote:
Originally Posted by Gunderak
First off, welcome?
Secondly, GS1 won't get you far.
When I first started with Graal development I tried learning GS1 (stupidly) from the offline editor.
|
First off, i've said "Hey!" just look.
Secondly, i was on GraalReborn because it's free, so it's gs1 only.
Next, i don't have the time now for learn gs2 and that's not my work on my principal work on my project.
And finally, did you have a way to block player from going in blocking tiles, because with this script players can go anywhere they want