From f327d1cf499b9fc6315e2732b7e2945b8781346e Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Tue, 25 Nov 2008 01:41:15 +0000 Subject: [PATCH] Initial code for King Fly --- data/levels/level60.dat | 1 + data/sprites/kingfly.png | Bin 0 -> 5924 bytes data/sprites/kingflydead.png | Bin 0 -> 5022 bytes data/sprites/kingflyjump.png | Bin 0 -> 7006 bytes defs.h | 14 +++++++++++++- shared.c | 21 +++++++++++++++++++++ website/info.html | 1 + 7 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 data/sprites/kingfly.png create mode 100644 data/sprites/kingflydead.png create mode 100644 data/sprites/kingflyjump.png diff --git a/data/levels/level60.dat b/data/levels/level60.dat index c19a7d5..46e3d3d 100644 --- a/data/levels/level60.dat +++ b/data/levels/level60.dat @@ -6,6 +6,7 @@ endhelp monsters 0 4 14 134 35 14 +152 19 14 endmonsters exitdir 1 61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61, diff --git a/data/sprites/kingfly.png b/data/sprites/kingfly.png new file mode 100644 index 0000000000000000000000000000000000000000..e568e10fbf4ef473ccc884ac980e113dcbf979dd GIT binary patch literal 5924 zcmV+<7u)EGP)WFU8GbZ8({Xk{QrNlj4iWF>9@02YWzL_t(&-tC%slq5%e z=Rc80WmeW*UES5kbocb!m!#1(LWebyI1C11V}vZ^i^Cvnjx}p;mdnPE#Re9O1)Jrv zR|bTQRv-kD0IhXvq`5RR8ck2nbkFov-Bn#(cUI*c`v+hf%z}Ush-Krwdatq~^H;z4 zyzloHk?{h4h1&hMeIN~R?7nxs>`cW}ew6?Qes?QCyVc(Ml~28Xi2vW7d^>pe`>zBz zeD{C3YiiF2-};074}9ee32@W!_ROE%@Y_T8 z9h}{9eBt1At>*l^IJfQ1tW`?C4i3xr7D(s9&ZP6cipU#G;B_=Qeb-8wqD z0lOK|=+vL*I*n(A2(ysRBEvxc!mW4cTh?8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}*^7npL-KymUiv`sSzKZ0P)C=sa)a z4<9tb*}po{*?n=3XrvmESA4n^pOiABJF})(I#*{Ph=11IwKzbCh#(X{dh_`Wlzq=^ zVJMX+V>!su&!^+HXPtNQWv@D!l_!gzX~A7&r;R06?`30-Wdo=}x)h+_P|q_Iam!1F z231CrWmM@m5MIVG$l7VLhK;WNVqL!{uga79QE$yp1ANgK-N#GD3|o~kWr=Lxi!_=4 zs^MLKWu?Gaek)Va9?cQLg_zV5no7NvmW{~GHy-$ z`mOGkeS$B2Yw3?R4g2SI+vnMZIdfz!YuEmA!uimkL{`!1H`HGbxa)5b3@#UF7MNz5 zjNxFY;uQh+?C-0;cLys^7QFq6zF*2Sye4a6$p)(U6+7$)RvDsDE>nC@re z-nTw+2fuyt*MI5HGN?(Mmd!Ah8DY$^el=;#NEI%~NIWJY&bcVVUANU=G2KnK{cI{j w%lzRl9pIcFGw0X2VCY<2Wr!&L4v`4>|2+0YHY4}x2><{907*qoM6N<$f;p76@&Et; literal 0 HcmV?d00001 diff --git a/defs.h b/defs.h index 7b3dbf9..8cf5cae 100644 --- a/defs.h +++ b/defs.h @@ -237,6 +237,17 @@ #define KSS_JUMPING 6 // jumping, snails turn to slugs #define KSS_PAUSE3 7 // pause after jumping +// king fly +#define KF_FLYTIME 300 +// king fly states +#define KFS_FLY1 0 +#define KFS_HORZPUSH 1 +#define KFS_HORZ 2 +#define KFS_HORZPULL 3 +#define KFS_FLY2 4 +#define KFS_VERTPUSH 5 +#define KFS_VERT 6 +#define KFS_VERTPULL 7 // bell states #define BELL_DONESOUND 1 @@ -384,7 +395,7 @@ #define S_SLOPE 2 // Sprite types -#define MAXPTYPES 152 +#define MAXPTYPES 153 #define P_PLAYER 0 #define P_RAT 1 #define P_CHEESE 2 @@ -542,6 +553,7 @@ #define P_CAMERA 149 #define P_WINGBOOTS 150 #define P_BIGUMBRELLA 151 +#define P_KINGFLY 152 #define FLY_FLYTIME 150 diff --git a/shared.c b/shared.c index bf6184d..4f4f297 100644 --- a/shared.c +++ b/shared.c @@ -791,6 +791,10 @@ void setdefaults(sprite_t *s) { s->timer1 = KSS_WALK1; s->timer2 = KS_WALKTIME; s->timer3 = 0; + } else if (s->id == P_KINGFLY) { + s->timer1 = KFS_FLY1; + s->timer2 = KF_FLYTIME; + s->timer3 = 0; } if (isboss(s->id)) { s->lives = getbosshealth(s->id); // health @@ -1352,6 +1356,16 @@ int loadimagesets(void) { /* next 3 are auto genesnailed */ imageset[P_KINGSNAIL].numimages = 8; + loadspriteimage(P_KINGFLY,F_WALK1, "sprites/kingfly.png"); + loadspriteimage(P_KINGFLY,F_JUMP, "sprites/kingflyjump.png"); + loadspriteimage(P_KINGFLY,F_FALL, "sprites/kingflyjump.png"); + loadspriteimage(P_KINGFLY,F_CAUGHT, "sprites/kingfly.png"); + loadspriteimage(P_KINGFLY,F_DEAD, "sprites/kingflydead.png"); + /* next 3 are auto geneflyed */ + imageset[P_KINGFLY].numimages = 8; + + + loadspriteimage(P_KSSHELL,F_WALK1, "sprites/kingsnail_shell.png"); imageset[P_KSSHELL].numimages = 1; // manually do flipped one @@ -2922,6 +2936,7 @@ int ismonster(int id) { case P_BLACKCLOUD: case P_KINGRAT: case P_KINGSNAIL: + case P_KINGFLY: return MT_BOSS; } @@ -3261,6 +3276,7 @@ int isboss(int monid) { switch (monid) { case P_KINGRAT: case P_KINGSNAIL: + case P_KINGFLY: return B_TRUE; default: return B_FALSE; @@ -3274,6 +3290,7 @@ int isnettable(sprite_t *s) { case P_BLACKCLOUD: case P_KINGRAT: case P_KINGSNAIL: + case P_KINGFLY: return B_FALSE; default: return B_TRUE; @@ -3293,6 +3310,8 @@ int getbosshealth(int mid) { return 8; case P_KINGSNAIL: return 8; + case P_KINGFLY: + return 8; } return 0; } @@ -3412,6 +3431,8 @@ void setfruitinfo(void) { setinfo(P_KINGSNAIL, "King Snail", "The absolute ruler of the snail kingdom is far too large and heavy to catch in a net. In addition, its shell provides protection against all attacks, leaving only its head vulnerable. While King Snail is too proud to chase down enemies itself, it can use its snail army to destroy its foes.", "kingsnail.png"); + setinfo(P_KINGFLY, "King Fly", "King Fly is quite literally the lord of the flies. Far from the timid garden-variety fly, King Fly will roam around with its entourage of underlings in tow, running down anything in its path!", "kingfly.png"); + setinfo(P_SNAIL, "Snail", "Snails are slow moving but tough. When attacked normally they will not die, but simply lose their shell and become a slug. The safest way to take them out is to slam another monster into them, thus killing them instantly.", "snail.png"); setinfo(P_SLUG, "Slug", "Slugs are faster moving than snails and capable of launching themselves through the air at their prey!", "slug.png"); diff --git a/website/info.html b/website/info.html index 4b00a11..dc5e7b3 100644 --- a/website/info.html +++ b/website/info.html @@ -18,6 +18,7 @@
Cloud of DoomThis unkillable cloud will appear if you spend too much time on one level. Beware, as the only way to defeat the cloud of doom is to complete the level before it grows too large to handle!
King RatThis mighty creature is the ruler of the rats, and impervious to the player's net. It can only be harmed by slamming another monster into it! King Rat will roam the level searching for a player, and upon spotting them will charge at high speed.
King SnailThe absolute ruler of the snail kingdom is far too large and heavy to catch in a net. In addition, its shell provides protection against all attacks, leaving only its head vulnerable. While King Snail is too proud to chase down enemies itself, it can use its snail army to destroy its foes. +
King FlyKing Fly is quite literally the lord of the flies. Far from the timid garden-variety fly, King Fly will roam around with its entourage of underlings in tow, running down anything in its path!

Power-Ups