The demontration shows how to buy an item in a store. The player controls the protagonist to talk to the shop keeper then a menu shows that what can be purchased. Then select an item and its quantity. If currency decreased, means successfully purchased. The item holding limitation is 99 maximum.
Also the player can sell any items to the shop keeper, to recover some money. However the item will be half priced.
Purchase items by build-in currency.
The demontration shows how to buy an energy drink on a machine. The player interacts with a machine on the street, the a menu shows that what can be purchased. Then select an item and its quantity. If currency decreased, means successfully purchased. The item holding limitation is 99 maximum.
In further improvement, I can make the game ended if the protagonist is crashes by any car on road.
Triggering an event to talk to an NPC by reaching a specified point.
I have set a specific point in this demonstration that triggers a conversation with mom (NPC)
Press "ESC" for the game menu, then press "Save". Chose a place to save your game.
Press "Welcome back" when you entered the title page, and then select a saved file to continue your game.
Press "ESC" to show the game menu. Then press "Items" to check your items that you have and view descriptions.
When the player gets items by investigation, without game built-in currency, a dialog box will be shown on middle of the screen.