Concept
Well, this challenge's work will be a bit dirty...Since I don't have much time, I want to keep the game as simple as possible, in order to have a game to present in the end.
It will be a shooter with some constraints that are determined by the ennemies, which are behind (almost) everything.
(log in to comment)
Comments
<thorpy.elements.box.Box object at 0x10bb05490>
('Loaded', 'MikeKoenig2.wav', 'bullet')
('Loaded', 'SoundExplorer2.wav', 'nuke')
('Loaded', 'MikeKoenig3b.wav', 'rocket')
('Loaded', 'MikeKoenig4.wav', 'laser')
('Loaded', 'ljudman2.wav', 'explosion')
[<ship.Rail instance at 0x114be1ea8>, <ship.Hero instance at 0x114be1e18>]
python(51503,0x7fffc161d3c0) malloc: *** error for object 0x7fd63cf83180: pointer being freed was not allocated"
I can't seem to get past this error even though I made the modifications to get it to run on python2.7.
YannThor on 2017/10/23 08:46:
Important note:The game was coded for Python3
Here are 3 lines to change to make it works with Python2.7:
Line23 of ./thorpy/gamestools/hud.py: change nfull = math.ceil(life*self.n) to nfull = int(math.ceil(life*self.n))
Lines 0 of ./hud.py and ./gamelogic.py: add the line: from __future__ import division