I want to make an rpg game and on the map there will be enemies. When you touch the enemy game will switch to fight screen. How do I start the scene with the enemy I touched.
Should I create different scenes for each enemy or can I make a scene so I’ll pass the enemy, enemy hp, atk, experience etc.
Yeah, I think you can create a scene that checks variables and creates the sprites as needed. More importantly, there is a template that sounds similiar to what you’re looking for:
Thank you. I replied late but I read your answer yesterday. Global variables is a very good idea. So when the player touch an enemy it updates global variables and change the scene.