December 28, 2024, 07:52:42 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Wondering where all the forums have gone?

Join the community Discord server!

Pages: 1 ... 46 47 [48] 49 50 ... 77

Author Topic: Official PyGG2 Development thread  (Read 161754 times)

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #705 on: May 02, 2012, 05:19:13 pm »

is pyglet actually written in something other than python
Pygame is largely C modules, I believe. It's a wrapper for SDL

Pyglet is a thinly-wrapped OpenGL wrapper
PyOpenGL is the same except without the nice bits Pyglet has like the sprite stuff (pygrafix has a similar API to Pyglet)
Logged

NAGN

  • Developer
  • ******
  • Karma: 146
  • Offline Offline
  • Posts: 16150
  • Yeah so now I have an idea
Re: Official PyGG2 Development thread
« Reply #706 on: May 02, 2012, 05:20:31 pm »

then why is pygame so slow if its a straight up wrapper for sdl
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #707 on: May 02, 2012, 05:22:46 pm »

then why is pygame so slow if its a straight up wrapper for sdl
Pygame isn't super slow. It's just as slow as Game Maker, which isn't too bad.

The reason it's "slow" compared to Pygrafix is that many of the transformations [in Pygame] are done in software and then pushed to the screen with hardware-accelerated 2D, whilst Pygrafix uses hardware-accelerated 3D to apply transformations and push them to the screen.
Logged

Nukleus

  • Guest
Re: Official PyGG2 Development thread
« Reply #708 on: May 02, 2012, 05:24:44 pm »

It's not that bad, honestly
The switch to pygrafix already slowed down development a lot
Also I'll be able to help now hopefully.
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #709 on: May 02, 2012, 05:27:04 pm »

It's not that bad, honestly
The switch to pygrafix already slowed down development a lot
Also I'll be able to help now hopefully.
We won't have to switch again, btw. When I said drop-in replacement, I meant it. The code runs fine in both my [currently very slow] replacement which uses Pygame, and with actual pygrafix.
Logged

NAGN

  • Developer
  • ******
  • Karma: 146
  • Offline Offline
  • Posts: 16150
  • Yeah so now I have an idea
Re: Official PyGG2 Development thread
« Reply #710 on: May 02, 2012, 05:29:29 pm »

Do any of you know any decent platforming games using pygame? I want to get a feel as to what non hardware-accellerated transformations will mean
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #711 on: May 02, 2012, 05:31:27 pm »

Do any of you know any decent platforming games using pygame? I want to get a feel as to what non hardware-accellerated transformations will mean
NAGN lemme send you 2pygrafix (my name for my pygrafix replacement)

Then you can see what the speed goes to. I think it could be improved though.
Logged

Nukleus

  • Guest
Re: Official PyGG2 Development thread
« Reply #712 on: May 02, 2012, 05:33:02 pm »

I dunno, but pygame's not as slow as people think. Civ IV's add ons and expansions were all in Pygame
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #713 on: May 02, 2012, 05:33:17 pm »

OK here it is. put it in pygg2 folder except rename it to pygrafix

And make sure you have pygame

https://ajf.me/stuff/gg2/2pygrafix.zip
Logged

NAGN

  • Developer
  • ******
  • Karma: 146
  • Offline Offline
  • Posts: 16150
  • Yeah so now I have an idea
Re: Official PyGG2 Development thread
« Reply #714 on: May 02, 2012, 06:35:18 pm »

well...

it runs like shit, but I guess I expected that
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #715 on: May 02, 2012, 06:41:36 pm »

well...

it runs like shit, but I guess I expected that
...yeah. I'll find a way to make it run faster. Maybe.
Logged

Footpöp

  • Seasoned Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 3829
  • I /saw/ him
Re: Official PyGG2 Development thread
« Reply #716 on: May 02, 2012, 11:35:45 pm »

vanilla gg2 developent has halted because...

1. it was already sort of slow and dead to begin with since release for many months, the most recent update was when we fixed the rocketman jumping bug, but that hasn't actually been released for some reason
2. half of the developers aren't actually working due to having a job, or doing something
3. any remaining developers have moved to pygg2 for the time being
4. all of those developers are either on study leave, on vacation, has their computer taken away, or wareya
5. GG2 is "done" as far as the "original" idea goes, everything is implemented except heavy jetpacks
Logged
Team /ABC/

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: Official PyGG2 Development thread
« Reply #717 on: May 03, 2012, 04:11:42 am »

Oh god. I go for a short hiatus, and when I come back...
 :panic:


Alright.
1. Is Pygame fast enough for PyGG2?
2. If not, are we capable of managing pygrafix/creating something new without NC?
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #718 on: May 03, 2012, 05:57:24 am »

Oh god. I go for a short hiatus, and when I come back...
 :panic:


Alright.
1. Is Pygame fast enough for PyGG2?
2. If not, are we capable of managing pygrafix/creating something new without NC?
1. probably not
2. pyglet is certainly an option.
Logged

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: Official PyGG2 Development thread
« Reply #719 on: May 03, 2012, 10:19:27 am »

Oh god. I go for a short hiatus, and when I come back...
 :panic:


Alright.
1. Is Pygame fast enough for PyGG2?
2. If not, are we capable of managing pygrafix/creating something new without NC?
1. probably not
2. pyglet is certainly an option.
1. Ok
2. I meant, can we/do we want to start pygrafix-v2?

And we shouldn't be discussing this here, but in Skype, it's easier to explain and argue. I also want the other' opinions.
Logged
Pages: 1 ... 46 47 [48] 49 50 ... 77
 

Page created in 0.026 seconds with 36 queries.