From 88728b89fed87326dae23619e2e93d4bd060a3ea Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 1 Apr 2025 21:19:45 +0200 Subject: Adapt velocity constants for PAL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In 2f140cfb7ea7 ("player: First PAL implementation") the rate of acceleration was adapted for PAL. Now the values for velocities have been adapted as well, in a way that we get (virtually) the same experience in PAL and in NTSC. This has been done by moving the velocity constants into configurable values, which are then picked up by a new bin/values.rb script. This script allows us to write the constants in plain floating point numbers, does the conversion to fixed point numbers as expected, and it also does the same for PAL by applying the proper NTSC to PAL conversion. As a cherry on top, some values have also been tuned to match the original game more closely, even if some more fine tuning might still be needed here and there. Signed-off-by: Miquel Sabaté Solà --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6a15642..bfda220 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ This is a port to the NES/Famicom of the renown [jetpac](https://en.wikipedia.org/wiki/Jetpac) game from Ultimate Play the Game. You can find a ROM to play the game in the [releases -page](https://github.com/mssola/jetpac.nes/releases). +page](https://github.com/mssola/jetpac.nes/releases). Read the +[CONTRIBUTING.md](./CONTRIBUTING.md) file if you want to make any changes, +report an issue or make a suggestion. ## The game -- cgit v1.2.3