mNo edit summary |
mNo edit summary |
||
Line 28: | Line 28: | ||
Patcher for Player 1: [[:File:Puzzel Game Player 1.maxpat]] | '''Patcher for Player 1''': [[:File:Puzzel Game Player 1.maxpat]] | ||
Player 1 needs to download the file for the morse code audio. This file needs to be put in the same directory as the general max files. The audio file for the morse code needs to be draged and droped into the the playlist on the left side of the phone. This is shown in the setup video. It also demonstrates the mechanics of the game patcher. | Player 1 needs to download the file for the morse code audio. This file needs to be put in the same directory as the general max files. The audio file for the morse code needs to be draged and droped into the the playlist on the left side of the phone. This is shown in the setup video. It also demonstrates the mechanics of the game patcher. | ||
Line 34: | Line 34: | ||
[[:File:Audio file morse code.zip]] | [[:File:Audio file morse code.zip]] | ||
Setup video for | ''Setup video for Player 1'': https://youtu.be/TlXoWFeIv0s | ||
Patcher for Player 2: [[:File:Puzzel Game Player 2.maxpat]] | '''Patcher for Player 2''': [[:File:Puzzel Game Player 2.maxpat]] | ||
Player 2 does not need to download any files. The video demonstrates the mechanics of the game patcher. | Player 2 does not need to download any files. The video demonstrates the mechanics of the game patcher. | ||
Setup video for Player 2: https://youtu.be/W6m56P8mvBY | ''Setup video for Player 2'': https://youtu.be/W6m56P8mvBY | ||
Revision as of 15:50, 3 February 2021
Co-Op Puzzle game
Semensterproject
For my final project of this semester I would like to continue and finish developing this “Two-Player Puzzle-game”.
The mechanic of two patcher interacting with each other really fasinated me, so I wanted to create somthing with the objects that made this funtion possible: "udpsend" and "udpreceive".
It would be played on two separate computers and with two separate players, which can only communicate through the message boxes of these objects .
The players would have to solve different kinds of puzzles by cooperating with each other and exchanging information. They would go through multiple levels to get to the end of the game.
Here is how the game would work:
Every level contains one puzzle but It is split into two parts, one for each of the players. For example player one has the base information in their patcher that player two needs to understand and solve their side of the puzzle. So, player one needs to convey this information to player two by writing it to them via the message boxes. Player two can then use this information to decode their side of the puzzle and get for exampel a number code. This code (new information) then can be conveyed back to player one because they both need the code to "unlock" the reward for solving the puzzel.
This game is build on the curiousness of a human and the willingness to work together to achive a goal, as well as the friendliness/understanding to chare the information so both player can get to the reward and advance in the game.
With the reward "unlocked" the level would be complete and the players can advance to the next stage. Each level would be harder than the one before but so far I was only able to create the first level, where the players are told what the main mechanics of the game are and how everything works.
Here are the MAX patchers for the two players:
Patcher for Player 1: File:Puzzel Game Player 1.maxpat
Player 1 needs to download the file for the morse code audio. This file needs to be put in the same directory as the general max files. The audio file for the morse code needs to be draged and droped into the the playlist on the left side of the phone. This is shown in the setup video. It also demonstrates the mechanics of the game patcher.
File:Audio file morse code.zip
Setup video for Player 1: https://youtu.be/TlXoWFeIv0s
Patcher for Player 2: File:Puzzel Game Player 2.maxpat
Player 2 does not need to download any files. The video demonstrates the mechanics of the game patcher.
Setup video for Player 2: https://youtu.be/W6m56P8mvBY
This video explains the the the funtions of the two patchers in more detail and shows how they interact with another:
https://youtu.be/ouxpdBoTXAM
The most important mechanic of this game is the way the players communicate with each other. This is made possible through the objects "udpsend" and "udpreceive". The two players have one of each of those object. Connected to the object "udpsend" is a "textedit" object as well as "custom writing pad" which consicts of many message boxes. The "textedit" object can be used when the patcher is locked. The player can write a text and send it to their counterpart when clicking a messag box that has written "send" in it. The pad can also be used when the patcher is locked. Clicking the message boxes arrages what is written in them into a text in a seperate message box. For player one they consist of the word "short" and "long", while for player two they are numbers.
Screenshots
File:textedit.maxpat -- [textedit] object to avoid (un)lock option
Resources
Here are a few links to some interesting projects:
https://cycling74.com/projects/forms-generative-visual-music
https://cycling74.com/projects/forms-screen-ensemble
https://cycling74.com/projects/broken-umbrella-strings
https://cycling74.com/projects/plantconnect
https://www.youtube.com/watch?v=JCmoN0Bbdg8
Notes
I fixed the issue I had with my last project. Now it works like I intended: I updated my first patcher by experimenting with the sound-text-video conversion. I copied the basic build for the jit.matrix object, that you can find when right clicking the objeckt and then clicking on help, where you can assign certain planes a value. I made it so that, in the window with each frequenz a different value blicks to the rhythm of the melodie.
Here is the fixed Patch: File:Für Elise 3.maxpat