View Single Post
  #6  
Old 12-24-2012, 01:31 PM
Trakan Trakan is offline
It's all about cats!
Trakan's Avatar
Join Date: Sep 2010
Location: France
Posts: 64
Trakan is an unknown quantity at this point
Quote:
Originally Posted by scriptless View Post
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 View Post
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

Last edited by Trakan; 12-24-2012 at 02:24 PM..
Reply With Quote