GameMaker Studio2 疑难杂症

draw_text绘制中文

在GMS2绘制中文

一个xbox手柄被识别为2个手柄

GMS2中一个xbox手柄被识别为2个手柄问题及解决

在对象的draw事件中绘制文字会覆盖对象的动画,在step中绘制文字无效

This value sets the angle (rotation) of the sprite and is measured in degrees, with the right being 0º, up being 90º, left being 180º and down being 270º. Set this variable to 0 to reset the sprite to be drawn as was defined in the sprite editor. Please note that for changes in this variable to be visible, the instance should have either no draw event (and so GameMaker Studio 2 will default draw the sprite) or be drawn using one of the extended drawing functions like draw_self() or draw_sprite_ext().

在draw事件中加上draw_self();即可。例:

// draw life
draw_text(360+200*pad_num,20,string(color[pad_num%4])+":"+string(life));
draw_self();

你可能感兴趣的:(GameMaker Studio2 疑难杂症)