Jump to content

  • Log In with Google      Sign In   
  • Create Account


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

Posts I've Made

In Topic: Beginner Python Game Issue

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. :)

In Topic: First Game - Feedback Please!

12 December 2012 - 06:56 PM

Just looking at your code, you tend to comment things that almost don't need it. While it's definitely better to be over commenting, you also tend to name variables and other things really well, so some of those comments seem redundant. That may just be my personal taste, but consider putting more relevant information in the comments instead of just repeating what's already said in the names you've given.

The last game I worked on I didn't comment at all, so I am still a bit of a "comment noob". But I see what you mean, I did put quite a few useless comments on there. Well, that and I had to do a presentation and explain this to the class, so some of those I put there on purpose. Posted Image If it was just for me to look at, I probably would have cut back a bit.

I kinda don't like this game, because I lost against the computer when I first played haha! Other than that, it seems really well done!

Well, I'm glad at least someone enjoyed the game! haha ;)

Thank you for the input!

In Topic: Beginner Python Game Issue

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

In Topic: First Game - Feedback Please!

12 December 2012 - 03:16 PM

Cool game. It looks pretty complete. Sound effects aren't too loud either, but I do wonder why it said I don't have a sound card.

Thank you! I thought the sfx were a bit loud, but I'm glad they weren't for you!
As for the sound card issue, I don't think I had that problem, and I am not sure what would cause that. =\

Here are my opinions:
1. the fps counter in the title is kind of distracting... perhaps add an event to toggle it to appear/disappear on the screen?
2. So many "from import"'s... I don't think it is best practice to have too many of those, but perhaps it's just me.
Other than those, I think everything is good. I didn't look too much into the code though.

1. Ahh yes, that is a good idea! I was so used to it being there I sort of forgot about it.
2. I wasn't too sure about this part either, I just didn't want to have one huge file. But I agree, all the imports are kind of annoying!

I would also say that the FPS counter is distracting,
and its annoying always to click continue after a ship sank,

But i think its done very well so far!

PS: in my oppinion its not a bad thing to have all those "from import"s, better to read than when putting it all in one file Posted Image

Yes, I will have to do something about the FPS counter. I will probably add a toggle in like ultramailman said.

I can see the clicking getting annoying. I might change it to do a short pause or was thinking of adding another pop up that will dissapear after a couple of seconds.

Thank you both for the feedback, I really appreciate it! :)

In Topic: c# static vs. non-static

26 March 2011 - 03:36 PM

Thanks for the replies guys.

If it's not going to make a big difference, I'll just stick with the way I'm doing it as it's working out just fine.