I'm in....
tzachshabtay@gmail.com
tzachshabtay@gmail.com
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
Hotspot *ho = Hotspot.GetAtScreenXY(object.X, object.Y);
Hotspot *ho = Hotspot.GetAtScreenXY(object[i].X, object[i].Y);
int toX = 50; //Your x here
int toY = 50; //Your y here
float timeInSeconds = 4.5; //Your time here
cCar.TweenPosition(timeInSeconds, toX, toY, eEaseInTween);
int toX = 50; //Your x here
int toY = 50; //Your y here
float timeInSeconds = 4.5; //Your time here
cCar.TweenPosition(timeInSeconds, toX, toY, eEaseInTween, eNoBlockTween);
cCar.TweenAnimationSpeed(timeInSeconds, cCar.AnimationSpeed -20);
function on_key_press(eKeyCode keycode)
{
if ((keycode == eKeyReturn) && (gGui2.Visible == true))
{
String input = TextBox1.Text;
Parser.ParseText(input);
gGui2.Visible = false;
if (Parser.Said("look art"))
{
Display("A painting that seems to have been supplied by a certain Jacques Chevrier.");
TextBox1.Text = "";
}
}
}
SetDigitalMasterVolume(100);
SetDigitalMasterVolume(1);
SetDigitalMasterVolume(100);
SetDigitalMasterVolume(0);
SetDigitalMasterVolume(100);
int i=50;
while (i<100)
{
SetDigitalMasterVolume(i);
i++;
}
int i=100;
while (i>50)
{
SetDigitalMasterVolume(i);
i--;
}
int i=50;
while (i<100)
{
SetDigitalMasterVolume(i);
i++;
}
while (i>50)
{
SetDigitalMasterVolume(i);
i--;
}
int i = 100;
while (i>50)
{
SetDigitalMasterVolume(i);
i--;
}
while (i<100)
{
SetDigitalMasterVolume(i);
i++;
}
Quote from: TerranRich on Sun 28/06/2009 21:59:22
Not even that complicated, Edmundito... have the "to" image behind the "from" image, both opaque and visible, and tween the "from" image's transparency out, leaving the "to" image to be revealed beneath it. Therefore, AGS handles it automatically.
Quote from: Edmundito on Sat 27/06/2009 21:01:45Quote from: tzachs on Fri 26/06/2009 19:36:21
Sweet!
This is a really cool and useful model...
I have a suggestion for another tween, although I don't know if it can be implemented in AGS: The idea is to tween between two images (in the same size, for simplicity), to take the RGB value for each pixel in the first image and to interpolate to the RGB value for its equivalent pixel in the second image... I think it will provide for nice effects...
Anyways, really loved the model (and the demo).
if I get what you mean, it may be possible to do that:Code: ags oFromImage.SetPosition(0, 0); oToImage.SetPosition(0, 0); oToImage.Transparency = 100; oFromImage.TweenTransparency(1.0, 100, eLinearTween, eNoBlockTween); oToImage.TweenTransparency(1.0, 0);
Thanks for the suggestions so far! For sure I want to make all GUI widgets tweenable so I'll work on that next. And i'll also add the license! Let's just so say that it'll be the module gpl license most likely.
Quote from: Grim Reaper on Sun 28/06/2009 17:12:13Quote from: tzachs on Fri 26/06/2009 14:20:09
Thanks Grim! Just curious though, what games do you know that are about hotels? I know games that have a hotel in them, but I was kind of hoping that I was the first... Oh well :-
Ha ha! There's one I heard of:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37767.0
Quote from: paoul on Fri 26/06/2009 16:24:23
Wow. Very interesting plot....
This looks quite promising. I'll be playing
Quote from: JJ on Fri 26/06/2009 16:29:10
Looks good, how did you get the 3D characters to work in AGS?
Quote from: Grim Reaper on Thu 25/06/2009 22:23:28
Interesting.... Games about hotels are kinda my thing:) Looking forward to this one!
Quote from: Frodo on Fri 26/06/2009 08:35:48
This game seems very interesting. And I love your graphics - the characters seem almost 3D somehow.
This being your first game makes it all the more impressive. Excellent work.
I'm looking forward to playing this one.
Quote from: AtelierGames on Thu 25/06/2009 20:52:41
Wowee. This is good for a first game, and it sounds like a very good plot indeed. Just a question: what dimensions does it run at? The enlarged pictures wouldn't be supported by any of the available dimensions, or is it just me? Anyway, I expect you'll end up with a game as good as it sounds!
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.044 seconds with 15 queries.