Jump to content
  • Advertisement
[[Template gallery/front/view/imageFrame is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Zlibtest

Norman Barrows
Sign in to follow this  
Zlib started as a generic entities list that implemented movement, AI, and rendering, and has evolved into an experimental testbed prototype (as in engineering prototype, not rapid prototype) "engine" or "framework" for any type of real time game using direct3d. Its primary purpose is to study various methods of game code organization, and explore the limits of how "generic" an "engine" can be. It currently can be used for any type of game that uses direct3d graphics and runs in real time.

The engine consists of one API call:

[code=auto:0] void Zmain(hInstance); [/code]

and about a dozen user implemented routines. everything else is soft coded (data driven). It also includes the following optional components: a camera object, a built-in fps meter, a ground drawing routine, and a skybox.

As well a containing the "engine", the Zlib library provides APIs for entity creation, destruction, movement, rotation, drawing, targeting, and AI.

The engine uses the Z3d game library for graphics, timers, etc.

here's what a program that uses Zlib looks like:

[code=auto:0] #include "zlib2.h" int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { nCmdShow=0; lpCmdLine=0; hPrevInstance=0; Zmain(hInstance); PostQuitMessage(0); return(0); } [/code]

Copyright

© Zlib "game engine" (C) 2013 Rockland Software Productions.
Sign in to follow this  
From the album:

Zlib

  • 1 image
  • 0 comments
  • 0 image comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!