Update the readme with some more information about emulators. Make the random number generator test less likely to result in a series of scorpions appearing one after another.

This commit is contained in:
Jeremy Rand 2021-07-02 22:33:38 -04:00
parent af16a35ea7
commit 165d489832
3 changed files with 9 additions and 4 deletions

View File

@ -17,12 +17,12 @@
<key>DiskImage.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>2</integer>
<integer>1</integer>
</dict>
<key>doNotBuild.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>2</integer>
</dict>
</dict>
</dict>

View File

@ -20,9 +20,9 @@ From the third level, a scorpion may appear on the right side of the screen and
Unfortunately, not all GS emulators work well with BuGS. I recommend mame or KeGS based on my testing. Some notes about specific emulators are below:
**mame:** This emulator is not very friendly but is probably the best for playing BuGS. The mouse is handled well and the sound and graphics look good. If you are on a Mac, I highly recommend Kelvin Sherlock's Ample which makes running mame much easier. There was a problem with versions 0.231 and 0.232 of mame when playing BuGS. I recommend using a newer or older version of mame. You can find Ample at - http://github.com/ksherlock/ample
**mame:** This emulator is not very friendly but is probably the best for playing BuGS. The mouse is handled well and the sound and graphics look good. If you are on a Mac, I highly recommend Kelvin Sherlock's Ample which makes running mame much easier. There was a problem with versions 0.231 and 0.232 of mame when playing BuGS. I recommend using a newer or older version of mame. Also, you can emulate an Uthernet card in mame and it is possible to get the network up and share your scores. You can find Ample at - http://github.com/ksherlock/ample
**KeGS:** Kent has released some updates for this emulator recently and v1.05 seems to work well with BuGS. You will want to press F8 to constrain the mouse to the emulator. You can find the latest version at kegs.sourceforge.net.
**KeGS:** Kent has released some updates for this emulator recently and v1.05 seems to work well with BuGS. You will want to press F8 to constrain the mouse to the emulator. You can find the latest version at kegs.sourceforge.net. I don't think there is any support for networking in KeGS today however.
**GSPlus:** This emulator is based on KeGS and I generally find it to be a good emulator but it does not work well with BuGS. The main problem is related to mouse handling. GSPlus tries to map the host's mouse position to the corresponding position on the emulator's screen. When they do this, the emulator often stops updating the mouse position when it reaches the side of the emulated screen. With a game like BuGS (or Arkanoid for a similar example), the mouse is used as an analog input to the game. So when the mouse reaches a screen edge, you will no longer be able to move the player in that direction. Other than this mouse input problem, everything else seems to work but I suspect you will find the game frustrating because of these "virtual barriers" due to mouse input.

View File

@ -96,6 +96,11 @@ updateScorpion_playerOnscreen anop
blt updateScorpion_doNotAdd
jsl rand0_to_65534
and #$3ff
; This used to just do an AND and add a scorpion when zero. But because of the nature of the
; random number generator, if you get 0 once after the mask, chances are good you will get 0
; again on the next call to the random number generator. Better to just look for some non-zero
; value. I picked $20 which has a nice distribution when I checked the random number generator.
cmp #$0020
bne updateScorpion_doNotAdd
jmp addScorpion
updateScorpion_doNotAdd anop