Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scramble (arcade game remake)
#53
(03-30-2023, 02:35 PM)RokCoder Wrote:
(03-30-2023, 01:57 PM)madscijr Wrote: My final question is about the background stars. A few seconds into the game, the background turns from black to gray. Is this supposed to happen? How can we keep the background black? 

I imagine the palettes have been messed up somewhere along the line. The way the original works is to update four colours of the eight colour palette when it's doing the palette updates. That's why you have the set of sprites in the sprite sheet that are in four colours of grey - they're the ones that are assigned different colours from time to time. As you're basically updating all of the sprites and disregarding any use of palette switching, you might as well use the HI-RES setting to disable palette switching completely when set to 1.

Thanks for your quick reply. I think what's happening is when a bomb hits, the screen flashes as part of the explosion effect, but it isn't returning to black. 
^^^ after trying it some more, I don't think that's happening, I am not sure what is turning the screen gray after a few seconds!

I'm not sure where in the code the palette switching is happening, if you get a minute to point out which line(s) need changing, that would be great.
^^^ Update #2: I think I found it, if anything else needs changing let me know:
Code: (Select All)
Sub NextPalette
    $IF HI_RES THEN
    Exit Sub ' UNTIL WE CAN FIX THE SCREEN TURNING GRAY?
    $END IF
    SetPalette (game.currentPalette% + 1) Mod 7
End Sub

Thanks again!
Reply


Messages In This Thread
Scramble (arcade game remake) - by RokCoder - 02-26-2023, 10:56 PM
RE: Scramble (arcade game remake) - by mnrvovrfc - 02-27-2023, 12:39 AM
RE: Scramble (arcade game remake) - by bplus - 02-27-2023, 03:28 AM
RE: Scramble (arcade game remake) - by RokCoder - 02-27-2023, 07:49 PM
RE: Scramble (arcade game remake) - by aurel - 02-27-2023, 09:44 PM
RE: Scramble (arcade game remake) - by RokCoder - 02-28-2023, 07:40 AM
RE: Scramble (arcade game remake) - by RokCoder - 02-28-2023, 04:25 PM
RE: Scramble (arcade game remake) - by mnrvovrfc - 02-28-2023, 09:55 PM
RE: Scramble (arcade game remake) - by aurel - 02-28-2023, 08:39 AM
RE: Scramble (arcade game remake) - by RokCoder - 02-28-2023, 04:23 PM
RE: Scramble (arcade game remake) - by mnrvovrfc - 02-28-2023, 09:08 AM
RE: Scramble (arcade game remake) - by aurel - 02-28-2023, 05:03 PM
RE: Scramble (arcade game remake) - by RokCoder - 03-01-2023, 07:05 AM
RE: Scramble (arcade game remake) - by aurel - 03-02-2023, 04:01 PM
RE: Scramble (arcade game remake) - by bplus - 03-02-2023, 05:35 PM
RE: Scramble (arcade game remake) - by vince - 03-03-2023, 01:47 PM
RE: Scramble (arcade game remake) - by madscijr - 03-23-2023, 05:45 AM
RE: Scramble (arcade game remake) - by RokCoder - 03-23-2023, 09:43 AM
RE: Scramble (arcade game remake) - by madscijr - 03-23-2023, 07:58 PM
RE: Scramble (arcade game remake) - by madscijr - 03-24-2023, 06:32 PM
RE: Scramble (arcade game remake) - by RokCoder - 03-24-2023, 10:41 PM
RE: Scramble (arcade game remake) - by madscijr - 03-24-2023, 10:58 PM
RE: Scramble (arcade game remake) - by madscijr - 03-27-2023, 04:19 PM
RE: Scramble (arcade game remake) - by mnrvovrfc - 03-24-2023, 02:20 AM
RE: Scramble (arcade game remake) - by RokCoder - 03-24-2023, 08:17 AM
RE: Scramble (arcade game remake) - by madscijr - 03-24-2023, 03:30 PM
RE: Scramble (arcade game remake) - by madscijr - 03-24-2023, 11:14 PM
RE: Scramble (arcade game remake) - by mnrvovrfc - 03-24-2023, 11:18 PM
RE: Scramble (arcade game remake) - by madscijr - 03-24-2023, 11:55 PM
RE: Scramble (arcade game remake) - by grymmjack - 03-25-2023, 06:20 PM
RE: Scramble (arcade game remake) - by grymmjack - 03-25-2023, 06:28 PM
RE: Scramble (arcade game remake) - by RokCoder - 03-26-2023, 10:12 AM
RE: Scramble (arcade game remake) - by RokCoder - 03-26-2023, 10:20 AM
RE: Scramble (arcade game remake) - by RokCoder - 03-26-2023, 10:26 AM
RE: Scramble (arcade game remake) - by RokCoder - 03-27-2023, 07:14 AM
RE: Scramble (arcade game remake) - by RokCoder - 03-27-2023, 06:24 PM
RE: Scramble (arcade game remake) - by madscijr - 03-27-2023, 10:30 PM
RE: Scramble (arcade game remake) - by madscijr - 03-28-2023, 07:05 AM
RE: Scramble (arcade game remake) - by madscijr - 03-28-2023, 03:34 PM
RE: Scramble (arcade game remake) - by RokCoder - 03-29-2023, 05:37 PM
RE: Scramble (arcade game remake) - by madscijr - 03-29-2023, 06:06 PM
RE: Scramble (arcade game remake) - by madscijr - 03-30-2023, 01:57 PM
RE: Scramble (arcade game remake) - by RokCoder - 03-30-2023, 02:35 PM
RE: Scramble (arcade game remake) - by madscijr - 03-30-2023, 02:44 PM
RE: Scramble (arcade game remake) - by RokCoder - 03-30-2023, 03:23 PM
RE: Scramble (arcade game remake) - by madscijr - 03-30-2023, 03:41 PM
RE: Scramble (arcade game remake) - by RokCoder - 03-30-2023, 05:39 PM
RE: Scramble (arcade game remake) - by madscijr - 03-30-2023, 07:43 PM
RE: Scramble (arcade game remake) - by RokCoder - 03-31-2023, 08:12 PM
RE: Scramble (arcade game remake) - by madscijr - 03-31-2023, 08:31 PM
RE: Scramble (arcade game remake) - by madscijr - 04-03-2023, 09:18 PM
RE: Scramble (arcade game remake) - by RokCoder - 04-03-2023, 09:36 PM
RE: Scramble (arcade game remake) - by madscijr - 04-03-2023, 09:54 PM
RE: Scramble (arcade game remake) - by RokCoder - 04-18-2023, 08:11 AM
RE: Scramble (arcade game remake) - by madscijr - 04-18-2023, 05:27 PM
RE: Scramble (arcade game remake) - by madscijr - 04-29-2023, 07:38 PM
RE: Scramble (arcade game remake) - by RokCoder - 04-29-2023, 07:42 PM
RE: Scramble (arcade game remake) - by madscijr - 04-29-2023, 10:23 PM
RE: Scramble (arcade game remake) - by RokCoder - 04-29-2023, 10:36 PM
RE: Scramble (arcade game remake) - by grymmjack - 04-23-2023, 05:17 PM
RE: Scramble (arcade game remake) - by bplus - 04-23-2023, 05:38 PM
RE: Scramble (arcade game remake) - by grymmjack - 04-23-2023, 06:03 PM
RE: Scramble (arcade game remake) - by bplus - 04-23-2023, 06:20 PM
RE: Scramble (arcade game remake) - by grymmjack - 04-23-2023, 06:55 PM
RE: Scramble (arcade game remake) - by RokCoder - 04-23-2023, 07:02 PM



Users browsing this thread: 3 Guest(s)