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 - Calin Leafshade

#2901
Yeah i noticed this when producing mccarthy.

You have to check where the player is in rep ex always

so like

Code: ags

if(Region.GetAtScreenXY(player.x,player.y) == region[1]) player.tint(0,0,0,50,50);
#2902
AGS Games in Production / Re: Skull Craig
Sun 24/01/2010 07:30:43
C U Next Tuesday.
#2903
Quote from: TSC on Sun 24/01/2010 00:14:27
So you play a corpse who refuses to die... this is so totally McCarthy Chronicles Episode 2!

;)

Ha ha, i never thought of it that way.

My defence is that they are 2 seperate corpses :p
#2904
General Discussion / Re: blurry sprites?
Sat 23/01/2010 19:51:03
ofcourse and because i am supremely awesome i feel i should help.

1. Save the CSS i gave earlier as some file. lets call it userContent.css
2. Go to Tools→Internet Options→Accessibility.
3. Check "Format documents using my style sheet".
4. Browse and select the "userContent.css" file you made in step 1.
5. Restart your browser..

untested since i dont have IE8 on my humble XP machine.

As an aside you shouldnt really use IE on account of it making your penis fall off... jus' sayin'
#2905
Thats true, although with the moving down animation i wanted to get a kind of 'ease in/out' feel. And i couldnt be bothered to come up with an equation for it just for the sake of 40 pixels and then i just copy/pasted for the moveup part.
#2906
yeah you define the contents of a function in the script and the definition in the header.
#2907
General Discussion / Re: Fear in Dreams
Sat 23/01/2010 16:45:37
Babar is not afraid of nightmares. Nightmares are afraid of Babar.
#2908
The best way to do this is to have a boolean which is checked in rep ex but have the movement code in rep ex always.

This means the gui wont detect its supposed to move during blocking functions but it will still move during block functions.

a rather poor, uncommented example from a game I'm working on. (which actually has all the code in rep ex always and i use the bool 'blocking' to detect blocking functions

Code: ags


  
  if (mouse.Mode != eModeInteract){
  if (mouse.y < 5 && gInventory.Y < 0 && !blocking){
    MoveGuiDown = true;
    MoveGuiUp = false;
  }
  if (mouse.y > 40 && gInventory.Y > -40 || blocking){
    MoveGuiDown = false;
    MoveGuiUp = true;
  }
  }
  
int GuiMoveSpeed;

  if (MoveGuiDown){
    if (gInventory.Y < -30) GuiMoveSpeed = 4;
    else if (gInventory.Y < -25) GuiMoveSpeed = 3;
    else if (gInventory.Y < -10) GuiMoveSpeed = 2;
    else if (gInventory.Y < 0) GuiMoveSpeed = 1;
    gInventory.Y += GuiMoveSpeed;
    if (gInventory.Y == 0) MoveGuiDown = false;
  }
  if (MoveGuiUp){
    if (gInventory.Y > -10) GuiMoveSpeed = -4;
    else if (gInventory.Y > -20) GuiMoveSpeed = -3;
    else if (gInventory.Y > -30) GuiMoveSpeed = -2;
    else if (gInventory.Y > -40) GuiMoveSpeed = -1;
    gInventory.Y += GuiMoveSpeed;
    if (gInventory.Y == -40) MoveGuiUp = false;
  } 
#2909
General Discussion / Re: Life on mars.
Sat 23/01/2010 16:35:33
NOW what are you on about?

no one is talking about putting humans on mars.. we are talking about life independently arising on mars.

#2910
General Discussion / Re: Life on mars.
Sat 23/01/2010 16:15:48
Dual what the hell are you on about now?

The speed of light has zero bearing on the likelihood of extra terrestrial life.
#2911
General Discussion / Re: Life on mars.
Sat 23/01/2010 15:47:33
actually it seems likely we will confirm extra terrestrial life on mars *this year*

its not guaranteed but its certainly more than 50-50 at this stage.
#2912
Actually McDead is a heavy comedy in the style of Monkey Island.

Expect talking gargoyles, slapstick comedy and rubber chickens with pulleys in the middle.

No dark and eerieness i promise :p
#2913
AGS Games in Production / Re: Skull Craig
Sat 23/01/2010 15:22:10
Quote from: Goldfish on Fri 22/01/2010 12:24:38
Go and bark somewhere else, little dog.

Dont be rude. It's.. well rude.
#2914
AGS can run from a pendrive.. I do it occasionally.

It loads the program into memory anyway so there shouldnt be any slow down.

Its not a good idea to keep your gamefiles on a pendrive though.. compiling is very very sluggish
#2915
indeed so, SookieSock is Mrs Leafshade.

I'll add some story details when I'm good and ready damn you!

;D
#2916
General Discussion / Re: blurry sprites?
Sat 23/01/2010 14:27:13
3.6 has a stable release if you dont like betas

its on www.firefox.com (the main page)
#2917
General Discussion / Re: blurry sprites?
Sat 23/01/2010 13:52:34
Bleh ok, Let me fix this for everyone in firefox 3.6

goto file/run and type

Code: ags
%APPDATA%\Mozilla\Firefox\Profiles\


this will open a directory with some other folder in something like "dfjhdfg.default" go into that folder and then into another folder called "chrome"

then create a new file called "userContent.css" and put this in it.

Code: ags

img[src$=".gif"] { image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor; }
img[src$=".png"] { image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor; }


save and restart FF. bingo!
#2918

The Adventures of Reginald McDead

Reginald McDead is a newly animated corpse who would just rather not go on to the afterlife.

He decides to stick around on this mortal coil and gets caught up in things dead people should perhaps leave alone.

Screenies





#2919
They do, but only if the gui has a block colour background. It doesnt work over images.. at least not images with alpha channels.. i havent tried it with flat images.
#2920
General Discussion / Re: Resources download?
Thu 21/01/2010 09:12:33
Hah! ^^^^^^^ that was me.. I didnt mean to post as Mrs Leafshade.
SMF spam blocked by CleanTalk