ppeccin / javatari.js

Javatari - Online Atari 2600 Emulator
https://javatari.org
GNU Affero General Public License v3.0
215 stars 54 forks source link

how to save state and score #5

Closed mohsenghaderi closed 7 years ago

mohsenghaderi commented 7 years ago

is it possible to save state or get player score at the end of the game?

ppeccin commented 7 years ago

Hi,

For the Savesate yes, you can make one at any time.

However, for the "score" and "end of the game", there is no such thing from the emulators perspective. It cannot tell when the game ends, or where to get the score from. There are games that even don't have scores, or don't "end" in a clear way.

You will have to know the specific memory location where the score is held for each specific game, and also a means to tell if the game has ended, only by observing the machine's memory.

Paulo

ppeccin commented 7 years ago

Closing