Answer the question
In order to leave comments, you need to log in
Which sprite is better to choose for a temporary closure of the passage?
Friends, give me advice
. I have a project - a 2D game, top view, similar to Don't Starve
. The plot is a simple pixel medieval fantasy world, with magic and wars.
In the game I use pieces of the map (location), namely [objects 25 * 25]
When moving from one [location (1)] to another [location (2)], [location (1)] will disappear from the game after 3 seconds ( such an interval is necessary for the camera to move to a new location), and [location (2)] will be displayed in the game without delay;
BUT(!!!), if you immediately return from [location 2] to [location 1] - the countdown of 3 seconds will continue, and the map will still hide when the player is on it.
To delay the player on the new map, and let the old one go to hell - I added the condition that when entering the map, a game object appears that blocks the path for 3 seconds, and then
disappears ...
What do you think - what object to draw there?
Bushes that will move apart, or maybe magical light/seals/whatever?
I'm struggling with hiding locations to optimize the game so that more than 1300 objects on 1 stage are not loaded at once
Answer the question
In order to leave comments, you need to log in
Slowly opening door, possibly with a deadbolt. The opening-closing time coincides with the required delay. Depending on the location, you can replace the door with a moving stone or a drawbridge or...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question