Visual Novel Maker

Visual Novel Maker

Not enough ratings
Simple inventory screen
By mydeza
How to...
3
   
Award
Favorite
Favorited
Unfavorite
Summary
A very simple way of doing an inventory screen...
How to
You need a grid that you use to split the screen, i made mine in GIMP.


You need images of whatever you what to be able to add to the inventrory. size to fit the grid, as an example i use a peice of chocolate.



Create the inventory screen as a new scene (i put mine in the GUI folder), use the grid as a back ground.


Add the images that you want to be able to pick up to the inventory screen ( put them in a slot on a layer over the background )

Create variables/switches (set value to 0) for each item and use a "condition" function to control if the image is visible or not. This is placed on the inventory screen (for each item).


Functions on the invetory screen (apart from the cinditions) are

- Change backgroound (the grid)

- wait for input (use "left button pressed")

- previous scene (function)

*********************************************************

Create a common event (database) and add the change scene function (set the save previous to yes)


To each scene (major draw back) you must add:

- an image that you want to use to represent the invetory (a button),

- a hotspot that covers the i image


Set the hot spot to run the common event

These can be re-used so only create once and copy paste!

You control if the item image is visible by changing teh variable to

1
BE AWARE!! for some reason you MUST set the defaukt number (on "show picture" and "Add hotspot") to a unique number, otherwise it will not show...

DONE!!

Hope it helps and if you have any questions just ask!
1 Comments
Accordinance 30 Mar, 2021 @ 11:55pm 
Great one! Thank you very much!