May 19, 2024, 07:42:23 pm

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 ... 47 48 [49] 50 51 ... 77

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

Port

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 82
    • portify.github.io
Re: Official PyGG2 Development thread
« Reply #720 on: May 03, 2012, 01:41:19 pm »

pygrafix for hardest to install python library 2012
Logged
portify@neko.im

NAGN

  • Developer
  • ******
  • Karma: 146
  • Offline Offline
  • Posts: 16150
  • Yeah so now I have an idea
Re: Official PyGG2 Development thread
« Reply #721 on: May 03, 2012, 01:50:42 pm »

pyglet is slower than pygame though, ctypes hurts it, I think
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #722 on: May 03, 2012, 01:50:49 pm »

pygrafix for hardest to install python library 2012
wat

There's a Windows version. Extract it to the right folder and done
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #723 on: May 03, 2012, 01:51:11 pm »

pyglet is slower than pygame though, ctypes hurts it, I think
>ctypes
>slow

pfffffffffffffffffffft ahahahahahaahahahahahajowhdas]s;qwa'#qwa;'as;.'#a;.'#as#sa./'#/asd.';asd,.;sld;a.,;ad.';.as;'d,.';as.d';.asd;.as
Logged

Port

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 82
    • portify.github.io
Re: Official PyGG2 Development thread
« Reply #724 on: May 03, 2012, 02:01:07 pm »

pygrafix for hardest to install python library 2012
wat

There's a Windows version. Extract it to the right folder and done

Seems like some simply-not-existing bugs have been fixed since last time I tried it.

The game hangs when I press "Start test client" in the interface displayed by client_main.py though.
Logged
portify@neko.im

NAGN

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

host a server first
Logged

Port

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 82
    • portify.github.io
Re: Official PyGG2 Development thread
« Reply #726 on: May 03, 2012, 02:05:01 pm »

host a server first

and how exactly would I go about that
Logged
portify@neko.im

NAGN

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

err make.py testserver

read the second post of this thread
Logged

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: Official PyGG2 Development thread
« Reply #728 on: May 03, 2012, 03:39:03 pm »

Port, right now using the GUI gets very little actually done.
Best way to execute and debug PyGG2 right now is either:
1 console, with
Code: [Select]
python make.py testor 2 consoles, with
Code: [Select]
python make.py testserver
python make.py testclient
Logged

Port

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 82
    • portify.github.io
Re: Official PyGG2 Development thread
« Reply #729 on: May 04, 2012, 12:33:50 am »

Alright.

Also, slightly off topic:
(click to show/hide)
« Last Edit: May 04, 2012, 01:53:49 am by Port »
Logged
portify@neko.im

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #730 on: May 04, 2012, 03:53:06 am »

I'm trying to add networking and I keep getting this error:
http://pastebin.com/raw.php?i=tcajYUXQ
What on earth does that have to do with networking?

That's a pyglet error.
Logged

Port

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 82
    • portify.github.io
Re: Official PyGG2 Development thread
« Reply #731 on: May 04, 2012, 07:39:21 am »

I'm trying to add networking and I keep getting this error:
http://pastebin.com/raw.php?i=tcajYUXQ
What on earth does that have to do with networking?

That's a pyglet error.

However it did start happening only as soon as I added the twisted reactor in a side thread.
« Last Edit: June 04, 2013, 03:24:51 am by ajf »
Logged
portify@neko.im

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #732 on: May 04, 2012, 07:55:51 am »

I'm trying to add networking and I keep getting this error:
http://pastebin.com/raw.php?i=tcajYUXQ
What on earth does that have to do with networking?

That's a pyglet error.

However it did start happening only as soon as I added the twisted reactor in a side thread.
OpenGL is not thread-safe
« Last Edit: June 04, 2013, 03:24:45 am by ajf »
Logged

Port

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 82
    • portify.github.io
Re: Official PyGG2 Development thread
« Reply #733 on: May 04, 2012, 08:04:09 am »

I'm trying to add networking and I keep getting this error:
http://pastebin.com/raw.php?i=tcajYUXQ
What on earth does that have to do with networking?

That's a pyglet error.

However it did start happening only as soon as I added the twisted reactor in a side thread.
OpenGL is not thread-safe

Then what do I do if I want to run the pyglet engine and the twisted reactor at the same time?
« Last Edit: June 04, 2013, 03:24:36 am by ajf »
Logged
portify@neko.im

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: Official PyGG2 Development thread
« Reply #734 on: May 04, 2012, 08:04:44 am »

I'm trying to add networking and I keep getting this error:
http://pastebin.com/raw.php?i=tcajYUXQ
What on earth does that have to do with networking?

That's a pyglet error.

However it did start happening only as soon as I added the twisted reactor in a side thread.
OpenGL is not thread-safe

Then what do I do if I want to run the pyglet engine and the twisted reactor at the same time?
Not use threads, or not use Twisted. The socket module isn't SO bad.
« Last Edit: June 04, 2013, 03:24:28 am by ajf »
Logged
Pages: 1 ... 47 48 [49] 50 51 ... 77
 

Page created in 0.023 seconds with 32 queries.