Okay, here it goes! I thought I'd start off and see where it takes us. This is my first ever python program, and the first ever game I've written from scratch without using a game making engine like Greenfoot or Scratch. Although I suppose pygame - which this is using - can be counted among that number.
Doesn't do much at the moment, literately just draws a singe platform on the screen but it's a start!
The formatting of the code portrays my procedural programming origins (mostly Pascal), in fact I'm finding Python to be very similar to the more advanced BASIC's or Turbo Pascal.
Having played I'm a little more happy that Python is capable of doing what we want, but it definitely feels like the wrong language to be using. It's an interpreted/scripting language not a gaming language.
clock = None
gameExit = None
screen = None
#Open Game Screen
size = (640,480)
screen = pygame.display.set_mode(size)
pygame.display.set_caption("Side Scrolling Platform Game")
clock = pygame.time.Clock()
for event in pygame.event.get():
if event.type == pygame.QUIT:
gameExit = 1
black = (0,0,0)
white = (255,255,255)
gameExit = 0
while gameExit < 1:
#frames per second