diff --git a/BuGS.xcodeproj/xcuserdata/jrand.xcuserdatad/xcschemes/xcschememanagement.plist b/BuGS.xcodeproj/xcuserdata/jrand.xcuserdatad/xcschemes/xcschememanagement.plist index dc9e153..0d0faee 100644 --- a/BuGS.xcodeproj/xcuserdata/jrand.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/BuGS.xcodeproj/xcuserdata/jrand.xcuserdatad/xcschemes/xcschememanagement.plist @@ -17,12 +17,12 @@ DiskImage.xcscheme_^#shared#^_ orderHint - 2 + 1 doNotBuild.xcscheme_^#shared#^_ orderHint - 1 + 2 diff --git a/BuGS/Read.Me.md b/BuGS/Read.Me.md index d0892a9..93346a1 100644 --- a/BuGS/Read.Me.md +++ b/BuGS/Read.Me.md @@ -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. diff --git a/BuGS/gameScorpion.s b/BuGS/gameScorpion.s index 25d2959..7591ff9 100644 --- a/BuGS/gameScorpion.s +++ b/BuGS/gameScorpion.s @@ -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