My quickest Let's Play so far: Escape the Barn!
http://www.youtube.com/watch?v=Vsp0sRSgDiQ
http://www.youtube.com/watch?v=Vsp0sRSgDiQ
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: nihilyst on Fri 24/02/2012 21:04:04
So then let's just extend the deadline until monday
function decreaseHP(int amount)
{
playerHp -= amount;
if (playerHp < 0)
{
playerHp = 0;
Display("GAME OVER - YOU ARE TEH DED");
QuitGame(0);
}
}
Quote from: GrimReapYou on Wed 22/02/2012 02:52:58
I was looking for a bunch of people i tried to consider friends to take 10 seconds of their time to give me better functions and methods of which i could improve upon my battle system.
Quote from: Khris on Fri 06/01/2012 06:05:53
Try this:Code: ags // top of GlobalScript.asc void noloopcheck HaltGame(int k) { while (!IsKeyPressed(k)) { Wait(1); } }
Then:Code: ags gElevator.Visible = true; HaltGame(eKeySpace); Display("Should not see this until after space was pressed");
void noloopcheck HaltGame(int k) {
while (!IsKeyPressed(k)) {
Wait(1);
}
GUI_Notificatio.Visible = false;
Wait(5);
}
int whiler = 0;
while (whiler <= 9) {
Display("The whiler is now %d", whiler);
whiler++;
}
int whiler = 0;
int msg;
while (whiler <= 9) {
msg = String.Format("Message content - Whiler is %d", whiler);
Notify(currentgamespeed, "Header", "msg ", "Dismissal button text");
whiler++;
}
function Notify(int speedatpause, String Header, String Message, String BtnTxt) {
PauseGame();
Gspeedatpause = speedatpause;
Time_Currentspeed = 0;
GUI_Notificatio.Visible = true;
label_NotHed.Text = Header;
label_NotMsg.Text = Message;
btn_NotConfirm.Text = BtnTxt;
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.225 seconds with 15 queries.