Pixel People Online [Alpha 0.2] [SOURCE]

This forum is currently in read-only mode.
From the Asset Store
Vintage steam pixels for your UI! 125 unique assets in a single pack!
  • EDIT 2013: Just to confirm, on Windows Vista/7/8 and etc you'll want to run in compatibility mode for Windows XP as well as run the program as an administrator, this seems to prevent a bug where data is sent incessantly

    -----

    After a couple of days toying with SciDave's (awesome) network plugin, I made up this, a casual chat "mmo". You move around between rooms and can change your appearance while talking with other people in said rooms.

    Thats pretty much it, so here are some images instead!

    <img src="http://dl.dropbox.com/u/4714446/PPO%20Screenshots/ppoTitle.jpg" border="0">

    Title screen, connect to an ip or server url

    <img src="http://dl.dropbox.com/u/4714446/PPO%20Screenshots/ppoChat.jpg" border="0">

    Chatting

    <img src="http://dl.dropbox.com/u/4714446/PPO%20Screenshots/ppoServer.jpg" border="0">

    The server

    <img src="http://dl.dropbox.com/u/4714446/PPO%20Screenshots/ppoMultiplayer.jpg" border="0">

    Playing multiplayer

    <img src="http://dl.dropbox.com/u/4714446/PPO%20Screenshots/ppoRooms.jpg" border="0">

    Multiple rooms to chat in!

    Get the release here

    Currently it only has two rooms, the spawn room and the "city". I'll hopefully make more in future. The server and client both use port 5000.

    I haven't had time to toy with lag compensation, so it's likely that early versions will be laggy after many clients join.

    Edit: [21/08/2011] Updated to version 0.2, here is a list of changes

    -Update to new Network plugin version, smiley faces work in chat now :D

    -Added a new command for the server

    -Added client commands! Type /help to see them

    -Added in-game admins, they can kick users in their current room from the server*

    -Removed the HD textures, replaced with temporary pixel textures

    -Kicked players do not leave their bodies behind anymore

    *- including themselves and anyone else using the specified name

    Edit: [20/09/2011] Well, I decided to release the source as I haven't been able to make a tutorial out of it yet. The source can be modified for whatever you want, as long as it's non commercial (as it uses the Attribution Non-commercial licence).

    Get the source here

  • This is really cool! I like the customization of figures, names attached to players, and support for many characters. Nicely done!!

    On the ":" bug...it completely skipped my mind that that character is so common. And it would cause a lot of confusion for users why their smileys weren't going through so I'll add it to my TODO list to fix. I can add a code to chat messages so they are not parsed for the ":" character. It shouldn't break any existing projects either.

  • This is really cool! I like the customization of figures, names attached to players, and support for many characters. Nicely done!!

    On the ":" bug...it completely skipped my mind that that character is so common. And it would cause a lot of confusion for users why their smileys weren't going through so I'll add it to my TODO list to fix. I can add a code to chat messages so they are not parsed for the ":" character. It shouldn't break any existing projects either.

    Glad you liked it, and that change would be awesome thanks SciDave!

    Mind if I PM you about some of the other bugs I encountered later in the week?

  • Mind if I PM you about some of the other bugs I encountered later in the week?

    No problem. Feel free to send me a PM.

  • Hi JayJay, I may have to pick your brains regarding multiple client connections. I seem to be having a hard time with more than 2 clients joining... I get graphical glitches and all sorts of weird stuff.

    I will check out your example here and see if there is anything in there that helps me :D Looks cool ;D

    *EDIT*

    Just realised you didn't include the .cap :/

    ~Sol

  • Hi JayJay, I may have to pick your brains regarding multiple client connections. I seem to be having a hard time with more than 2 clients joining... I get graphical glitches and all sorts of weird stuff.

    I will check out your example here and see if there is anything in there that helps me :D Looks cool ;D

    *EDIT*

    Just realised you didn't include the .cap :/

    ~Sol

    Hey SoldjahBoy, I'm hoping to release a tutorial/commented version of the cap soon, but I'm going to change a few things first.

    However, if you look on the Network v0.3 topic you can find my cap release of NetChatCrash which handles multiple chat clients at once and may help (the problem is that it crashes when clicking the close button). Hope that helps!

    Edit: Released the source instead of a tutorial since I haven't had time to work on this in a while.

  • Thanks a lot Jayjay.

    I sent you a PM. :)

    ~Sol

  • New update, version 0.2. Screenshots will be updated soon to match the (poor) temporary graphics and new features.

    Edit: New screenshots up, jpg's for faster loading times =]

  • Well, I never managed to get a tutorial made, so instead everyone can have the source <img src="smileys/smiley17.gif" border="0" align="middle" />

    This makes it free to learn from, but also free to modify if you keep your game non commercial <img src="smileys/smiley1.gif" border="0" align="middle" />

    Hope this helps with anyone trying to make some online games!

  • Hi ^^ Your tutorial really helps me a lot. I can understand this plugin with 2 examples better.

    It's weird that if you close the application with x than "end of application" function doesn't work.

    And it's important to know exact number of players, if you work with team like game or if you try to create layout owner to first player. If creator of room(first layout logger) leaves the room, others should automaticaly disconnect by that layout.

    I'm trying to make a fake master server - sub server(create room) like system. :)

    I have an idea, what if we untick application caption property. And draw a same looking caption with sprite ^^. So x button can be our own button which handles same with esc button ^^.

    If it works, than only problem left would be task manager logouts :)

    By the way, do you have any idea about how to make a real master server-sub server system with cc ? Is it possible with some way ?

  • Hi ^^ Your tutorial really helps me a lot. I can understand this plugin with 2 examples better.

    It's weird that if you close the application with x than "end of application" function doesn't work.

    And it's important to know exact number of players, if you work with team like game or if you try to create layout owner to first player. If creator of room(first layout logger) leaves the room, others should automaticaly disconnect by that layout.

    I'm trying to make a fake master server - sub server(create room) like system. :)

    I have an idea, what if we untick application caption property. And draw a same looking caption with sprite ^^. So x button can be our own button which handles same with esc button ^^.

    If it works, than only problem left would be task manager logouts :)

    By the way, do you have any idea about how to make a real master server-sub server system with cc ? Is it possible with some way ?

    Glad you liked it =D

    As for the custom title bar, that should work fine, but yeah, there will always be a problem with drop-outs unless an alive-check is run every once in a while.

    As for the master server system there may be a way to do it, but my current idea is pretty complex.

    1. You run the master server program, which waits for sub-servers to join on a certain port.

    2. The sub-servers join and tell the server they exist, the sub-server runs along-side the game server

    3. Clients use a server finder to browse the master list, and then upon choosing one the server finder runs the game client while passing the IP and Port as a parameter to the client

    4. Game client connects to game server and players play

    Not sure how to show the server is full or number of players in the master server list though... <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Nice creation! i wonder how i do get IP to connect?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Nice creation! i wonder how i do get IP to connect?

    Thanks Joannesalfa. You can try whatismyip.com to manually get an IP.

    As for an automatic method, I think there only exists one for getting a LAN IP from the system settings.

    Otherwise, cool services like no-ip.com have a free program that will collect your IP and automatically link a DNS of your choice to it (eg: yourservername.theirdnsserver.com will link to your IP)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)