forked from KolibriOS/kolibrios
The Bus: fix boom position
git-svn-id: svn://kolibrios.org@6996 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
cd1a41c60e
commit
4316d5b6f0
@ -52,7 +52,7 @@ int active_menu_item=0;
|
|||||||
‚«¥¢®/‚¯à ¢® ¨«¨ <EFBFBD>஡¥«
|
‚«¥¢®/‚¯à ¢® ¨«¨ <EFBFBD>஡¥«
|
||||||
Š« ¢¨è P áâ ¢¨â ¯ ã§ã'tI"
|
Š« ¢¨è P áâ ¢¨â ¯ ã§ã'tI"
|
||||||
#define ABOUT_TEXT "'Œ àèàãâª
|
#define ABOUT_TEXT "'Œ àèàãâª
|
||||||
‚¥àá¨ï v1.0
|
‚¥àá¨ï v1.01
|
||||||
|
|
||||||
‘ë£à ©â¥ § ¤¥à᪮£® ¬ àèàãâ稪 ,
|
‘ë£à ©â¥ § ¤¥à᪮£® ¬ àèàãâ稪 ,
|
||||||
ª®â®àë© ¥á¥âáï ¤®¬®© ¯®á«¥ ᬥë.
|
ª®â®àë© ¥á¥âáï ¤®¬®© ¯®á«¥ ᬥë.
|
||||||
@ -80,7 +80,7 @@ Control keys:
|
|||||||
Left, Right, Space
|
Left, Right, Space
|
||||||
Press P key for pause'tI"
|
Press P key for pause'tI"
|
||||||
#define ABOUT_TEXT "'The Bus
|
#define ABOUT_TEXT "'The Bus
|
||||||
Version v1.0
|
Version v1.01
|
||||||
Author: Leency
|
Author: Leency
|
||||||
Menu image from Freepik.com'tI"
|
Menu image from Freepik.com'tI"
|
||||||
#define PAUSE_TEXT "PAUSE"
|
#define PAUSE_TEXT "PAUSE"
|
||||||
@ -202,10 +202,10 @@ void main()
|
|||||||
default:
|
default:
|
||||||
if (screen_type==SCR_GAME)
|
if (screen_type==SCR_GAME)
|
||||||
{
|
{
|
||||||
if ((don_x == bus_x)&&(don_y + don_h > bus_y )&&(don_y < bus_y + don_h ) {
|
if ((don_x == bus_x)&&(don_y + don_h > bus_y )&&(don_y < bus_y + don_h )) {
|
||||||
lives--;
|
lives--;
|
||||||
DrawBus(bus_x*80+200,bus_y);
|
DrawBus(bus_x*80+200,bus_y);
|
||||||
DrawBoom(bus_x*80+180,302);
|
DrawBoom(bus_x*80+180,bus_y+10);
|
||||||
pause(150);
|
pause(150);
|
||||||
GetNewObstacle(RAND);
|
GetNewObstacle(RAND);
|
||||||
DrawScreen();
|
DrawScreen();
|
||||||
|
Loading…
Reference in New Issue
Block a user