Code a game comp - 8-BIT WARS - Jan 25th to Mar 31st 2019

Started by Qube, January 25, 2019, 22:33:00

Previous topic - Next topic

Xerra

Quote from: blinkok on January 28, 2019, 07:15:31
So if my resolution is 160x200 can i scale it up?
160x200 is just s spec on my monitor and probably unplayable on any monitor

I've gone for the 320 * 200 mode for the C64, even though it wasn't used for games much, and then doubled it so I'm running on 640 * 400. I've taken into account what size sprites would have been on the original machine and doubled that too just so the look remains like a C64. Naturally you'd do the same with a font of the characters. I think mine is currently 12 pixels but really needs to be 16 to match the rest of the look.
M2 Pro Mac mini - 16GB 512 SSD
ACER Nitro 5 15.6" Gaming Laptop - Intel® Core™ i7, RTX 3050, 1 TB SSD
Vic 20 - 3.5k 1mhz 6502

Latest game - https://xerra.itch.io/Gridrunner
Blog: http://xerra.co.uk
Itch.IO: https://xerra.itch.io/

3DzForMe

This is so enthralling.... It's been let me see, 35 years since I coded in ZX Basic. Need to give it some thought.... ;)
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

Xerra

Quote from: 3DzForMe on January 28, 2019, 17:59:27
This is so enthralling.... It's been let me see, 35 years since I coded in ZX Basic. Need to give it some thought.... ;)

Exactly. There's a huge opportunity to hopefully see some really great games this competition. Can't believe the idea almost got axed.
M2 Pro Mac mini - 16GB 512 SSD
ACER Nitro 5 15.6" Gaming Laptop - Intel® Core™ i7, RTX 3050, 1 TB SSD
Vic 20 - 3.5k 1mhz 6502

Latest game - https://xerra.itch.io/Gridrunner
Blog: http://xerra.co.uk
Itch.IO: https://xerra.itch.io/

iWasAdam

Well, i'm Sticking with emulating both the display and sound chip. The sound was the easy bit as i've Already got a real-time sound chip system working.

The display is not quite as simple, but the base loader is complete now

blinkok

I look at the specs for the amstrad CPC which has 16 colors at 160x200
Then i look at this screenshot.


When i look at that image is (as far as i can see) it is 256x177. I cannot resolve the resolution with that screen shot. What am i missing?

Qube

QuoteWhen i look at that image is (as far as i can see) it is 256x177. I cannot resolve the resolution with that screen shot. What am i missing?
You're not taking into account the black surrounding and that the width would be double to look normal on a PC.

I'd say that's a screen shot from an emulator running the CPC in 16 colour full overscan mode ( 384×272 is how it'd be represented on a PC ). The game in reality would have been in 192×272 ( if running in overscan mode ) but when a PC is emulating the screen then what you see is double the resolution width, hence the total dimension of the image provided.

Most games were 160x200 ( double width pixels to fit 320x200 ) and I doubt many games used the full screen trick. You can if you want :)
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

blinkok

QuoteYou're not taking into account the black surrounding and that the width would be double to look normal on a PC.
256x177 is after i cropped the image. The smallest shape in that image is one pixel (The serif at the top of the green "1") so i cannot see how it could be rezed up.
Those issues aside, my major question is the aspect. Is the aspect arbitrary? So could i have 160x200 or 200x160

Qube

Quote from: blinkok on January 29, 2019, 00:15:41
256x177 is after i cropped the image. The smallest shape in that image is one pixel (The serif at the top of the green "1") so i cannot see how it could be rezed up.
The full image you showed was 384×272 which is the full overscan mode of the CPC including black borders. The main game graphic area is irrelevant in this case and is not a representation of the standard resolution of the CPC.

Quote from: blinkok on January 29, 2019, 00:15:41
Those issues aside, my major question is the aspect. Is the aspect arbitrary? So could i have 160x200 or 200x160
No, the rules state you could even do a full HD version of your game providing it looks / acts like a game on that computer. So mimicking the resolution is not a requirement but an optional extra. The tech sides are just there if you want to go down that route. The main goal is to emulate the look / feel of that computer and to create a cool game.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

MrmediamanX

interesting ... though still on the fence whether i'll jump in or not.
namely due to imitating/emulating classic hardware on a modern system with the tool kits and sdk's I use.
remembering back when I use to code on the C64 as a hobby .... good times. 

gotta represent that old skool jank. :D
It's a thing that doe's when it don't..

Qube

Quote from: MrmediamanX on January 29, 2019, 08:15:15
interesting ... though still on the fence whether i'll jump in or not.
namely due to imitating/emulating classic hardware on a modern system with the tool kits and sdk's I use.
The rules state you don't have to imitate the hardware, just make it look and feel like a game on that system.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

STEVIE G

Quote from: Qube on January 29, 2019, 11:43:47
Quote from: MrmediamanX on January 29, 2019, 08:15:15
interesting ... though still on the fence whether i'll jump in or not.
namely due to imitating/emulating classic hardware on a modern system with the tool kits and sdk's I use.
The rules state you don't have to imitate the hardware, just make it look and feel like a game on that system.

We def have to use the specific palettes for each machine though?

Steve Elliott

#26
Quote
We def have to use the specific palettes for each machine though?

Yep, just look and feel and a machine appropriate palette.

As Qube said:

Quote
Colour palette ( must use ) :
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

STEVIE G

Quote from: Steve Elliott on January 29, 2019, 18:34:07
Quote
We def have to use the specific palettes for each machine though?

Yep, just look and feel and a machine appropriate palette.

As Qube said:

Quote
Colour palette ( must use ) :

Cheers Steve - must learn to read!!

Steve Elliott

Quote
Cheers Steve - must learn to read!!

Haha, there's always always lots of questions before (and during) a comp.   ;D
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

MrmediamanX

I'm in I guess ... just added a worklog
https://www.syntaxbomb.com/index.php/topic,5216.msg22585/topicseen.html#new
hopefully I can tweak what I have so far to match the chosen system.
It's a thing that doe's when it don't..