Hello
this new project is made by Game Maker Studio Profitional, you need to download it (there are crackeds versions ); and in download link im sharing you the project with codes , this is not like seafight its only test just for fun , to change the ship you need to change image of sprites .
-Movement are improved
Bugs :
- speed of changing images is not fixes
Things not aded :
no npc no gilter no hp no shoot
I will add them later
NOTE: this projects is not to make a private server , its only for making things that does not exist in the game (for exemples: shoot 1 million , making ship or npc very very fast ) :D:D:D
the code of mouvement of the ship sf
The code of the target
the download link to all files of project ( [Only registered and activated users can see links. Click Here To Register...] )
([Only registered and activated users can see links. Click Here To Register...])
for Game maker studio ([Only registered and activated users can see links. Click Here To Register...] ) [Only registered and activated users can see links. Click Here To Register...] you can find anothers version in the net cracked version and for images of the ship you have only to decompile swf of the ship and for the target sprite you can make it alone , before you begin take a look to tutorials of game maker studio
[Only registered and activated users can see links. Click Here To Register...]
this new project is made by Game Maker Studio Profitional, you need to download it (there are crackeds versions ); and in download link im sharing you the project with codes , this is not like seafight its only test just for fun , to change the ship you need to change image of sprites .
-Movement are improved
Bugs :
- speed of changing images is not fixes
Things not aded :
no npc no gilter no hp no shoot
I will add them later
NOTE: this projects is not to make a private server , its only for making things that does not exist in the game (for exemples: shoot 1 million , making ship or npc very very fast ) :D:D:D
the code of mouvement of the ship sf
Code:
Information about object: joueur
Sprite: spritedownright
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Mask:
Step Event:
execute code:
joueur.x =round(joueur.x);
joueur.y = round(joueur.y);
if (vspeed > 0 ) {
if (hspeed =0 ) { sprite_index = spritedown }
if (hspeed >0 ) { sprite_index = spritedownright }
if (hspeed < 0) { sprite_index = downleft }
}
if (vspeed<0 )
{ if(hspeed=0) { sprite_index = spriteup }
if (hspeed >0) { sprite_index = spriteupright }
if (hspeed <0) { sprite_index = spriteupleft }
}
if (vspeed=0 )
{ if (hspeed >0 ) { sprite_index = right }
if (hspeed <0) { sprite_index = spriteleft }
}
Begin Step Event:
if left mouse button is pressed
set the mouse cursor to sprite cursor and show the windows cursor
execute code:
mp_linear_step(x,y,4,false)
joueur.x =round(joueur.x);
joueur.y = round(joueur.y);
target.x = round (target.x);
target.y = round (target.y);
if (target.x - joueur.x != target.y - joueur.y )
{
if ( abs( target.x-joueur.x)0)
{move_towards_point(joueur.x + abs(joueur.y-target.y) ,target.y,4)}
if ((target.x-joueur.x)<0)
{move_towards_point(joueur.x - abs(joueur.y-target.y) ,target.y,4) }
}
if (abs(target.y-joueur.y)0)
{move_towards_point(target.x ,joueur.y + abs(target.x- joueur.x),4)}
if ((target.y-joueur.y)<0)
{move_towards_point(target.x ,joueur.y- abs(joueur.x-target.x),4) }
}}
else
{move_towards_point(target.x,target.y,4)}
End Step Event:
for all joueur: execute code:
joueur.x =round(joueur.x);
joueur.y = round(joueur.y);
if (distance_to_point(joueur.x + abs(joueur.y-target.y) ,target.y)=0)
{move_towards_point(target.x,target.y,4)}
if (distance_to_point(joueur.x - abs(joueur.y-target.y) ,target.y)=0)
{move_towards_point(target.x,target.y,4)}
if (distance_to_point(target.x ,joueur.y + abs(target.x - joueur.x))=0)
{move_towards_point(target.x,target.y,4)}
if(distance_to_point(target.x ,joueur.y - abs(target.x - joueur.x))=0)
{move_towards_point(target.x,target.y,4)}
if( distance_to_point(target.x,target.y)=0)
{speed=0 }
Code:
Information about object: target
Sprite: scare
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Mask:
Step Event:
if left mouse button is pressed
for all target: jump to position (round(mouse_x),round(mouse_y))
execute code:
target.x=round(target.x);
target.y=round(target.y);
End Step Event:
execute code:
target.x=round(target.x);
target.y=round(target.y);
move_snap(32,32);
([Only registered and activated users can see links. Click Here To Register...])
for Game maker studio ([Only registered and activated users can see links. Click Here To Register...] ) [Only registered and activated users can see links. Click Here To Register...] you can find anothers version in the net cracked version and for images of the ship you have only to decompile swf of the ship and for the target sprite you can make it alone , before you begin take a look to tutorials of game maker studio
[Only registered and activated users can see links. Click Here To Register...]