• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

pokemon battles

J

JON213

Guest
Just wondering if the pokemon battles in pokemon would be a separate room from the rest.
thanks in advance.
 

CloseRange

Member
There is more than one way to skin a cat. Rooms would make the most sense but you do not have to at all.
Pokemon was not created with Game Maker so there was no concept of 'rooms' so they did not.

I'd suggest using rooms though to make it easier on yourself.
 

TsukaYuriko

☄️
Forum Staff
Moderator
Depending on your implementation, rooms can make this easier or harder. There is no clear-cut answer to this as it's too specific to how the rest of your game works, and there's no clear-cut answer to how that should be, either.

So, to summarize... they can. They don't have to.
 

Yal

🐧 *penguin noises*
GMC Elder
Let's think about pros and cons of using rooms.

Pros:
  • Easier to code animations and GUI elements
  • You get all the CPU power for the battle stuff, no need to worry about the big maps eating resources
  • Uses a layer of separation/abstraction that GM already has
  • Lets you lay out GUI elements WYSIWYG style using the room editor
Cons:
  • You need to transfer monster/trainer data between rooms
  • You need to store the previous player position somehow before going to a room so you can resume again afterwards
  • Location data from the level you were at can't be used in battle
 
Top