Today I am going to teach you, I used NO SCRIPTS to make my item Pick up screen, using events and pictures. :
First you might need a little understanding of Variables and switches before you begin, i suggest you read tutorials on variables and switches.
First you need to do is sort out all the items you will be getting in the game, as you will need big pictures of them to fit in the square about 100x78 will probably do, Here is mine :
You will need pictures of the text 'will you take the' and 'Item name' and 'yes/no(one picture) and the arrows. The arrow is what we will be moving using variables.
then you will need pictures of the screen, I forgot to make my screen bigger, so I have gap so you can see the maps when you open this screen. So make a picture of the background, your game screen size. :
the text for choices are seperate files, so you have yes and no pictures and the 'Will you take the' and the item name as well. all are seperate picture files.
Place all of it in Graphics/Pictures folder, give it a name that is easy to recognise and easy to find. Then goes the hard part, setting the variables and pictures.
When you click on the item you want to pick up, set a switch :
You can see i just set to action, and its also set to stepping as I have a sparkly graphic, and the switch activates a Autorun event, so when you have the screen for the item pickup, player can't move at all, until the pickup is complete.
Here's the Events for when the switch is on
Heres how I have the pictures set up :
This is for the inventory background, Notice how the number is the lowest of the lot, that means it will be behind every picture that is in higher numbers.
This is a picture of the Ink ribbon it self, I am pretty bad at maths,m so those coordinates on constant are mostly Guess work and constant testing, But I pretty much got it centered of the Blue Box in the middle.
This is increasing the ink ribbon size so it looks like what happens in the resident evil games when you pick up items., How it zooms to a certain point(it also spins, but I can't get that to look right).
This is a picture of the Text asking you to take the stuff. Again the coordinates are Guessing and testing. I also decreased the Picture size alot
This is a picture of the text saying the item name in green text, i decreased the text size.
Here is the yes and no choices. again a picture of text saying yes and no, its a whole one picture, just a bug gap between them both.
This white arrow, is what we will be moving using the variables, its the highest number as its on top of everything else.
This step is sorting the variables and switches so the Arrow Actually moves when u wnat to press yes or no, Here is how mine is set up, Remember its only two choices.
See how I have variable for the Ink ribbon, and it only increases by 1 when you press right and decreases by 1 when you press Left, its just telling it when I press right, to move the picture to the specific coordinates, and when I press Left to go back. I only used Move picture as I have the picture set up on page one.
When I press the C button on The Yes choice (Enter button on Keyboard). It tells the game to add item to inventory and to erase the pictures and reset the variables, But if I pressed enter on the No Choice, it resets the variables and switches so that i can try later to grab the item, If I don't wish to take it right now.
Its may look complicated to some people, but once you take a good look, its a very simple and easy concept.