I really thought this would be as simple as creating an instance of a sprite or an object during key press once conditions were met (has map item), but it is turning out to be more frustrating than I had originally thought.
Basically, all I have is a variable in the create event set to false called "hasMap". Then there is a collision event with the player to collect the map item, in this event hasMap is set to true and the map item disappears. Next, I have the key press event, when the key is pressed and if hasMap is true, then create an instance of a sprite for the map in the asset layer. However, this does nothing.
I would greatly appreciate any advice or a reference to a tutorial.
Basically, all I have is a variable in the create event set to false called "hasMap". Then there is a collision event with the player to collect the map item, in this event hasMap is set to true and the map item disappears. Next, I have the key press event, when the key is pressed and if hasMap is true, then create an instance of a sprite for the map in the asset layer. However, this does nothing.
I would greatly appreciate any advice or a reference to a tutorial.