Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41245
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.013 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'argument': 0.04; 'arguments': 0.07; 'exception.': 0.07; 'width': 0.07; 'suggest': 0.11; 'centered': 0.16; 'side.': 0.16; 'subject:Pygame': 0.16; 'wrote:': 0.17; 'alex': 0.17; 'thu,': 0.17; 'header:In-Reply- To:1': 0.25; 'fit': 0.26; 'message-id:@mail.gmail.com': 0.27; 'subject:/': 0.28; 'changed.': 0.29; 'to:addr:python-list': 0.33; 'equal': 0.33; 'that,': 0.34; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; "won't": 0.35; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'method': 0.36; 'too': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'your': 0.60; '2013': 0.84; 'clamp': 0.84; 'to:name:python': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=fcGmUAt6/IHnB0FLLH9aPJicNy9cwNR6tcqDmvA8Wf0=; b=aMejDKgLQmHmJqy2K1hnnSKkZRl/F51caktMHaZZRyzxbxxYfvgAZrALmRsPlo6wvj XcUFydGJ4lkQ0PWVXsUeJEpA4qRg08+MesCcrIClY0fJdm5PXDgIiZpX5o0rK0mJkHel 5LhX6gP47fugUDxc7Iwlm2Cyjd/5U9FJjSjzHpG9Y87ZIzKqdwhA+Tt9DNmJN+Ze0VA4 ozSG+IeQN3jD+n0DmSWUz8NKoL7i2oiEdm0yeoWR3QgWQASDb7v8em43vFRDKD+xzWAM gJU+QYjq8AUQ+/bK9joCB4ec4FgFzvYK0oQoD7qU/T6msdseW4J29beYaZNCNGcK8WAn ijGA== |
| X-Received | by 10.220.150.74 with SMTP id x10mr2606751vcv.68.1363300320847; Thu, 14 Mar 2013 15:32:00 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <a12e33b7-414d-4207-8acd-f1f69b3d60a6@googlegroups.com> |
| References | <d6374016-8863-4e8b-9ec9-17a826ca2eee@googlegroups.com> <a12e33b7-414d-4207-8acd-f1f69b3d60a6@googlegroups.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Thu, 14 Mar 2013 16:31:20 -0600 |
| Subject | Re: Pygame mouse cursor load/unload |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3323.1363300329.2939.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1363300329 news.xs4all.nl 6913 [2001:888:2000:d::a6]:55884 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:41245 |
Show key headers only | View raw
On Thu, Mar 14, 2013 at 4:16 PM, Alex Gardner <agardner210@gmail.com> wrote:
> It's all working now with one exception. I just want to arrange the paddle to the right side. I managed to do just that, but it won't move freely vertically. I am not fully aware of the arguments of pygame.Rect().
I recommend you read the docs, then:
http://www.pygame.org/docs/ref/rect.html
In particular, the clamp method documentation states:
If the rectangle is too large to fit inside, it is centered
inside the argument Rect, but its size is not changed.
This is the case because your bounds_rect has width 0. I suggest
changing the width of the bounds_rect to be equal to the width of the
paddle.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-02 17:56 -0800
Re: Pygame mouse cursor load/unload Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-02 20:08 -0700
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-02 19:52 -0800
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-02 19:52 -0800
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-03 14:04 -0800
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-03 14:09 -0800
Re: Pygame mouse cursor load/unload Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-03 16:47 -0700
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-09 16:20 -0800
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-09 16:25 -0800
Re: Pygame mouse cursor load/unload Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-10 13:23 -0600
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-10 15:25 -0700
Re: Pygame mouse cursor load/unload Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-10 19:26 -0600
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-11 09:57 -0700
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-11 10:00 -0700
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-11 10:04 -0700
Re: Pygame mouse cursor load/unload Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-11 11:24 -0600
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-11 10:33 -0700
Re: Pygame mouse cursor load/unload Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-11 12:01 -0600
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-11 13:43 -0700
Re: Pygame mouse cursor load/unload MRAB <python@mrabarnett.plus.com> - 2013-03-11 20:54 +0000
Re: Pygame mouse cursor load/unload Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-11 15:23 -0600
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-12 16:33 -0700
Re: Pygame mouse cursor load/unload Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-12 21:00 -0600
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-14 15:16 -0700
Re: Pygame mouse cursor load/unload Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-14 16:31 -0600
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-14 15:56 -0700
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-18 13:24 -0700
Re: Pygame mouse cursor load/unload Alex Gardner <agardner210@gmail.com> - 2013-03-18 16:05 -0700
csiph-web