Juri
Cold Store
Posts: 4
|
Post by Juri on Dec 14, 2014 20:53:12 GMT
Hello, i'm new and i'm creating a game with AGD for CPC (v1.4)
i encountered a problem, when i lost all lives or i complete the game (in the stand-alone bin file), the program reset the cpc (i'm using WinAPE) is it a normal behaviour that if a player lost all lives program reset the computer? could be possible to restart the game from the beginning if player lost all lives or complete the game? (with use of ASM commands)
thank you Juri
|
|
Juri
Cold Store
Posts: 4
|
Post by Juri on Dec 15, 2014 23:18:09 GMT
any clues fom someone? i can work with the resetting at the end of level but resetting the computer if player lost all lives make the game completely useless.. where i'm making mistakes? please is completely useless to continue making my game if it "reset" the computer if player lost all lives thanks
|
|
|
Post by Jonathan Cauldwell on Dec 16, 2014 16:31:00 GMT
Sounds like a bug somewhere, it certainly isn't meant to reset. I'll take a look and see what I can find.
|
|
Juri
Cold Store
Posts: 4
|
Post by Juri on Dec 16, 2014 17:20:42 GMT
Sounds like a bug somewhere, it certainly isn't meant to reset. I'll take a look and see what I can find. thanks Jonathan, actually this happen with RUN"GAME command if i use a very little basic program like this: 1 memory&3500 2 load"game 3 call&3500 it does not reset, it quit to basic but with screen schrewed up actually i workarounded in this way: the same basic program that load really little routine in lm before loading game. &0030 call &3500 &0033 jp &0030 then i replaced last line with "CALL&0030" thanks Juri
|
|
|
Post by egotrip on Jan 2, 2015 21:31:05 GMT
Make sure you CALL &3500, because otherwise, when the game ends, if you JP to it, it has nowhere to RETurn to.
|
|