#include <yzkgame.h>
#pragma comment( linker, "/subsystem:\"console\" /entry:\"mainCRTStartup\"" )
#pragma comment(lib, "YZKGame.lib")
#pragma comment(lib, "YZKGame.lib")
void gameMain(void)
{
setGameTitle("精灵");
setGameSize(338, 600);
pauseGame(10000);
}
void gameMain(void)
{
int mario ;
int distance ;
mario = 1;
distance = 0;
setGameTitle("精灵");
setGameSize(338,600);
createSprite(mario,"mario");
setSpriteFlipX(mario,TRUE);
playSpriteAnimate(mario,"walk");
pauseGame(1000);
distance=add(distance);
setSpritePosition(mario,distance,0);
pauseGame(1000);
distance=add(distance);
setSpritePosition(mario,distance,0);
pauseGame(1000);
playSpriteAnimate(mario,"great");
setSpriteRepeatPlay(mario,FALSE);
pauseGame(10000);
{
setGameTitle("精灵");
setGameSize(338, 600);
pauseGame(10000);
}
void gameMain(void)
{
int mario ;
int distance ;
mario = 1;
distance = 0;
setGameTitle("精灵");
setGameSize(338,600);
createSprite(mario,"mario");
setSpriteFlipX(mario,TRUE);
playSpriteAnimate(mario,"walk");
pauseGame(1000);
distance=add(distance);
setSpritePosition(mario,distance,0);
pauseGame(1000);
distance=add(distance);
setSpritePosition(mario,distance,0);
pauseGame(1000);
playSpriteAnimate(mario,"great");
setSpriteRepeatPlay(mario,FALSE);
pauseGame(10000);
}
int main(void)
{
rpInit(gameMain);
return 0;
}