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 - Phemar

#1921
Critics' Lounge / Re: Portrait
Thu 17/06/2004 04:38:57

That looks bloody awesome!

Good Work Pixel-Cat!!!
#1922

USE Razor on stick to sharpen it.
USE vines on on banana.
THROW banana-vine to monkey.
The monkey catches the banana in his mouth.
PULL banana-vine and monkey falls out tree.
PLACE small rock in hat.
SIT rock-in-hat on the ground.
EMPTY pocket change on top.
When monkey comes to get money, bash him on the head with big rock.
CUT off strand of monkey's hair with scissors (my choice item)
TIE hair on idol.
POKE sharp stick in idol. (voodoo doll)
Monkey squeals with pain.
Carry on poking voodoo doll untill monkey dies.
SMEAR sunscreen all over small-rock-in-hat
RUB it in to the rock and hat.
THROW rock-with-sunscreen down monkeys throat.
THROW monkey in nearby river.
WATCH him sink.
THROW slippery hat into tree.
It slips off.
TIE rope vine to hat.
THROW hat back into tree.
Your chips and bag get caught in silly hat. (it's a big topped hat)
The hat is slippery so it slips back down.
EAT your chips
YOU WIN!

Woah...
#1923

It's Zor...hehe, no c...
#1924

Herm...All I receive is a 0...

My script is like this:

int highscore;
function repeatedly_execute () {
  if ((dead1==1) && (dead1==2) && (dead1==3) && (dead1==4) && (dead1==5) &&
     (dead1==6) && (dead1==7) && (dead1==8) && (dead1==9) && (dead1==10) && 
     (dead1==11)) { //all the aliens are dead, check No.2 at the bottom here.
    if (GetGlobalInt(42)>highscore) {
      highscore=GetGlobalInt(42);
      int hischandle=FileOpen ("highscore.dat", FILE_WRITE);
      if (hischandle==0) {
        Display ("The game could find a highscore.");
        }
      else {
        FileWriteInt (hischandle, highscore);
        FileClose (hischandle);
        }
      }
}}

function interface_click(int interface, int button) {
  if (interface==STATUSLINE) {
    if (button==7) {
      Display ("Highscore: %d", highscore); //displays your high score.
      }
    }
}


1. The problem is when I click the highscore button on the GUI, it displays a 0.
2. This checks all the aliens have been killed. What I want it to do is to give the player say 5 seconds to kill as many as they can, and then save a highscore. I can't do this with Wait (x), because that is a blocking command, and the player needs to be able to shoot, you see.
3. I've got this script in my room:
function room_a() {
  // script for room: Player enters screen (after fadein)
  int i=1;
  while (i<16) {
    Wait (5);
    ChangeCharacterView (i, 2);
    MoveCharacter (i, Random(320), Random(200));
    if (i==15) {
      i=1;
      }
    else {
      i++;
      }
    }   
}


The problem here is the wait command. I don't want it there, but if I take it out, then  the whole game freezes when i enter the room. (game starts in that room.)
What it's supposed to do is randomly move around a bunch of aliens.
If the wait command is there, then the game waits while all the aliens are walking around.
There are 15 aliens.
What the script is supposed to do, is choose a random location, and move the character 'i' there. Then loop. I can take out the wait command and destroy the loop, and it will work fine.
But I need the loop.
This one really has me stumped.

I hope I've explained myself clearly enough...Help anyone?
#1925
Okay for my next extremely short test game I need the game to write a file to the game's directory telling a high score. Next time the player opens the game he can view the previous score and overwrite it if his current one is higher.

I've got this:

//GlobalInt (42); is the score in integer form.
string scorelabel;Ã,  //score in string form, for displaying on GUIs.
string scoredisplay; //erm, the high score for displaying...I can't really remember...

/**////I don't know where to put this:////**/
int scorewrite=FileOpen ("temp.tmp", FILE_WRITE); //I don't understand this whole
part (about which filename to specify, copied from manual)
if (scorewrite==0) {
Ã,  Display("The Game could not retreive the requested file.");
Ã,  }
else {
Ã,  FileWrite (scorewrite, scorelabel); //Writes string 'scorelabel' to the file
Ã,  FileRead (scorewrite, scoredisplay); //Read the file into a string called scoredisplay
Ã,  Display ("Your current high score is %s.", scoredisplay); //Displays your score.
Ã,  FileClose (scorewrite); //Close the file.
Ã,  }


The main problem lies in the fact that I can't grasp the whole concept...

What I want it to do, is kind of repeatedly execute the function to check for a new high score then write it.
Then when the player clicks on a button in the GUI, it displays his current high score.

Ignore all my script, I just wanted to show I did attempt it...

EDIT: But also, instead of displaying it, you could also do a SetLabelText () thing...
#1926
Critics' Lounge / Re: Sheep!1!11
Wed 16/06/2004 06:08:41

Yeah, it did first look like a baby goat...but Miez sorted that all out. No more crits here.
#1927

Well you certainly know how to draw. I really like the colors, they suit the scene fine. Your characters and animations are fine, just speed them up a little. They really walk painfully slow right now.
The GUI was nice, I enjoy a break from the old Sierra.

Hope to see more real soon!
#1928
The Rumpus Room / Re: The MSPaint game
Tue 15/06/2004 16:10:03


Next: Chris Jones, changing his name to Miss Bones while saying FPS are better than adventures...
#1929
I'm having trouble uploading to 2dadventure...keeps on telling me my document has no data...

So I decided to mail mine (entry 4 sprite jam thing) to you...

Hehehe...

EDIT:



Heh, planet of the giant phallus with tentacles...

EDIT: I changed my entry, hope it's okay...



Hehe, it still sucks, but so what...
#1930

Well I like his face. Try to shade him a little, and fix his feet a bit...
#1931
Critics' Lounge / Re: Backgrounds
Tue 15/06/2004 05:04:10

Paint isn't that bad, not unless you only use it.

I use paint to do all my BG's, but then import into Gimp to darken colors, do layer stuff etc. But Paint works the majority for me.

BOT: Nice Beegees for a start. They're better than my first ones let me tell you that.
#1932

Hehe, cool....

I suppose I should post my story:

I actually played Leisure Suit Larry 1 on my cousin's PC. I went home and looked for it on the net...I found a site called http://www.dosgames.com/, it didn't have Larry but it did have a link to AGS. I downloaded 5:00 o' clock in the afternoon and worked straight through the manual/tutorial until 1:00 o'clock in the moring...Hehe...
#1933
The Rumpus Room / How did you find AGS?
Mon 14/06/2004 14:59:24
So, as the subject implies, How did you find AGS?
...
Were you just browsing the net and found a link?
...
Did you hear it from a friend?
...
Etc?
#1934

Yeah, but mine will be better than yours. 10X.
#1935

Oh, a remake. I thought it was a sequel. What on Earth is there to remake about Sword?

It was a great first attempt, but now try to attempt something...a little better...
#1936
Critics' Lounge / Re: Check out background.
Sun 13/06/2004 18:51:10

I really don't like those posters, not the content, just the way they're drawn...try making them less squiggly...

The perspective in the floor is off...try adding some grains as well.
#1937

I really don't wanna do this, but:
Quote* ONLY post a topic for your game if the game has been STARTED, you have a clear outline of the story, and you have a screenshot available to show us.

But, some more info please?
#1938
AGS Games in Production / Re: 3981: 15%?
Sun 13/06/2004 18:45:29

Mark's a cool name. In fact I was just making my main character for a game that may be in production called Mark...

But yeah, sounds promising...and a mixture if grayscale and red blood could dramatise it and give  a cool effect...
#1939
AGS Games in Production / Re: Totaskalan
Sun 13/06/2004 18:41:16

I'd like to download it, but I'd rather see some screenshots or sumat first...Or some info on the game...
#1940

Heh, I got a score of 598. What's the highest possible?

I like this, I'm oing to see if I can do something like it...But with ammo, different guns etc.
SMF spam blocked by CleanTalk