On 7/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> "Giuliano Vilela" <[EMAIL PROTECTED]> wrote:
>> - Blur: How can I make a particle like, leave a trail or so? Not a big
>> trail, something that makes it look like it's blurring the background.
Another way to leave a trail would be to ke
I think that's what I meant. The goal here was to make a game run in
fullscreen with the same width and height as the original resolution. That
way my program http://www.pygame.org/projects/9/453/?release_id=772 would be
unnecessary. I've seen some games do that. (selecting resolution
automati
"Rikard Bosnjakovic" <[EMAIL PROTECTED]> wrote:
> On 11/07/07, Ian Mallett <[EMAIL PROTECTED]> wrote:
>
>> I'd like to know how to get the current view settings.
>
> http://www.pygame.org/docs/ref/display.html
I hesitate to put words in his mouth, but I think when he says "current
view", what he w
On 11/07/07, Ian Mallett <[EMAIL PROTECTED]> wrote:
I'd like to know how to get the current view settings.
http://www.pygame.org/docs/ref/display.html
--
- Rikard - http://bos.hack.org/cv/
> "Giuliano Vilela" <[EMAIL PROTECTED]> wrote:
>> - Blur: How can I make a particle like, leave a trail or so? Not a big
>> trail, something that makes it look like it's blurring the background.
Another way to leave a trail would be to keep track of a sprite's last
several positions, and blit tran
I found a better way than I'd done before to switch between the various
states of a game, such as a main gameplay screen and a status screen.
Attached is some example code. Something for the Cookbook, maybe?#!/usr/bin/python
## (A line needed for proper operation on Linux systems.)
"""
State Machi
On Monday 16 July 2007 02:05:43 pm Matthew Marshall wrote:
> I'll also throw in a mention of my own project, Rabbyt
> (http://matthewmarshall.org/projects/rabbyt/) Like Simon's GFX, it's done
> in Pyrex for speed. (The two libraries can actually be used simultaneously
> without problems.)
>
> Her
Giuliano Vilela wrote:
I read the part about the additive blending. Interesting idea, the sum
of all the values of colors in the region would indeed converge to
white sometimes... Guess I'll have to use the surfarray module.
You might want to look at Ping Ball (http://www.pingball.com/) for s
I read the part about the additive blending. Interesting idea, the sum of
all the values of colors in the region would indeed converge to white
sometimes... Guess I'll have to use the surfarray module.
On 7/16/07, Dave LeCompte (really) <[EMAIL PROTECTED]> wrote:
"Giuliano Vilela" <[EMAIL PRO
"Giuliano Vilela" <[EMAIL PROTECTED]> wrote:
> - Glow: I wanna have a system where, when a bunch of particles are really
> close, they area goes all bright glowing.
The basic idea you want to look into here is a technique called "additive
blending". This paper might give you some ideas as to what
I'll also throw in a mention of my own project, Rabbyt
(http://matthewmarshall.org/projects/rabbyt/) Like Simon's GFX, it's done in
Pyrex for speed. (The two libraries can actually be used simultaneously
without problems.)
Here's a port of Simon's "dumb" example (quick, untested):
import pyg
Hey you all =)
While I was learning how to make a very simple particle system, came across
this article http://www.scriptedfun.com/particle-effects-for-games/ and was
able to do it in no time. It is all good so far, but I was wondering how to
make some coller effects like:
- Glow: I wanna have a
On Mon, 16 Jul 2007, Luke Paireepinart wrote:
> I was confused as to how you were flipping an integer... 2s complement? :D
I was just being rude :)
Richard
Richard Jones wrote:
[snip other stuff not relevant to me teasing Richard]
But fundamentally, GFX* is just using a GL context, and pygame and pyglet both
provide one of
those.
Quick, untested translation of Simon's example to pyglet:
1 from pyglet import window, image
2 from gfx import gl
Simon Wittber <[EMAIL PROTECTED]> wrote:
> If you're after brain dead simple 2D OpenGL functions only, try gfx.gl
> in the GFX package. (http://cheeseshop.python.org/pypi/GFX).
Yep, and pyglet is intended to provide windowing, input, music, sound, video,
etc. It has some "extensions" already that
15 matches
Mail list logo