For the zoom-in effect you could also use the new camera features, but I still haven't tested them myself: https://adventuregamestudio.github.io/ags-manual/Camera.html
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 MenuQuote from: Thanyx on Thu 13/08/2020 10:47:13
It is a similar effect used in other games, for example Kathy Rain, where you see low res backgrounds and characters, but the portraits look like hand-painted high res pictures.
if (InventoryWindow.ItemCount > 0)
{
r = Random(InventoryWindow.ItemCount - 1);
player.LoseInventory(InventoryWindow.ItemAtIndex[r]);
}
if (InventoryWindow.ItemCount > 0)
{
r = Random(InventoryWindow.ItemCount - 1);
player.LoseInventory(InventoryWindow.ItemAtIndex[r]);
}
int code1 = 0;
int code2 = 0;
int code3 = 0;
function UpdateLock() // function to update the button sprites and to check whether the numbers are correct
{
bLock1.NormalGraphic = 10 + code1; // graphic slots (e.g. 10-19)
bLock2.NormalGraphic = 10 + code2;
bLock3.NormalGraphic = 10 + code3;
if (code1 == 5 && code2 == 1 && code3 == 8) // right numbers (e.g. 518)
{
// do something
}
}
function bButtonUp1_OnClick()
{
code1 ++;
if (code1 > 9) code1 = 0;
UpdateLock();
}
function bButtonDown1_OnClick()
{
code1 --;
if (code1 < 0) code1 = 9;
UpdateLock();
}
// do the same for buttons 2 and 3 (using code2 and code3)
if (stove == false)
{
stove = true;
object[2].Visible = true;
}
else
{
stove = false;
object[2].Visible = false;
}
Quote from: KyriakosCH on Fri 17/07/2020 12:28:27
Thanks! Did that now
Using 3.4.3 Yes, I had already changed the game name in that list. I was thinking of customizing the actual .exe itself, though... I recall you can even have a custom graphic for it
if ((cEgo.loop == 64) && (cEgo.frame == 6)) {
cEgo.SetIdleView(70 + Random(5), 2);
}
if ((cEgo.loop == 64) && (cEgo.frame == 6)) {
player.LockView(70 + random(5));
player.Animate(player.Loop, 2, eOnce, eNoBlock);
player.UnlockView();
}
function repeatedly_execute()
{
if (hungerLevel == 408 && cPedro.IdleView != 71)
{
cPedro.SetIdleView(71, 0);
}
}
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.062 seconds with 15 queries.