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

#3061
This is your problem:

Code: ags

1||(WaitKey(delay)==0)


The new version now has "lazy evaluation" which means that if the first part of an "OR" experrsion is true, it doesn't bother evaluating the other parts. Either change this to:

(WaitKey(delay)==0)||1

or turn off lazy evaluation on the main editor setting panel.


Also, you might like to look at the code in my credits module which has a typewriter function in it, too...
#3062
Quote from: Vince Twelve on Thu 26/01/2006 10:55:16
Or a single torrent containing all the games nominated for the upcoming AGS awards so that people could play them all without hassle before voting!

Yeah, I'd been thinking about this, although some games have huge voice or music packs (e.g. Jessica Plunkenstein) which could maybe be optional...
#3063
You could maybe grab a dynamic sprite screenshot, put it on a high-z-order GUI on top of everything else, turn on the GUI and then change rooms, see if that helps...?
#3064
Well, its really just the SimpleSnow hacked about a bit, but if you want a lot of rain, try this

SimpleRain module and demo game (Requires AGS 2.71)
Mirror

// Script header for module 'SimpleRain'
// Author: Andrew MacCormack (SSH)
//   Please use the PM function on the AGS forums to contact
//   me about problems with this module
// 
// Abstract: Rain, without using a plugin
//
// Dependencies:
//
//   AGS 2.71Final2 or later
//
// Functions:
//     
//  function SimpleRain.Init(int view);
//    Prepares some Rainfield sprites to use, using the sprites in view as Rain.
//    Ideally, this should be run in a room that is wider than the screen, or
//    when there is any wind at all, the Rain will look odd.
//        
//  function SimpleRain.Go();
//    Starts Raining
//
//  function SimpleRain.No();
//    Stops Raining
//
//  function SimpleRain.SetWind(int wind);
//    Sets wind speed and direction. 
//
// Configuration:
//    
//   Fiddle about with the #defines here to change Rain, but its not an
//   exact science
//
// Example:
//
//   int wind;
//   function room_a() {
//     // Room script: after room fadein
//     SimpleRain.Init(RainFLAKES);
//     wind=0;
//     SimpleRain.Go();
//     SetTimer(1, 40);
//   }
//
//   function room_b() {
//     // Room script: repeatedly execute
//     if (IsTimerExpired(1)) {
//       if (Random(1)) { if (wind<8) wind++; else wind=1; }
//       else { if (wind>-8) wind--; else wind=-1; }
//         SimpleRain.SetWind(wind);
//       SetTimer(1, 40);
//     }
//   }
//
// Caveats:
//
//   No transparency
//   Rain movement sucks
//   Lots of overlays is slow
//
// Revision history:
//
// 20 Jan 06 v1.00  Initial version, modified from SimpleSnow
//
// Licence:
//
//   SimpleRain AGS script module
//   Copyright (C) 2006 Andrew MacCormack
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to 
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in 
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
// DEALINGS IN THE SOFTWARE.
#3065
General Discussion / Re: Using real names
Wed 25/01/2006 11:31:56
That being the one under your avatar, eh?  :=
#3066
I thought you can call blocking functions in rep_ex, but not rep_ex_always...


#3067
Yes, but are you runnign the extracted version? I tried running from the zip and got the selfsame mesage you got. Maybe CJ should change the message to "RTFM n00b: extract this zip to a directory and run it from there instead of trying to run it from the zip, f00!"

Seriously, maybe he should put something in the message.
#3068
I vote for Akumayo because he had an execllent demonstration of how to use it for different effects.
#3069
Yeah, just import the module then edit the code that says repeatedly_execute to repeatedly_execute_always... easy as pie
#3070
Nominations and final voting are both done by the public, guys. Nominations end 31st Jan.

and... Princess Marian VIII IS a game, you, you, you....  :P

* SSH deletes all the awards nominationf for BJ4 and Amulet of Kings "by mistake"
#3071
Certain cursor numbers have special properties. e.g. becomine the pic of the active inventory, or so on. Try using a different cursor number.
#3072
That's great, Helm! Maybe you (or someone, with your permission) could put that in the wiki under AGS History somewhere...
#3073
Last day today! I hope someone else will enter...
#3074
How do you mean "doesn't work"? The previews are corrupted, a window appears with no preview or nothing happens at all when you hit preview?
#3075
Why not link the wiki in the top post?
#3076
You know why they have those rules about "Have something to show before you post" in the Games In Production thread, Joe? It's because 99% of people who have ideas for something don't complete them... even if the people are great (no offence to you guys). I think you posted too early, it is bound to be  a year before there is anything usable of the engine, and people are unlikely to keep interested in vapourware until then.

But if you want suggestions: use OpenGL, make it portable to handheld devices, make it compatible with AGS scripts...  ;D
#3077
General Discussion / Re: Using real names
Sat 21/01/2006 21:45:01
Well, too late now, but the last female AGSer from the Toronto area, Dart, let her real name be known and she mysetriously disappeared a few months back. Also, she had won the "Sexiest AGSer" award and now you've had some guys saying you are hot.... I'd watch out if I were you  ;)

#3078
SSH's SimpleRain module

OK, since there doesn't seem to be a perfect rain solution (pun unintended, for once) here's SimpleRain and  demo game. It is really just a modification of the Snow module, but with variable speed of precipitation.

Documentation is in the module header.
#3080
So this is why Princess Marian has been wearing an eyepatch recently...  ;)
SMF spam blocked by CleanTalk