Scramble (arcade game remake)
#49
(03-28-2023, 03:34 PM)madscijr Wrote:
(03-27-2023, 06:24 PM)RokCoder Wrote: If you run into any problems then I'm happy to help. Reach out either here or by DM.

As an afterthought, why not scale the sprite sheet up by 4x (or whatever) and replace the graphics in there with the new ones that way. If you change the TILE_* constants as well then you might have little else that you need to do!

Attached is the latest modified game - 2 versions: 
  • "scramble-lowres.(attempt 3).bas" is the game with the new tileset, shrunk to the original 8x8 tiles. This version works.
  • "scramble-hires.(attempt 2).bas" is the game with the new full hi-res tileset (64x64 tiles). It runs but the screen is garbled, no idea why.

See "README (scramble-hires).txt" which explains what was changed, how to edit the graphics, etc.

It's WIP, so the original tiles are still used for the terrain. 
Eventually I'd like to replace the background with a slowly scrolling pic of a Hubble/Webb image.

Enjoy!

I should have checked the forum for updates before I embarked on this. The last time I checked there were notes of graphic issues with the hi-res sprite sheet so I jumped into the code to tackle it. Having sorted it out I've just seen your version with the new versions of the graphics reduced to the original resolution and it works great!

Anyway, and for what it's worth, I have a version here that I've modified to allow higher resolution sprites. There are a few notes that should go with it though -

1) With your original hi-res sheet, the sprites have increased resolution by x8. This means that you'll need a monitor resolution of 3584x2048 to play the game in the correct aspect ratio with those graphics. I've actually got that resolution here but the game plays very slowly when throwing around sprites at that resolution. I've also tweaked the initialisation so it can downscale for lower resolution screens if you want to continue down that path.

2) I reduced your hi-res sprite sheet so that it's x2 the original resolution which seems more realistic to use here. You'd probably get away with x4 or more but would need to experiment.

Code: (Select All)
    $IF HI_RES THEN
        'spriteSheet& = LoadImage&("sprite-sheet-hires")
        'spriteSheet& = LoadImage&("sprite-sheet-hires-256")
        spriteSheet& = LoadImage&("sprite-sheet-medium-res-256")
    $ELSE
            spriteSheet& = LoadImage&("sprite-sheet")
    $END IF

3) There was a lot of code scattered around that required tweaking so it wasn't a simple case of increasing TILE_WIDTH and TILE_HEIGHT. To simplify it a little I added a TILE_SCALE so that all the original position placements and calculations didn't need modifying - just the actual rendering to the virtual screen display.

Code: (Select All)
$IF HI_RES THEN
    CONST TILE_SCALE = 2
$ELSE
        CONST TILE_SCALE = 1
$END IF

4) I added a bunch of pre-processor settings so that it's easy to switch gaming modes around. All of your modifications are included in these -
 
Code: (Select All)
$LET HI_RES = 1
$LET WIDESCREEN = 1
$LET SPEED_CONTROLS = 0
$LET EXTRA_BOMBS = 0
$LET EXTRA_LIVES = 1
$LET FREE_ROAMING_SHIP = 0

I think it's all a little redundant having seen your low-high-res version but I'm posting it anyway seeing as it's done now Smile


.zip   ScrambleTest.zip (Size: 10.74 MB / Downloads: 55)
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: 30 Guest(s)