|
Post by davidzx on Jul 4, 2024 12:03:18 GMT
Hello,
I'm currently developing my game (AGDX) using pagination (through additional asm code) to store some extra data on pages.
I would like to know if it is possible to store a block of screens (maps) on page 6 (for example) and exchange this block with the one saved in main memory For example, the game has 20 screens. When player complete all these screens another 20 screens are loaded from page 6 to main memory, overwriting the previous 20.
I've located the screen pointer at $7D45 and number of screen at $7D12
Thanks
|
|
mas
Endorian Forest
![*](//storage.proboards.com/forum/images/stars/star.png) ![*](//storage.proboards.com/forum/images/stars/star.png)
Posts: 60
|
Post by mas on Jul 9, 2024 10:40:24 GMT
I know Ramon has done some work in the recent past with the MPAGD Reloaded that hooks into some of the extra pages of memory available with the Spectrum 128K to make bigger and better games possible; but I like the idea of what your suggesting. I expect the main issue would be how you track the screens on the AGD side of things as swapping them out will most likely mess up any Map or NextLevel type data and you'll have to work out another way to track and change those.
Good luck!
|
|
|
Post by ramon on Jul 9, 2024 10:47:56 GMT
You can do it with MPAGD Reloaded without writing any extra code. If you are interested I will make a video for this case.
|
|
|
Post by davidzx on Jul 10, 2024 10:44:53 GMT
You can do it with MPAGD Reloaded without writing any extra code. If you are interested I will make a video for this case. Thanks, but the project is at its last to change to MPAGD
|
|
|
Post by ramon on Jul 13, 2024 15:25:57 GMT
MPAGD Reloads literally the project that you have generated in your MPAGD editor. It's not a new editor. It does a kind of post-production and breaks down the data so that you can combine data from screens, sprites, blocks from various projects. I am recording videos to demonstrate its use.
|
|