Tag Archives: shmup

April and Pseudo 3D Shenanigans

April turned out to be an eventful, fruitful and an exceptionally busy month over here at 16-BIT Shock HQ. Unfortunately all that activity didn’t translate to regular blog updates which isn’t something I’m particularly happy about. Ideally I would love to post an article at least once a week but that’s not possible with my current work schedule. Nevertheless, I do plan to post on more regular intervals in the coming months.

The increase in workload over April was due to fine-tuning and tweaking of existing game projects. Some further fine-tuning was also applied to the current business model. In order to deal with a shifting gaming landscape, some changes were necessary in how future projects are to be executed. PC & mobile game development are two entirely different beasts and require their own unique approach.

Another area I spent considerable time on is sharpening my physics GML scripting skills. While GML shares a lot of similarities with Java and even C++, it does have it’s unique quirks which can be both funny and frustrating. Generally I only foresee limited use of some of the physics code I put together. Mainly for craft and character movement as that’s what it’s most suited for.

80s,80's,90s,90's,sega,Sega,SEGA,16,bit,Bit,BIT,-bit,-Bit,-BIT,eighties,Eighties,EIGHTIES,arcade,Arcade,ARCADE,arcades,Arcades,ARCADES,mega,Mega,MEGA,drive,Drive,DRIVE,genesis,Genesis,GENESIS,saturn,Saturn,SATURN,galaxy,Galaxy,GALAXY,force,Force,FORCE,2,ii,II,8,retro,Retro,RETRO,game,Game,GAME,gaming,Gaming,GAMING
Sega’s Galaxy Force II showcased impressive 2D scaling

I even got round to using GM Studio’s 3D features, quite a change for a 2D game developer. Surprisingly it seemed a lot easier to implement a 3D environment than I expected it to be. There are no plans to develop any 3D games but if I ever decided to move in this direction, I would love to make something similar to Namco’s Cyber Sled or Sega’s Virtual On. However I’ve been experimenting a bit with pseudo-3D – the type of 3D that consists of scalable 2D bitmaps ala After Burner, Out Run, Galaxy Force, Space Harrier etc.

Now this is far more challenging than I expected but I finally got some neat results. There is quite a bit of math involved and precision is mandatory. Any scalable bitmap that is 1 – 2 pixels out of place will seriously mess up proceedings. It’s evident why this type of 3D fakery fell out of favour and 3D polygons were readily adopted back in the mid-90’s. Far from a practical way to depict a 3D world effectively, but nonetheless it’s cool to see again – and quite the nostalgia trip.

This technique will find it’s way in some of my game projects, simply because it’s interesting and not commonly used nowadays. One of the games I’m currently busy on, comprises of scalable 2D but in a subtle manner. It will also be a title that is drenched in 80’s aesthetics to the hilt – I wouldn’t have it any other way 🙂

Advertisements

In Praise Of Zilog’s Z80 Microprocessor

zilog,Zilog,ZILOG,z,Z,z80,Z80,z 80,Z 80,z-80,Z-80,80,80s,80's,80S,80'S,eighties,Eighties,EIGHTIES,z80A,Z80A,z80B,Z80B,cpu,Cpu,CPU,micro,Micro,MICRO,processor,Processor,PROCESSOR,computer,Computer,COMPUTER,msx,Msx,MSX,2,2+,turboR,turbo R,turbo r,turbo,Turbo,TURBO,records,Records,RECORDS,intel,Intel,INTEL,8080,arm,Arm,ARM,risc,Risc,RISC,cisc,Cisc,CISC,sharp,Sharp,SHARP,X1,X1 twin,X1 turbo Z,sinclair,Sinclair,SINCLAIR,zx,Zx,ZX,80,81,spectrum,Spectrum,SPECTRUM,48,128,+,+1,+2,+3,48K,128K,ram,Ram,RAM,rom,Rom,ROM,accumulator,Accumulator,ACCUMULATOR,register,Register,REGISTERS,zeus,Zeus,ZEUS,zaus,Zaus,ZAUS,assembly,Assembly,ASSEMBLY,assembler,Assembler,ASSEMBLER,.asm,.Asm,.ASM,machine,Machine,MACHINE,code,Code,CODE,mos,Mos,MOS,6502,8502,commodore,Commodore,COMMODORE,radio,Radio,RADIO,shack,Shack,SHACK,tandy,Tandy,TANDY,trs-80,Trs-80,TRS-80,trs 80,Trs 80,TRS 80,snk,Snk,SNK,triple,Triple,TRIPLE,arcade,Arcade,ARCADE,arcades,Arcades,ARCADES,board,Board,BOARD,boards,Boards,BOARDS,motherboard,Motherboard,MOTHERBOARD,sega,Sega,SEGA,sg-1000,SG-1000,sc 3000,SC 3000,SC-3000,game,Game,GAME,games,Games,GAMES,gear,Gear,GEAR,gears,Gears,GEARS,nec,Nec,NEC,pc,Pc,PC,PC-6000,PC-6001,PC6601,PC-8000,PC-8001,amstrad,Amstrad,AMSTRAD,cpc,Cpc,CPC,464,664,6128,464plus,6128plus,plus,Plus,PLUS,8bit,8-bit,8 bit,8BIT,8-BIT,8 BIT,16bit,16 bit,16-bit,16BIT,16-BIT,16 BIT,mega,Mega,MEGA,drive,Drive,DRIVE,master,Master,MASTER,system,System,SYSTEM,coleco,Coleco,COLECO,vision,Vision,VISION,ColecoVision,colecovision,Colecovision,COLECOVISION,nintendo,Nintendo,NINTENDO,gameboy,Gameboy,GAMEBOY,boy,Boy,BOY,color,Color,COLOR,pocket,Pocket,POCKET,neo,Neo,NEO,geo,Geo,GEO,neo geo,Neo Geo,NEO GEO,neogeo,Neogeo,NeoGeo,NEOGEO,playmore,Playmore,PLAYMORE,
The choice of the 8-bit generation!

Video games are an electronic medium and quite naturally require some form of computer hardware to run on. The CPU (central processing unit or processor if you prefer) has always played a vital part in the creation and execution of game code. Without this important component, video games would simply not exist. After all the processor is essentially the brain of a computer system…basic stuff!

And just as human brains can vary in intellectual capacity, various makes and models of microprocessors offer different performance capabilities. For game related tasks, the GPU (graphics processing unit) plays an even greater role within the modern game development paradigm. However, this article is not about development techniques and how they are to be applied to modern hardware. Rather, we will look at a specific microprocessor which played a leading role in defining gaming during it’s early stages.

Two prominent periods of gaming are the 8-bit and 16-bit eras, and quite frankly of greatest import. As shiny as our games are, and powerful as our hardware is nowadays – none of this would exist without the groundwork laid down during those halcyon days. And both those eras brought forward to amazing microprocessors that truly revolutionized gaming, namely the Zilog Z80 and the Motorola 68000.

zilog,Zilog,ZILOG,z,Z,z80,Z80,z 80,Z 80,z-80,Z-80,80,80s,80's,80S,80'S,eighties,Eighties,EIGHTIES,z80A,Z80A,z80B,Z80B,cpu,Cpu,CPU,micro,Micro,MICRO,processor,Processor,PROCESSOR,computer,Computer,COMPUTER,msx,Msx,MSX,2,2+,turboR,turbo R,turbo r,turbo,Turbo,TURBO,records,Records,RECORDS,intel,Intel,INTEL,8080,arm,Arm,ARM,risc,Risc,RISC,cisc,Cisc,CISC,sharp,Sharp,SHARP,X1,X1 twin,X1 turbo Z,sinclair,Sinclair,SINCLAIR,zx,Zx,ZX,80,81,spectrum,Spectrum,SPECTRUM,48,128,+,+1,+2,+3,48K,128K,ram,Ram,RAM,rom,Rom,ROM,accumulator,Accumulator,ACCUMULATOR,register,Register,REGISTERS,zeus,Zeus,ZEUS,zaus,Zaus,ZAUS,assembly,Assembly,ASSEMBLY,assembler,Assembler,ASSEMBLER,.asm,.Asm,.ASM,machine,Machine,MACHINE,code,Code,CODE,mos,Mos,MOS,6502,8502,commodore,Commodore,COMMODORE,radio,Radio,RADIO,shack,Shack,SHACK,tandy,Tandy,TANDY,trs-80,Trs-80,TRS-80,trs 80,Trs 80,TRS 80,snk,Snk,SNK,triple,Triple,TRIPLE,arcade,Arcade,ARCADE,arcades,Arcades,ARCADES,board,Board,BOARD,boards,Boards,BOARDS,motherboard,Motherboard,MOTHERBOARD,sega,Sega,SEGA,sg-1000,SG-1000,sc 3000,SC 3000,SC-3000,game,Game,GAME,games,Games,GAMES,gear,Gear,GEAR,gears,Gears,GEARS,nec,Nec,NEC,pc,Pc,PC,PC-6000,PC-6001,PC6601,PC-8000,PC-8001,amstrad,Amstrad,AMSTRAD,cpc,Cpc,CPC,464,664,6128,464plus,6128plus,plus,Plus,PLUS,8bit,8-bit,8 bit,8BIT,8-BIT,8 BIT,16bit,16 bit,16-bit,16BIT,16-BIT,16 BIT,mega,Mega,MEGA,drive,Drive,DRIVE,master,Master,MASTER,system,System,SYSTEM,coleco,Coleco,COLECO,vision,Vision,VISION,ColecoVision,colecovision,Colecovision,COLECOVISION,nintendo,Nintendo,NINTENDO,gameboy,Gameboy,GAMEBOY,boy,Boy,BOY,color,Color,COLOR,pocket,Pocket,POCKET,neo,Neo,NEO,geo,Geo,GEO,neo geo,Neo Geo,NEO GEO,neogeo,Neogeo,NeoGeo,NEOGEO,playmore,Playmore,PLAYMORE,
The Z80 is one of the most important microprocessors in gaming history

Zilog’s Z80 truly helped to kick start affordable home computing and arcade gaming from the late 70’s onward. The Z80 is an 8-bit processor, which is closely based on Intel’s earlier 8080 CPU. Due to it’s performance and versatility, it was adopted by a large variety of computer and arcade amusement vendors. Either Zilog’s original CPU, clones or variants of the Z80 architecture was incorporated into motherboards worldwide. Everyone from Sinclair Research right through to Sega made use of this mighty little chip, benefiting gaming inexplicably.

Some will argue in favour of a rival 8-bit microprocessor, namely the 6502 by MOS Technology. Also very popular and widely used, particularly in the home computer market but also made in-roads in the arcades thanks to Atari. However, the true acid test of which 8-bit processor was better, rests with the greater adoption enjoyed by the Z80, especially among Japanese arcade manufacturers. From Namco’s Galaxian through to Irem’s M52 system boards, the Z80 was the CPU of choice.

None can downplay the wide adoption of the Z80 when considering it brain-powered the following systems:

  • Sinclair ZX80 & ZX81
  • Sinclair ZX Spectrum 16K / 48K / + / 128K / +2 / +3
  • Amstrad / Schneider CPC464 / 464plus / CPC664 / CPC6128 / 6128plus
  • Amstrad GX4000
  • Cambridge Z88
  • SAM Coupé
  • Tandy / Radio Shack TRS-80 series
  • Coleco’s – ColecoVision
  • Commodore 128 (includes both a Zilog Z80A & MOS 8602)
  • NEC PC-6001 / mkII / mkIISR (using NEC’s μPD780C – a Z80 compatible CPU)
  • NEC PC-6601
  • NEC PC-8000 series
  • NEC PC-8801 (a wide range of models manufactured between 1981 – 1989)
  • MSX 2 / 2+ / turboR
  • Sharp MZ-80K series / MZ-80B series / MZ-3500 series
  • Sharp X1 / X1 turbo / X1 turbo Z / X1 twin 
  • Sony SMC-70
  • Sega SG-1000 / SG-1000 II / SC-3000 / Mark III / Master System
  • Sega Game Gear
  • Sega Mega Drive / Genesis (includes both a Motorola 68000 & Zilog Z80)
  • SNK Neo Geo (includes both a Motorola 68000 & Zilog Z80)
  • SNK Neo Geo Pocket / Color (includes both a TOSHIBA TLCS-900H & Z80)
  • Nintendo Game Boy / Color (Sharp LR35902 – a custom Z80 CPU)

The above list is only a small segment of computer and console systems that the trusty Z80 found itself in. Arcade manufacturers in particular, truly took advantage of this versatile processor in numerous ways. Initially arcade boards would only be designed with a singular Z80 CPU in place. But as games were becoming more complex, some added processing grunt was required. Since the Z80 was affordable and developers already accustomed to coding games for it, a very common solution was to add a secondary Z80 to increase the board’s horsepower.

SNK (Shin Nihon Kikaku Corporation) were always partial to manufacturing some fantastically exotic boards. During the mid-80’s they came up with the SNK Triple Z80 arcade board, and as the name suggests – boasts three Zilog Z80’s working in tandem. Two Z80’s were allocated to handle main CPU duties, while the third was specifically for sound CPU tasks. The games that ran on this board naturally surpassed the audio and visual fidelity of many of it’s counterparts. Resulting in games that had a look, feel and sound closer to the 16-bit standard.

My personal experiences with the Z80 were both positive and enjoyable, owning a ZX Spectrum played a big part in this. I learned to program on it, firstly in BASIC and then later on in machine code – wasn’t easy but I got the nitty-gritty. Later on I got hold of Zeus Assembler which made programming in assembly far more palatable to machine code.

Generally it didn’t take long to get accustomed to how the accumulator and various registers within the Z80 work together. The architecture is simple and elegant enough, not hard to figure out why it was so readily adopted. Not bad for a microprocessor that was originally intended for cash registers, instead of computers, consoles and arcade machines.

Top 10 Articles Of 2014

We’re almost a fortnight into 2015 and I hope it’s been going great for everyone. Here at 16-BIT Shock HQ, things are moving along at a brisk pace. Work on game projects resumed early last week, after a short holiday break.

top,Top,TOP,10,ten,Ten,TEN,8,16,16bit,16Bit,16BIT,16 bit,16 Bit,16 BIT,16-bit,16-Bit,16-BIT,blog,blogs,blogging,Blog,BLOG,Blogs,BLOGS,article,articles,Article,Articles,sprite,sprites,Sprite,Sprites,animation,Animation,onionskinning,onion skinning,skinning,Skinning,japan,Japan,japanese,Japanese,Nippon,ARTS,ART,art,2d,2D,D,d,bitmap,bitmaps,Bitmaps,bmp,*.bmp,.bmp,BMP,*.BMP,graphics,graphics,edit,editting,editing,editor,soft,software,package,program,suite,digital,Digital,amiga,Amiga,AMIGA,Commodore,commodore,COMMODORE,64,C64,ibm,IBM,Ibm,PC,DOS,pc,dos,Dos,MS,ms,MS-Dos,MS-DOS,ms-dos,ms dos,80s,80's,90s,90's,8bit,8-bit,16bit,16-bit,24,24-bit,24 bit,color,colour,256,colors,colours,vga,VGA,video,Video,painting,draw,drawing,pixel,pixels,pixelate,pixellate,pixellated,pixelated,line,lines,dot,dots,matrix,low,hi,high,resolution,bit,rate,depth,page,pages,Project,project,PROJECT,Projects,projects,PROJECTS,indie,dev,indiedev,IndieDev,GameDev,artist,artists,ARTIST,ARTISTS,manga,anime,studio

Before moving on with fresh content for the new year, let’s take this opportunity for a brief recap of top posts on this blog. Several articles proved to be quite popular with readers and it would be great to showcase them again. Particularly for those who discovered this blog, only recently. The following list features a quick rundown of those posts truly, resonating with folks during 2014, and my personal viewpoint of why that is the case.

Just click on the relative heading and you will be taken directly to the article:

  1. Tools Of The Trade – GameMaker : Studio – Certainly the most read article on this site by a large margin, and quite understandably so. With the explosion of indie game development in recent years, everyone is looking around for the best ways to make games. This article gives a brief overview of one of the most popular game engines in existence today.
  2. Project MSG – Early Development – The game project I’ve been working on and has fortunately excited a few people. It’s a 2D retro-style shooting game with a top-down view perspective set within a cyberpunk universe. Many folks loved the logo and the pixel-art style, and in turn generated some interesting conversation between us. I appreciate all the input I’ve received and will be sharing more about this project in the near future.
  3. Developing For Vintage Hardware – It’s a no-brainer why this post struck a nerve, after all the number of retro gaming and computer aficionados keeps growing. Homebrew development is both intriguing and reinvigorating within the game development scene. Vintage consoles and computer systems, with their limited capabilities offer alternative, frankly more interesting roads for creative expression.
  4. Cybermanga – I’m a huge fan of anime & manga, particularly from the 80’s – 90’s. And it seems so are plenty of people visiting this site, even attracting significant traffic from Japan. The influence of these art forms play a big part in my own creative path and this post gives a brief overview.
  5. This Is For Retro Lovers – On the 2nd of June 2014, I wrote this blog’s very first post. Short, sweet and straight to the point – ultimately setting the general tone for future articles. Surprisingly it attracted a far larger audience than I was expecting, considering it was very early days for the blog.
  6. The 16-BIT Shock Design Philosophy – Probably one of the more important articles I’ve written here. The goal was to convey the direction that my game development projects were to take. Worth a read for recent visitors.
  7. Prototyping And Arcade Presentation – A fairly recent article, managing to gain far more traction than I was expecting. I covered an issue in games that I feel should gain more attention, and that’s the matter of how they are presented. Arcade games in particular are a great example of how this could be done.
  8. Anti-Establishment – Another one of those articles that had a significant impact with readers. Further reiterating key points from the 16-BIT Shock Design Philosophy article. Perhaps a tad more cheeky, but still attracting small trickles of traffic several months after it was published.
  9. Tools Of The Trade – GraphicsGale – At one point, pixel art seemed like it was a dying art form. Fortunately it has been rejuvenated recently with all the interest in retro and indie gaming. One of the better, if not the best pixel art editor is GraphicsGale. A personal favourite of mine which I go into more detail in this post.
  10. FM Synthesis & Video Games: Kick Drums & Toms – Last but not least, is this excellent article by Joe Giliver from Ocular Audio. Joe’s vast knowledge in music composition and FM synthesis is a great help in understanding what is substantially niche subject matter. Lately FM synthesis, is enjoying growing interest which is in line with the resurgence of retro gaming, computing and 80’s synthesizer music.

Plenty of reading there, great way to start the new year I would think. Future articles will tread similar ground for the most part. However, there will be a shift in focus around the periods when I’ll be releasing my game projects. Naturally there will be greater emphasis on these as should be expected.