> So use raw wx key events. They include key down,up and press events.
I'll give this a shot. Thank you.
> Bloated carries the connotation of unnecessary code, but pygame provides
a lot of functionality. You may not need it all, and using pygame may
require you to import more than you need. But
Hello everyone,
I'm still hard at work on this boxing game; I know, I think it's taking
forever too. I've recently run into some trouble with my current keyboard
handler, and I'm hoping someone here might have a recommendation as to what
I could use to handle keyboard input for this and future proj
Hello everyone,
I am still learning to program by writing this boxing game. I'm running into
a problem with how to organize data. My current setup looks something like
this:
"""This feels incredibly disgusting to me."""
self.behaviors = {
'offensive_combos': {
'combo1': {
Hello everyone,
How can I make two copies of a dictionary that don't point to the same
location in memory? My plan is to generate d1 and make d2 a copy of d1.
After the user modifies d1 I want him/her to be able to return to the
initial dictionary (d2) values. I tried:
d1 = {values}
d2 = dict(d1)
t
Hello everyone,
I have been reading a lot of different articles recently, and I have
found a divergence of opinions on the viability of Python as a viable
language for high-end programs. At the same time, even sites that
recommend Python seem to recommend it as a good first language.
This email is
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Hi everyone,
I'm designing a timeline. When the user presses the right arrow, 0.1 is
added to the current position. The user can add events to the timeline, and
can later scroll back across those events to see what they are. But
something I absolutely don't understand is happening:
I used the progr
Hello everyone,
I had an interesting thing come up earlier in my programming, and I'm trying
to wrap my mind around why it occurred.
I wanted to take two dictionaries with the same keys and combine their
values to make one, big super dictionary.
def combine(d1, d2):
for key in d1:
if
> I've read your code. Frankly I don't understand your problem. I also don't
see any occurrence of "health".
There isn't a reference to health here. My goal is to have this code act as
a checker for health, fatigue, time_remaining, or any other sort of
statistic you'd like to throw into it. My prob
Hi list,
I am in the midst of trying to code a game based entirely on audio cues, and
I've run into a bit of a snag when trying to monitor certain variables. I'll
lay out the framework of what I'm going for in the hope that it makes sense
when written down.
In a standard video game I could have a
Hello everyone,
I'm a first-time poster and--in fact--first time programmer, so a lot of
this is new to me. I hope to learn a lot about programming from this list,
and I hope you all won't be shy about such feedback as "you're top-posting
again, silly newbie."
I am currently in the midst of produ
11 matches
Mail list logo