Possible to use multiple modules in one game?

Michael J Wolf

New member
Hey guys, I haven’t been able to find an answer to this. I’m very new to nesmaker but have been working on ideas and was wondering if it’s possible to use multiple modules in one game? For example, an adventure game where when you warp from one area and it goes right into a short platform mini game and then back to the adventure game once you’ve completed the mini game. If this is possible I’m sure it’s still way above my skill set but I’m just curious about it.
 

Jonny

Well-known member
Yes you can do things like that but you wouldn't be using two different modules. A module is just a collection of scripts in NesMaker.

A way to go about it would be to think of the differences between your main game and the mini game. For example you might want to setup screen flags which would manipulate certain scripts e.g physics and/or have different screen types whereby up and down might not be set up as inputs for the platform minigame.

There are different ways to go about it but you're not using 2 modules as such and it would require some code but definitely possible.
 

dale_coop

Moderator
Staff member
But doing that requires a LOT of free space... need to clean up / move a few code before trying that.
 

Jonny

Well-known member
But doing that requires a LOT of free space... need to clean up / move a few code before trying that.
Yes. I'd be inclined to make one game first, learn how to best optimise that and make free space. There are some great tutorials in the forum about removing 'bloat' from the standard modules and moving data between banks. However, if you're just starting out those things should come after learning the basics. You could make the main adventure game part first, get that working as you want. Once all that's done, you'll have a better understanding of NM and asm and what extra space you will need for all aspects of the mini platform game.
 
Top Bottom