Mini game (Full Version)

All Forums >> [Artix Entertainment Games] >> [EpicDuel] >> EpicDuel Suggestions



Message


The Incredible Hulk -> Mini game (3/11/2013 12:04:06)

I have made a small game in school.
I thought it would be good because there is no luck what so ever, and it should be a mini game

Advantages
No lag
not luck based
give you credits Only (no wins,no xp, no lose).
It keeps looping until some wins
No crits/deflect

Disadvantage
Might be a bit boring for ED players after a while.
The Bunny always wins ^^

You have to change the script a bit for us players, put credits in the script And you have to change the script to suite the ED style etc.

-ED character name
-ED Health/energy
-Player vs Player (The script shows player vs Npc)

Remember
The script keeps looping until someone wins. Once someone wins they should get their credits.


quote:


program Game100313;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, crt;
{ you can add units after this }

{$R *.res}
Var
myRandom : integer; //I store my random number here
studentHP : integer;//The hit points of the player
bunnyHP : integer; //The hit points of the Non player character
gameover : boolean;//A true or false variable
begin
studentHP := 100;
bunnyHP := 150;
Randomize();
gameover := false;
//The above part sets all the variables, giving them values

repeat;
WriteLn('You enter a dark forest... A harmless bunny rabbit approaches');
myRandom := Random(10)+ 1;
Write('Student HP :', studentHP);
WriteLn(' A harmless bunny lunges at you! Ouch that hurt!');
studentHP := studentHP - myRandom;
//The above part deals with the player
myRandom := Random(10)+ 1;
Write('Harmless bunny HP:', bunnyHP);
WriteLn(' You kick the harmless bunny, causing ', myRandom, ' damage');
bunnyHP := bunnyHP - myRandom;
//This part details with the other character.

delay(500);
IF studentHP < 1 then gameover := true;
IF bunnyHP < 1 then gameover := true;
//This part checks if any of the values are less than 1.
ClrScr;
//Wipes all text from the screen.
until gameover = true; //If gameover is true then the game will end.

IF studentHP < 1 then
WriteLn('The harmless bunny sinks its teeth into your neck, you are dead.');
IF bunnyHP < 1 then
WriteLn('Your swift kick sends the harmless bunny flying! Level up!');
readln;
end.






Warmaker04 -> RE: Mini game (3/11/2013 12:06:21)

Well i cant very much understand this game, based on cores/ script, but i think its good idea,
It depends how much credits it will give. if it give just 16 or 32 credits its not worth then.




The Incredible Hulk -> RE: Mini game (3/11/2013 12:13:34)

@War Maker

The devs will understand it for sure.

The script I see:
Its basically, there is no graphics, only a box.

In the box it shows several things etc:
The bunny HP---------->How much damage it did to the player-------->the bunny losing Hp until it gets to 0
The players HP-------->How much damage it did to the bunny--------->The player losing HP until it gets to 0

Also in my script, there is a rubbish storyline I made -____-. I should've improved the story line:

P.S:
You can try this script your self with a software I can tell you , but I don't want to tell you the software because I do not want you to get virus in your computer (You might do a dodgy thing and blame it on me -___-). I do have this software running in my computer though ( No virus ;))




Warmaker04 -> RE: Mini game (3/11/2013 12:20:44)

Supported then :)




The Incredible Hulk -> RE: Mini game (3/11/2013 14:59:56)

thanks ^^




Mother1 -> RE: Mini game (3/11/2013 16:32:46)

This is already in the FSI under Mini games hulk.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.078125