Menu

Show posts

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 Menu

Messages - WHAM

#1641
My quickest Let's Play so far: Escape the Barn!
http://www.youtube.com/watch?v=Vsp0sRSgDiQ
#1642
Quote from: nihilyst on Fri 24/02/2012 21:04:04
So then let's just extend the deadline until monday :D

That would be awesome! I hope it's not cheating if I use an old reference picture for the redraw?

I can post both the old picture (higher res and antialias) and the new one (pixellated AGS-appropriate look) for comparison too, if that's okay.
#1643
Oh no! Deadline is today?
I had hoped to use this as a good excuse to dig up and old project and start re-drawing the concept arts into actual game-useable maps, but I have no time until maybe sunday! :'(
#1644
LOOKING FOR BETA TESTERS!!!

Time is short so if you are willing to test, keep in mind that the MAGS deadline is NEXT WEDNESDAY!
If this does not deter you, CONTACT ME VIA E-MAIL at wham@whamgames.com! Message should containt AGS forum screen name.

In response you will receive a link to the game's first beta build as soon as it becomes available, as well as access to the bug reporting documents.

#1645
Code: ags

function decreaseHP(int amount)
{
playerHp -= amount;
if (playerHp < 0) 
{
playerHp = 0;
Display("GAME OVER - YOU ARE TEH DED"); 
QuitGame(0);
}
}


Well, I thought I could chip in too, here's a function I created to help you. I took over 20 seconds to make it, though, so it better fits the style of your code.
#1646
Dude, Grim...

LOOK at the bloody forums! Look at threads by other people! Khris is almost always here, almost always responding and giving HELPFUL-GODDAMN-ADVICE! It's not always the advice you expect, but it's always advice that will make you a better programmer and a better AGS developer if you just take the bloody time to listen to him and do what he says, and don't freak the fuck out as soon as new changes breaks old code or something!

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.

Dude, do you have any IDEA what you are talking about here. I've spent five minutes writing this post, making sure it adds up and doesn't sound like absolute raving madness (well, okay, it sort of still does). Khris has probably spent hours writing up posts and responses to YOU, not to mention everyone else, and you complain how people don't give you TEN SECONDS!? What planet are you living on!?

Stop whining, learn to take advice, swallow your pride and become a better programmer. If you can't do that, just go somewhere else!
#1647
Big Blue World Domination, if all goes well, will be playable from start to finish withing a couple of days, allowing for beta testing at last. Might cut it close, but a game like this will take weeks upon weeks of testing anyway, so I'll just try to get it to a good state by deadline so people can play.
#1648

-----

> look up in the elevator shaft

You turn your head around in a most awkward manner and look up in the elevator shaft.

What madness is this!? Where is the mechanism? Where are the tough steel cables!? How does this elevator even work!?





#1649

-----

> Look inside elevator door

You poke your head through the open doors and gaze down.

"Echo!"

You can hear the echoing sound of bubbling water from below.





#1650
Grats ghost! An earned victory!
#1651
New let's Play from sunday! RAM Ghost -time!
http://www.youtube.com/watch?v=e5IbT5P4rxc
#1652

-----

> Take everything

You Think about taking everything you can see, including the locker doors and the wooden benches, but alas, you find your pockets are full and cannot hold any more items.

Your left pocket holds an extra ID CARD, a pair of BENT SCISSORS and a CONDOM. Your right pocket contains a broken ladder RUNG with pieces of your old PANTS strapped to it, and a HOT POCKET (a sort of a pocket withing a pocket, if you see what I mean) which feels alarmingly moist and warm in your pocket.

> Put 1 hard hat on

Your HEAD slot is still free, though, and you EQUIP a HARD HAD on your head. Stylish AND safe! Thinking of your earlier idea, you also put some protective gloves on, so as to not leave fingerprints behind anymore.



> Head for elevator

You head back to the elevator doors.



#1653
1. Finland (aka. "WinLand")
2. Fin: Bensa-asema / Huoltoasema // Eng: Gas station / Service station
3. Kilometers
#1654
Let's keep the Let's Play ball rolling with The Rail: http://www.youtube.com/watch?v=8sN1vvdvNOI
My microphone settings were a bit off for this one, sorry about that. :( Other than that: loved the game and Technocrat was a bunch of fun to have as commentator!

EDIT: Despite being sick I've also been productive! Here, have another LP: http://www.youtube.com/watch?v=NLPx9_JxReE
#1655
Feat thine eyes on more Let's Play with Ben304 making a guest appearance! http://www.youtube.com/watch?v=xXMXJjBi2Ww
#1656

-----

> Check other lockers for jet packs or other useful items

You open up each and every locker. YOUR OCD DEMANDS IT! ALL LOCKERS MUST OPEN!
The lockers seem fairly empty, and you only find some assorted trash, a few hard hats, several sets of protective gloves and what seem like glass vials, one of which seems to have had a slight spill of some translucent green liquid. There is also a small rubber hammer with a wooden handle.




#1657
I feel rather good about sex in general.  8)

In WHAM-Land gays are tolerated, but only for as long as they don't parade their "speciality" all over the place and keep their gayness to themselves. Troublesome gays might be deported to Sweden, just in case.
#1658
I found this thread: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=45094.0

With this code:
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");


As I need to show multiple consecutive notifications using this script, I modified it as follows:
Code: ags

void noloopcheck HaltGame(int k) {
  while (!IsKeyPressed(k)) {
    Wait(1);
  }
  GUI_Notificatio.Visible = false;
  Wait(5);
}


Adding the extra wait command in the end stops the single press of the space bar from triggering all the notifications at once.


#1659
I'm trying to create a custom GUI that I could use instead of the normal display function inside AGS.
With the normal AGS code, a function reporting information to the player might look something like this:
Code: ags

int whiler = 0;

while (whiler <= 9) {
  Display("The whiler is now %d", whiler);
  whiler++;
}


What this does is DISPLAY the default text "The whiler is now" and the value of the variable, pausing the script execution until the player either presses a key or clicks the mouse to dismiss the displayed text.

What I want to be able to do is:

Code: ags

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++;
}


My current Notify -function looks somewhat like this:

Code: ags

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;
}


It seems I was falsely under the impression that the mere act of adding the PauseGame(); to the start of the function and having the dismissal button give the UnPauseGame() -function would be enough, but it seems I was sorely mistaken.

Can anyone explain to me how the built-in Display(); -function pauses the running of a script and how I could replicate it in my custom function?

Edit: clarification: the manual clearly states that Display() is a blocking function. It is this blocking property that I seek to replicate in my function, with the clicking of the button inside the GUI acting as a trigger to undo the blocking, just like in the Display() -function.
#1660
InCreator especially speaks sense, every single word. Read his post two or three times and take a while to let it sink in. Then it's all about putting in the effort.

For looking for a job, any kind of job, always offer to visit the potential workplace early on so you can physicall show yourself, let them see you, meet you and talk to you in real life. It's this kind of first impression that counts the most, not the one you make in your CV or over the phone.
"Hey, I read that you might be looking for someone to fill this vacancy in your company and I felt that I might be interested. Would it be possible for me to send my information for review and possible come to meet you real quick? Not necessarily an interview, I understand you might be busy, but I would really appreciate it if I could just come in for a quick visit to meet you and have a few words."

It sounds cheesy and all, but the main point is that you get to physicall meet people, shake their hands and show that you are a real person who is interested in them. It gives the interviewers a chance to return that interest.
SMF spam blocked by CleanTalk