After some good sleep...

I realized there were some leftovers from the "skellington" files. Like some lines with "Your Game Title" still there. I fixed that kind of things in the in the last submission.

I confess I did one one minor change to the code... I commented out a couple of places where the program was creating some images used for debugging. Getting rid of that doesn't change the game at all.

Also, I defused the tarbomb that the previous submission was. Sorry about that.

Finally, I uploaded the game to GitHub, where I'll make any further corrections/changes:

https://github.com/Gato-X/NotYourData

(log in to comment)

Comments

I'm struggling to get it to work on python3, OSX

Pauls-Mac-mini:NotYourData paul$ python run_game.py 
ARB version
Window: Actual color bits r8 g8 b8 a8
Window: Actual depth bits: 16
Window: Actual stencil bits: 0
Window: Actual multisampling samples: 0
Running...
[[ 1.  0.  0.  0.]
 [ 0.  1.  0.  0.]
 [ 0.  0.  1.  0.]
 [ 0.  0.  0.  1.]]
[[ 1.29903805  0.          0.          0.        ]
 [ 0.          1.73205078  0.          0.        ]
 [ 0.          0.         -1.002002   -1.001001  ]
 [ 0.          0.         -1.          0.        ]]
Traceback (most recent call last):
  File "run_game.py", line 3, in 
    gameowfication.__main__.main()
  File "/Users/paul/Desktop/pyweek20/NotYourData/gameowfication/__main__.py", line 72, in main
    scene.init()
  File "/Users/paul/Desktop/pyweek20/NotYourData/gameowfication/mainscene.py", line 69, in init
    self._sprites = SpriteManager()
  File "/Users/paul/Desktop/pyweek20/NotYourData/gameowfication/sprites.py", line 104, in __init__
    self.initBuffers()
  File "/Users/paul/Desktop/pyweek20/NotYourData/gameowfication/sprites.py", line 112, in initBuffers
    self._shader = R.getShaderProgram("sprites")
  File "/Users/paul/Desktop/pyweek20/NotYourData/gameowfication/resources.py", line 68, in memo
    result = func(*args, **kwargs)
  File "/Users/paul/Desktop/pyweek20/NotYourData/gameowfication/resources.py", line 126, in getShaderProgram
    vs = loadShader(name+"_v.shdr")
  File "/Users/paul/Desktop/pyweek20/NotYourData/gameowfication/resources.py", line 115, in loadShader
    shdr = glt.compileShader(openResource(filename,"rt").read(), "VERTEX")
  File "/Users/paul/Desktop/pyweek20/NotYourData/gameowfication/gltools.py", line 145, in compileShader
    raise RuntimeError(glGetShaderInfoLog(shader))
RuntimeError: ERROR: 0:1: '' :  version '130' is not supported

Any ideas?

Sorry, I meant python2.7.6!