Notecard Movie
- 5 Devlogs
- 7 Total hours
A jackbox style game where you and your friends create movies using notecards!
A jackbox style game where you and your friends create movies using notecards!
I refactored some more of the server
It now checks the servers current state and redirects a packet to be handled in a function meant for that state only. no checking the current state in every packet purpose if statement
I also removed the address variable from the client class and replaced it with the entire websocket, which contains it’s address, so it’s easier to send messages to all clients now.
I also made it send all the clients onto the next screen and generate 2 prompts for each to draw, which are also sent over
I refactored the server code to make it easier to manage the game state, and also I made it so the first client to connect is the host, which will have buttons before and during the game like jackbox. So they can start the game and skip tutorials
Also now the client sends the server their drawing after every stroke
I added a 2 second recording feature
You can now record 2 seconds of audio and it gets automatically send to the game server in base64.
I need to make it send the image as well, but that should happen as soon as we move into the phase 1 state
So now ive got stuff working hurray!
Functionally finished the drawing portion of the pregame lobby.
You get 3 colors, white, black, and your unique color for your player. You can use a pencil, for small lines and is drawn always on top, and a marker, which is a larger brush and is drawn below the pencil layer.
I have added some proofing to make sure players can only use their unique color and not any color they want.
I also changed how it draws stuff by drawing a series of circles on many points between each mouse point. This makes the lines smooth and no weird anti-aliasing. Plus it removes weird line artifacts.
Overall I’m VERY happy with how this drawing part turned out
I need to now add a way to record a 5 second sound bite and then send both of those to the game server.
Headless Server & Full Client
I started developing the headless server to get the entire protocol and game flow working before I make the full graphics of the server.
I also started working on the client, which is the top priority atm. It will take all the user inputs and give it to the server to display, when i get around to making it not headless
atm you can connect to the lobby. The server will give you your unique color id, and you can start drawing. Next I will add a way to record a quick 5 second sound bite and have it send both the image and the sound back to the server when the game goes from the lobby state to phase 1/doodle the prompt stage