GameMaker: Studio

GameMaker: Studio

评价数不足
gamemaker studio coding
由 Polis Ranger 制作
I love gamemaker studio is realy fun to make games sometimes is hard to do coding it is.
We need coding to make things move, tork, hit, follow your player to.
+ I'll pot some gamemaker studio tutorial videos to help you.

So here are some coding I know here.
playerSpeed = 5;
player Hitpoints = 125;
//MOVEMENT
if keyboard_check(vk_left)
{ x -= playerSpeed;
}
if keyboard_check(vk_right)
{ x += playerSpeed;
}
if keyboard_check(vk_up)
{ y -= playerSpeed;
}
if keyboard_check(vk_down)
{ y += playerSpeed;
}
//HITPOINT STUFF
if player Hitpoints > 125 //This caps off my players hitpoints
{ playerHitpoints = 125;
}
if playerHitpoints <= 0 //This causes the player to DIE!!!
{ room_goto(Game_over);
}
playerHitpoints -= 15;
playerHitpoints += 15;
draw_sprite(sprite_index,-1,x,y);
draw_text(50,25,playerHitpoints);
move_towards_point(32,165,5);
instance_destroy();

Hope this will help you if your new too it.
Thank you for reading.
   
奖励
收藏
已收藏
取消收藏
gamemaker studio tutorial video.
Here are some videos for you how to do codeing.
Is to help you with gamemaker studio

Game Maker Studio: Basic Tutorial


GameMaker Studio Tutorial #11




GameMaker Studio Tutorial #1



GameMaker Studio Tutorial #2





3 条留言
Khaos 2014 年 1 月 8 日 下午 4:33 
hey do you know any GOOD 8 bit makers [for free]?
Polis Ranger  [作者] 2014 年 1 月 8 日 上午 7:42 
is a start.
Khaos 2014 年 1 月 8 日 上午 4:44 
its ok...not exactly what i was looking for.