Cross Platform Development

My final project was to make a cross platform demo that would work for both the PSP and PC.

As the idea was to encapsulate and share as much code as possible, I decided it would be appropriate to split each component of the program (i.e. the initialisation manager, the cube data, and the brains of the application) into three separate classes.

  •   A base class, which would have all non platform specific information which could be shared
  •  A class for the PC, which would inherit from the base, and include all DirectX specific code
  •   A class for the PSP, which would inherit from the base, and include all PSP specific code.

I also used ifdefs in shared classes, to know what to include at compile time.

Below are the results of what I managed to accomplish. 

PSP Demo

DirectX Demo



About Me

I am a final year student at the University of Derby, and am using this blog to show how I progress through the course.

I Follow