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

#2721
I think 911 was planned by an elit emilitant group of conspiracy theorists so they and their colleagues had a new topic to obsess over. Apparently, though, there has been a 911 every year for at least the last 100 years, but the government has hushed them up! :o :o :o ::)
#2722
General Discussion / Re: Christopia
Mon 08/05/2006 08:25:43
aha, but here's something you weren't expecting...

* SSH pulls off mask to reveal he is in fact Tom Cruise
#2723
Can Finale print rather than dump as an image? You might getter better and smaller results if you install one fo these "print to pdf" pseudo-printer drivers instead
#2724
Irfanview is free, small, and can handle most image file formats. It can do cropping, it can also run in a batch mode if you have a lot of files to convert.
#2725
For such a large resolution, you're probably better using the plugin anyway
#2726
Unhandled event only runs when there is no interaction, Rahvin. If there is an interaction, you must put an ELSE clause in your if statements to display"That doesn't work" for cases where the wrong object is used. This needs to be done in EVERY inventory item interaction that you have already set up. You don't need to create new interactiosn, though.
#2727
well, i didnt test it at that resolution. Try searching for "200" or "240" in the module code and replacing it with "300" or ideally system.viewport_height
#2728
General Discussion / Re: Christopia
Sat 06/05/2006 19:36:23
Quote from: Farlander on Sat 06/05/2006 14:27:08
I agree, Andrew can be a great Prime Minister.
Thanks Ali, Farl.

As prime minister, I take full responsibility for positive integers that are not divisible by any other positive integers...
#2729
Windows XP can unzip ....
#2730
SSH's character generator
#2731
General Discussion / Re: Are you a Poser?
Fri 05/05/2006 22:05:03
[cryptic hint about sekrit project]If its just a way to make making a walkcycle easier, you might want to wait for something legal to come along...[/cryptic]
#2732
AGS currently lacks the ability to do a Flood Fill, and so I've created a way to do it. It works on read-in BMP files (and so you can do a screenshot, etc if you want to do it on the screen). Now, the module also gives you the ability to make your own image manipulations on the data structure if you like.

Download ReadBMP here (Requires AGS v2.71!)

v1.1: Added a colour replacing function and fixed a bug which meant that if you loaded a BMP where the remainder of dividing the width by 4 was equal to 3 then you got a corrupted import.
#2733
Hey, I'm looking to sell errr... somthign really important to me. Anyone willing to give me money not to?
#2734
Well, the module name probably explains it all. This is a pretty hacky module that lets you get the RGB value of an AGS pixel: either the background or screenshot. It requires AGS 2.71. Download RawGetRGB module

// Script header for module 'RawGetRGB'

// by SSH, requires AGS 2.71

// v1.0Ã,  5 May 2006Ã,  Ã, Initial Version

// Only works in 320x200 or 320x240 mode
// other modes will probably return value of the top-right
// pixel within the 4 at the x, y given

// RawGetRGB works on room background
// Objects, Characters, GUIs, Overlays ignored
// x and y are room co-ordinates
// return value is (R*65536)+(G*256)+B
import function RawGetRGB(int x, int y);

// RawGetRGBVisible works on screenshot
// everything visible included, including cursor
// x and y are screen co-ordinates
// return value is (R*65536)+(G*256)+B
import function RawGetRGBVisible(int x, int y);
#2736
You will also need to put the code in the ELSE clause of each of your object interactions:

if (used cork with bottle) {
Ã,  // Do something meaningful
} else {
Ã,  Display ("I can't use %s with %s.", character[GetPlayerCharacter()].activeinv, game.inv_activated);
}
#2737
General Discussion / Re: HELP!
Thu 04/05/2006 20:39:48
Errr... extensions are ALWAYS .lnk... I think you should just try restarting in safe mode before you go renaming stuff
#2738
By the way, I just thought of a horrible way to do a RawGetRGB... grab the pixle as a 1x1 dynamic sprite, save as a BMP, load the BMP via the file interface and using the info in: http://www.daubnet.com/formats/BMP.html
http://web.uccs.edu/wbahn/ECE1021/STATIC/REFERENCES/bmpfileformat.htm
etc.
we find that at offset 10, there is a long giving the offset of the pixel data. Then we go to there and read the blue, green and red values. It would probably take some teaking to get right and be slow, but if it is required only every now and then, it shouldn't be a problem...

And here it is: RawGetRGB module
#2739
Quote from: GarageGothic on Wed 03/05/2006 00:33:06
storing it as a DynamicSprite, but that would be a waste of memory

Why would it be a waste? You're not on a 640K PC anymore!
#2740
Well, "echo" is not going to parse PHP for you. Does PHP have some kind of "include" command, maybe?
SMF spam blocked by CleanTalk