Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
Hello everyone! So I finally finished a project that first started as a joke but then turned into something I wanted to do. I remade Pictochat from the DS in HTML to allow you to play it with other people online. It has almost all the features of the original such as typing, drawing, dragging letters from the keyboard, rooms, and more. The sprites and sounds are all ripped from the original too and function correctly.

This is meant to work on your phone so if you want to try it on computer, you can use the phone simulator in Chrome developer tools.

Go check it out here! - http://ckosmic.tk/pictochat

How it works:
Basically Pictochat Online is just a normal chatroom with fancy features. It uses a WebSocket to transfer data between the clients and a server I wrote on my Raspberry Pi. The screen is made from a custom game engine I wrote from scratch in JavaScript to help me easily make things like this.
Messages are sent as base64 encoded images and uploaded to the server and broadcasted to all the clients. Using WebSockets makes handling joining, sending messages, and leaving so much easier and reliable than what I originally had planned (which was using MySQL databases, I know horrible right).
Fun! It brought back lots of memories!
My only complaint right now is that the drawing system slows down fairly quickly and when you're drawing and move your finger over the keyboard, it immediately starts dragging letters around. Other than that, cool project!
Very Cool!

I just have one suggestion. You wrote:
ckosmic wrote:
It uses a WebSocket to transfer data between the clients and a server I wrote on my Raspberry Pi.

Seeing as this is a hobby, perhaps you could use Firebase to handle databasing? (unless you have a fear of Google mining your data Razz). Seems like a gross underuse of a perfectly capable Raspberry Pi.


Keep up the great work!
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement