View Single Post
Old 05-03-2010, 05:07 PM
Nicknack Nicknack is offline
Senior Member
Join Date: Nov 2006
Location: Germany
Posts: 527
Talking Want to play with me???

here finally I finished this fat project somehow:
- a remake of my old minisock: TCP.ppl which lets you write multiplayer games fast and with little trouble. wether bluetooth pan or internet, as long you have an ip addresss this code will work. if used correctly no blocking programs and the server can constantly add clients thanks to threading (see attached screenshot of my chat example). it is that simple, try it out! I have included a nearly complete 2 player tron game with online support.
- for the online support I have added a extra code file: net.ppl. It features several function to connect to my webserver and make information availabe to any on the internet. just register your game and if your port is open, everybody can see and connect to your game (if you are behind a router, you must forward your used port to be able to host games). if you interested, you can use your own webserver, you need only php and mysql. ask me for the needed php code.
- gui.ppl is a remake of ui.ppl and let you create a sprite based graphical user interface. it features buttons, checkboxes, editboxes, listboxes and captions. every graphical item is menu sorted, you can switch between menus with a single command. see my gui system in action in the tron game.

all and everything is open source, three examples are included, every command is shortly documented and it should work for every PPL version and on every device. just download it and play around with the examples.
if this doesn't motivate you to start coding I don't know what else

there is a bug with threads, so sometimes it just chrash. hopefullly kornalius will sort this out with next release
Attached Thumbnails
Click image for larger version

Name:	chat.PNG
Views:	1237
Size:	133.2 KB
ID:	333   Click image for larger version

Name:	tron.PNG
Views:	1251
Size:	19.6 KB
ID:	334   Click image for larger version

Name:	gui.PNG
Views:	1223
Size:	45.3 KB
ID:	335  
Attached Files
File Type: zip (270.1 KB, 1933 views)

Last edited by Nicknack; 05-03-2010 at 07:36 PM.
Reply With Quote