A simple textured cube for PlayStation Mobile

  This page contains the resources required to make this simple textured cube.  The MDX file contains the initial texture, and a second “neon-ized” version of the texture is included.  Add both the mdx file, and the image to your project and configure their build action to content:   The texture model with its normal […]

Game From Scratch C++ Edition Part 8

      A bit of a warning upfront, almost all of this entire part is going to be throw away code.  At the same time as I release 8 I am going to release part 9 that implements a much more proper version.  Do not take from this chapter anything as good working form […]

Game From Scratch C++ Edition Part 7

      Ok, I admit outright, this part was a long time in releasing and I apologize for that.  A big part of the reason for the delay is in my first few drafts I attempted to teach the mathematics behind this chapter, which I initially believe would be a minor task., I was […]

Game From Scratch C++ Edition Part 6

    In this chapter we really get a move on, literally.  Bad puns aside, we are going to add keyboard controls to our PlayerPaddle, as well as create the game ball class.  In order to add input to our PlayerPaddle ( and other game objects ) we need to make some changes to our […]

Game From Scratch C++ Edition Part 5

    This section is going to be a bit of overkill for a simple pong game, but in a game of any greater complexity this is a task you are going to encounter eventually.  You see, until now we have just been declaring all the various bits and bobs ( really technical term there […]

Game From Scratch C++ and SFML Edition!

  Want to create a game using C++ and SFML?  This is the perfect place to start! This tutorial series will follow the creation of a simple game in C++ from the very beginning till the end, a micro-version of the overall purpose of this site.  C++ is an evolving language standard and a great […]

Game From Scratch C++ Edition Part 4

  In this section we are going to accomplish one very small task.  We are going to get this sprite:     to draw on the screen ( Click here to download paddle.png ).  In the process we are going to look a little deeper into object oriented programming, specifically inheritance, where you will see […]

Game From Scratch C++ Edition Part 3

    So, now we have a functioning game loop and a screen to draw on, lets add some more functionality.  This time we are going to add a menu and a welcome splash screen.  We are going to take a consistent approach in that all “screens” are in charge of handling their own input. […]

Game from Scratch C++ Edition Part 2

    Alright, code time! In this part we are going to setup the general framework for our application. Pang! is going to be state driven, which means at any given time the game is in exactly one state. It is by changing states that we control program flow. It also makes certain tasks like […]

Scroll to Top