Work from Second Year University

 

This is the work that was carried out during my second year at university which includes these modules:

  • APIs in Game Engines
  • C++ for Games Programming
  • Graphical Programming
  • Programming for Visual Simulation

APIs in Game Engines

This project was to build a simple game using a growingly popular sdk called RenderWare from Criterion Software. Renderware is quite versatile as in it supports multiple platforms from the same written code base. RenderWare is quite complex at first to get grips with but once you have set out on the task you wish to do it can become straightforward.

The programming task here was to produce a popular arcade game called BreakOut using the RenderWare sdk.

 

The demo runs for one level.

Runable Executable: Breakout.zip

Breakout controls:

R to reset
Control to release
F1-F3 change difficulty
F flushes hi score table

Code Download: Breakoutsrc.zip

Note: To compile the source you will require a copy of renderware. An evaluation copy of the graphics part of this can be obtained from Criterion Software


C++ for Games Programming

The agenda of this module was to help teach skills that showed how to use C++ and DirectX. I found it the most valuble of all the modules I studied from this year.

The task for this was to create a simple DirectX game that demonstrated that you could use DirectX and C++ together. The game is a very simple idea, you have to navigate from one side of the screen to the other touching only the green cubes and avoiding everything else.

 

The demo runs for one level.

This demo was built with Version 8 of the DirectX SDK so it will probably not compile with the latest version of the sdk and I regret that I don't have an executable available for it. I have provided the code to download.

Code Download: CGP.zip


Graphical Programming

This was possible the most difficult subject to tackle of this year but I managed to overcome it. It was teaching the pure basics of exactly how to program a 3D Rendering system from scratch. It involves alot of planning and serious amount of 3D maths to be able to produce something.

The assignment was to produce a 3D image using a software written pipeline. Then you would go on to produce an animation.

This is the only project available on this website that is programmed using C and believe me this was not by choice.

Code Download: GPR.zip

 


Programming For Visual Simulation

Using the OpenGL you are asked to produce a graphical impressive visual simulation that involves some programmed techniques. Like animation and simulation. For example simulation of a particle system. This subject was quite interesting and pushed me a little bit over the top to explore new areas of programming that I possible was n't experienced enough by this point to look at. So I espically on this subject got distracted.

I was attempting to recreate the final scene from a favourite film of mine Star Trek II Wrath of Kahan. I was attempting to use a BSP loader to load a box that was suppose to be space around the starships but was not the best of choices. During the time I was interested in BSP files and was quite interested in how they worked. If was doing an indoor scene it would of been a good idea but since I was doing space it turned out not to be the best idea in the world. Then I attempted to hide the problems associated with this by appling fog to the scene. This did n't work out very well either.

 

 

This was built with OpenGL by using GLUT. It uses Fmod for sound this is included.

Code Download: PVS.zip