Region limit per Room

Started by shaun9991, Mon 28/06/2021 17:47:31

Previous topic - Next topic

shaun9991

Hi guys,

Please forgive me if this is a really obvious question. I'm toying around with the idea of one day creating a "JRPG" visual style adventure game with keyboard/gamepad controls using AGS, I've got all the structure set up nicely in a room that I'm testing. I am basing hotspot/object/character interaction on IsKeyPressed while Player is standing on a Region in front of whatever the hotspot/object/character is.

I've noticed that there seems to be a limit of 15 Regions per room - is there any way around this? I would hate to limit interactable things to 15 per room. I know there would be other ways around this i.e. calling rep-exec based on the Player position in relation to the interactable area, but just wondering if there is any way of expanding the Region limit.

Many thanks,
Shaun
Support Cloak and Dagger Games on Patreon: https://www.patreon.com/user?u=460039

Khris

You can just draw the hotspots on the floor instead, since drawing them at their usual place is pointless anyway.

Here's an old post of mine regarding this topic: https://www.adventuregamestudio.co.uk/forums/index.php?topic=44602.msg595691#msg595691

Crimson Wizard

There might be multiple workarounds, e.g. you probably also may use a number of dummy transparent characters* to test "AreThingsOverlapping" and move them to new places as player moves around the map.

* you may also use objects, characters are unlimited and may be used regardless of the room though.

shaun9991

Thanks guys - fantastic tips! Problem solved :)
Support Cloak and Dagger Games on Patreon: https://www.patreon.com/user?u=460039

SMF spam blocked by CleanTalk