Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


xSharp

Member Since 04 Oct 2010
Offline Last Active Jan 13 2013 04:24 PM

#5010042 Beginner Python Game Issue

Posted by xSharp on 12 December 2012 - 07:57 PM

Are you serious?! Wow. Thank you. Thank you. Thank you.

Something so simple....
Side question. I'm using Notepad++ to compose code. Is there any suggestions to another program that may help with error correction?


No problem.

As far as programs go, you could try going the IDE route. Visual Studio with python tools or eclipse with the python plugin are a couple of options. They might help you out a bit, but probably not significantly.

I tried Visual Studio and python tools before, but switched to sublime text 2 because sublime just seems so lighweight. Visual Studio really didn't seem to help me that much when looking for errors. Also, most of the time, I was looking at runtime errors from the program output.

I think you'd be fine with just a text editor like notepad++ (or Sublime Text 2, which I recommend), and you'll learn to spot these things as you go along.

Good luck. :)


#5010026 Beginner Python Game Issue

Posted by xSharp on 12 December 2012 - 06:44 PM

Just from quickly glancing at it i see this...

screen = display.set_mode ((640,480)

Looks like you're missing the last ")" on that line, which would probably cause the error.

Hope that helps! Posted Image


PARTNERS