CodePanter
|
34d7cad6cd
|
Changed the 'sleep' variable in PixelVloedClient.SendPacket into a float.
|
2016-11-22 22:29:49 +01:00 |
|
Jan Klopper
|
59a9a06952
|
Make sure the monkey patching stuff gevent requires is imported at start, so we dont get an exception on close time
|
2016-09-09 13:04:12 +02:00 |
|
CodePanter
|
c38cab64b6
|
Moved the 'gevent' and 'pygame' imports and the 'PixelVloedServer' class to inside the 'if __name__ == '__main__'' section. This will make it possible for users to use the client code, without needing to install gevent and pygame.
|
2016-09-06 20:26:19 +02:00 |
|
Jan Klopper
|
d2f58a6640
|
Add cli options to the client class, clean up the SDL version a bit
|
2016-07-12 18:37:32 +02:00 |
|
Jan Klopper
|
9cfae29dc7
|
add exit messages and make sure we dont trigger some weird threading keyError that happens on python clean up by calling monkey patching as first import
|
2016-06-22 12:44:44 +02:00 |
|
Jan Klopper
|
9b6190b186
|
Add pixel factor in the server so that clients ca push more effective pixels
|
2016-06-22 12:28:16 +02:00 |
|
Jan Klopper
|
d81f12480a
|
Add javascript client
Add server cli options
|
2016-05-17 17:00:12 +02:00 |
|
Jan Klopper
|
e2c5aee5cc
|
tinyfix
|
2016-04-28 22:39:43 +02:00 |
|
JanKlopper
|
5d4c250f89
|
Merge pull request #7 from CodePanter/master
Changed a few small things to improve ease of use.
|
2016-04-28 21:44:34 +02:00 |
|
Jan Klopper
|
235091aac7
|
add alpha blending in the server
|
2016-04-28 21:43:08 +02:00 |
|
CodePanter
|
a833d43ee0
|
A client's port will be 5005 when specifying an ip address and no port.
|
2016-04-28 20:28:28 +02:00 |
|
CodePanter
|
f22e3a2a56
|
Pixels can no longer be added to a MaxSizeList if the list is full.
|
2016-04-28 20:24:37 +02:00 |
|
CodePanter
|
b638c79461
|
Prevented the 'SendDiscoveryPacket' from crashing.
|
2016-04-28 16:57:10 +02:00 |
|
CodePanter
|
8d9d03b69a
|
Fixed a few typo's in the doc-strings and comments.
|
2016-04-28 16:46:03 +02:00 |
|
Jan Klopper
|
b9ba710848
|
Add pylintrc file
Move client functions to vloed module,
simplify client file for newbee's,
Make sure the server module only starts operating when actually initialised
|
2016-04-28 15:34:57 +02:00 |
|
Jan Klopper
|
562ae26d7f
|
Merge branch 'master' of github.com:JanKlopper/pixelvloed
Conflicts:
vloed.py
|
2016-04-25 12:34:38 +02:00 |
|
Jan Klopper
|
9209bd989e
|
add autodiscovery of server to client
|
2016-04-25 12:18:39 +02:00 |
|
CodePanter
|
d781d85745
|
Fixed the problem with pixels missing in the message and prevented general exceptions from crashing the server.
|
2016-04-07 20:56:28 +02:00 |
|
Jan Klopper
|
060693625f
|
add packet size limit to server,s et at 140 pixels atm
|
2016-04-06 10:11:05 +02:00 |
|
CodePanter
|
0df6d9a5cd
|
Fixed several bugs and did some general optimisation.
|
2016-03-31 20:23:03 +02:00 |
|
Jan Klopper
|
e060ccdf6b
|
add 1 fps wait if there's nothing to do, also add some comments and work with the screen as a array instead of trough set_at
|
2016-03-31 17:04:22 +02:00 |
|
Jan Klopper
|
c9c45df928
|
rework loops to return at least once per fps
|
2016-03-31 16:31:51 +02:00 |
|
Jan Klopper
|
83d1c4b46c
|
Make some loops only run when needed, defer pygame updates if nothing changed since last update
Draw all packets in queue at once if we get the chance.
|
2016-03-31 14:00:47 +02:00 |
|
CodePanter
|
4544b3d302
|
Optimized pygame, and moved 'packetformat' out of the for loop.
|
2016-03-26 23:26:19 +01:00 |
|
CodePanter
|
df73d17c44
|
Improved performance by replacing the 'threading', 'socket' and 'Queue' modules with gevent's more efficient modules.
|
2016-03-11 20:15:24 +01:00 |
|
CodePanter
|
c5272c6439
|
Implemented threads and a forced framerate.
|
2016-03-03 21:55:17 +01:00 |
|
Jan Klopper
|
b5d7f5c066
|
First version of PixelVloed, a UDP/Binary PixelFlut server/client
|
2016-03-02 12:21:03 +01:00 |
|