This is very cool. Sprite stacking is new to me too, but it's definitely an interesting technique. Thanks for sharing, eri0o.
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: MuhlbockGames on Thu 13/10/2022 00:28:54I couldn't figure out how to properly embed the youtube video so I just left the link instead![]()
function room_AfterFadeIn()
{
if (player.PreviousRoom == 2) {
player.y = 255;
player.Walk(551, 255, eBlock, eAnywhere);
}
}
if (player.PreviousRoom == 2) player.y = 255;
Quote from: CCrane on Tue 15/11/2022 12:04:55I don't know which of those functions gives me trouble but it seems to me the eAnywhere parameter isn't recognized properly. It's supposed to overrule walkable areas, no?
Quote from: Nahuel on Fri 02/09/2022 14:33:29
Excellent, thanks Matti that did the trick, thanks again!
Quote from: Crimson Wizard on Fri 02/09/2022 16:38:55
There's event eEventEnterRoomAfterFadein added in 3.6.0 beta.
Quote from: Nahuel on Fri 02/09/2022 11:03:44
Is there a better way to reuse it globally?
I tried for repeatdly exectute checking the variable but the text is said while the fade is being doing and the player can skip this.
if (IsGamePaused() == 1) // Game is paused, so do nothing (ie. don't allow mouse click)
{
}
// Left click = walk/talk/interact
else if (button == eMouseLeft)
{
if (player.ActiveInventory != null) Room.ProcessClick(mouse.x,mouse.y, eModeUseinv); // use item
else if (GetLocationType(mouse.x, mouse.y) == eLocationHotspot) Room.ProcessClick(mouse.x,mouse.y, eModeInteract); // interact with hotspot
else if (GetLocationType(mouse.x, mouse.y) == eLocationObject) Room.ProcessClick(mouse.x,mouse.y, eModeInteract); // interact with object
else if (GetLocationType(mouse.x, mouse.y) == eLocationCharacter) Room.ProcessClick(mouse.x,mouse.y, eModeTalkto); // talk to character
else Room.ProcessClick(mouse.x,mouse.y, eModeWalkto); // walk
}
l_Hotspots.Text = Game.GetLocationName(mouse.x, mouse.y);
Quote from: Crimson Wizard on Sat 30/07/2022 17:43:41
To clarify, the new way to do this since AGS 3.5.0 is: Game.Camera.X and Y.
if (!object[0].Animating) object[0].Animate(0, 4, eRepeat, eNoBlock);
Quote from: Snarky on Sat 02/07/2022 12:54:26
If we do 4.1, can the outline be filled? I much prefer that cup design and handle orientation to the ones in 4.2 and 4.3.
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.265 seconds with 20 queries.