Forum rules - please read before posting.

"Case of the Golden Idol"-esque functionality, but without using inventory?

I'm working on having some functionality similar to "Case of the Golden Idol." I'm aware that someone else has previously asked for guidance on how to do this in this post. Similar to the previous poster, I want my game to have a journal that gets populated with new draggable words as gameplay unfolds. Those words can then be dragged into sentences, fill-in-the-blank style. This will happen often in the game. Once a given puzzle is solved successfully, that will update an AC global variable and make something happen in the game.

In that previous post, a solution that leverages the inventory system is discussed. However, I am already using the inventory system to do a https://adventurecreator.org/forum/discussion/15123/best-practices-for-redoing-interaction-ui#latestcustom interaction scheme in my game.

My question is this: does it even make sense to use the inventory system for this, or is there another (possibly more efficient) way I can achieve this?

Mainly, I am looking for high-level advice on the smartest, cleanest way to build this out.

Comments

  • The use of items elsewhere shouldn't impact anything - you can define Categories for items in the Inventory Manager, and then filter by Category in InventoryBox menu elements so that only certain types of items are shown in specific menus.

    Built-in, the use of Inventory items makes the most sense because it provides the fundamental behaviour of selecting something (a word) and then using that on another object (a blank space). You can then also leverage the Inventory UI options such as drag-and-drop mode.

    The other possible approach I can think of would be to use the "Item arranging" puzzle template over on the Downloads page. This allows objects to be dragged around a scene, to be dropped in specific places - to provide mechanics such as a jigsaw puzzle etc.

    I'd recommend giving it a try in a separate project and see if it's more in-line with your intended mechanics.

  • That was tremendously helpful, thank you!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.