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

#3321
320 res coords have nothing to do with screen edges.

If you want to make sure the "tooltip" is always on screen, you have to get it to swap sides when it gets close to an edge that would make it go off-screen.

The sides are given by game.viewport_height and game.viewport_width, which is resolution-independent
#3322
Someone should just make a module for this and then these regular queries will all be over... Overlays means you could do it all in a module
#3323
General Discussion / Re: Sidekickery
Mon 31/10/2005 10:45:12
I think the superhero would give the sidekick an oral exam
#3324
The "offending" line the savegames module is:

Code: ags

    sgs_dspr[i] = DynamicSprite.CreateFromSaveGame(i+sgi.offset, sgi.ss_width, sgi.ss_height);


which looks to me like it must be an AGS error
#3325
Well, since you're the only person to express interest...  :'(

C'mon guys, where are all the people who were sayign "Yeah!" in the Gen Gen thread about this?
#3326
General Discussion / Re: Happy halloween!
Sun 30/10/2005 19:18:30
errr... isn't it TOMORROW anyway?
#3327
I think what the anti-halloween people object to is the glorification of witches. Now many of you won't beleive in witchcraft, but "The greatest trick the devil ever pulled was convincing the world he didn't exist". Christmas and easter may occur at the same time as pagan festivals, but then my birthday is the same day as Drew Barrymores, it doesn't mean I've posed for playboy...

Although admittedly, Chistmas seems to be a festival of mammon these days and easter a festival of chocolate.

Personally, what I object to most is that by refusing to indulge trick-or-treaters for a holiday that goes against my personal beliefs, I get eggs thrown at my windows. Now THAT is religous intolerance

And Darth, the use of public money to fund religous/pagan celebrations is the issue, you know.
#3328
General Discussion / Re: HELP: Gift Ideas?
Sat 29/10/2005 20:54:21
A frying pan for her to hit you with during the labour...?

Here's some recent presents I have got my wife, and she REALLY insisits on romantic stuff

* Buy a star named after her: http://www.starregistry.com/ or lots of other places. OK, no astromer will ever call it that but its very romantic.
* Buy her the title of "Lady" http://www.play.com/play247.asp?pa=srmr&page=title&r=GADGitle=181287
* Make a Fimo model of the two of you (see my avatar)
* Make an AGS game featuring the two of you (see The Marvellous Adventures of Princess Marian series)

Don't buy her a ring, as women can swell up all over during pregnancy... some have to get rings cut off to maintain circulation to their fingers!

Is there some food she has not been eating because she's not allowed to during preganancy? Smoked salmon, soft cheese, etc? Maybe you can have it ready for her after the birth!



#3329
Quote from: esper on Fri 28/10/2005 07:29:55
That leaves me with a problem.... It's kind of working, but the character faces you when he goes down the hill. I can set his walking view all I want, but every time he moves a single pixel in distance he faces you again.

Create a view with the up/down walkcycles flipped?
#3330
And Y goes up to 300 in 800x600 mode
#3331
Interestingly, the LZMA compression used by 7zip is downloadable as an SDK http://www.7-zip.org/sdk.html and can be used any way CJ likes if unmodified, so maybe he'd like to add it to AGS 2.72?
#3332
General Discussion / Iran
Fri 28/10/2005 10:46:33
Well, if we want to be political, but stop the anti-american stuff, then lets talk abotu Iran's recent statements. Personally, I had thought that the US, etc. were ebing pretty intolerant about Iran's nuclear stuff but their recent remarks have completely changed my position. When The President can say "As [Ayatollah Khomeni] said, As the imam said, Israel must be wiped off the map." they've obviously got some agenda beyond power.

However, they're now copying the Monty Python Oscar Wilde sketch:

"Your Majesty is like a stream of bat's piss"
"WHAT???"
"I merely meant, sire, that you shine out like a shaft of gold when all around is dark"

Now, they have said "It's absolutely clear that, in his remarks, Mr Ahmadinejad, president of the Islamic Republic of Iran, underlined the key position of Iran, based on the necessity to hold free elections on the occupied territories."

Now, if you'll excuse me, I'm just going to have free elections with the crumbs on my desk...
#3333
General Discussion / Re: I have superpowers.
Fri 28/10/2005 08:35:34
Quote from: magintz on Thu 27/10/2005 20:10:28
Is it possible to hypnotise yourself?

Why, do you want to wake up "moist"?  ;)
#3334
scotch said I could... and sorry dkh for stealing your idea, but here we go:

We have competitions for artists and musicians and stroywriters  but none for the REAL wokrers who make AGS games great, yes, I mean coders.  Slogging away behing a hot keybaord for hours, they recieve little credit and deserve more. So, lets test their skills and raise up one above all the others. When I win, you will see me for the god-like figure I am. Or the remote possibility that someone else wins...

Anyway, after some discussion or IRC, here's the Theme:

FIGHT!

Many adventure games have fight engines, but they are all different, so take your pick and script one up in AGS. It can be turn-based or realtime, Indy-like, RPG battle systems, street fighter style, shooting, anything really

I propose that we spend a quick day talking about any rules changes, time changes etc that might be required and start coding at the end of Friday. Don't jump the gun, as the rules may change!

Here are the rules:

1. Must be open-source. We can hardly inspect your coding if we cant see it.
2. Must contain instructions for how to add to an existing game, this will obviously be easier if the scripting is done as a module
3. Only use of the 3D, TCP/IP and maths plugins are allowed: if you want to use another, say quickly before we finalise the rules. Certainly, no NEW plugins are allowed, this is AGS scripting we're competing at
4. Must provide sample game using the fight engine (obviously!)
5. Team efforts are allowed, and you're probably expected to get help for sprites, etc from elsewhere.
6. As far as possible, entries will be judged on their scripting and gameplay rather than GFX, SFX, music, etc.
7. Winner will be decided by 1 week of voting at the end.

I propose that we set a 3 week deadline for the end of the competition. Not too long or people lose interest, not too short so we can be ambitious.

And please, like MAGS, post here if you're thinking of enetering. And please post if you're a spriter, etc. who can offer their services to scripters who need a few images of a guy throwing a punch.

Let the fight commence!
#3335
player.x=100; player.y=200;
#3336
OK, so pressing x just clears the text away. So why is the check for it inside the loop?


In other news, the Credits module by SSH is now available, with typing mode
#3337
I think there has been some confusion about what you want, Kinoko. Should pressing x speed up the typing to display the whole message? If so, you want:

Code: ags

int count=wait;
while (count >= 0 && IsKeyPressed(keyx)==0) {
 Wait(1);
 count--;
}

#3338
Quote from: SSH on Tue 25/10/2005 07:55:06
or some other syntax, I'm not fussy  ;)

Whatever: I was just trying to make the writing of the parsign code for it easier mfor CJ to do, thus more liekly to get implemented ;)
#3339
Not sure, will try on the bad computer tomorrow... however I can say that it hasn't happened to me yet if I've done CTRL-T without any changes: i.e. the game wasn't dirty and didn't need re-saving

EDIT:

Also, I notice that Helm says in his Caverns readme that RestartGame is crashing the AGS engine. I've noticed that too.
#3340
Just in case I'm ever in need of a hotel in the US, can you tell me which one you work for so I can avoid it like the plague and keep all my posessions, thanks very much say hi
SMF spam blocked by CleanTalk