Pinch&scape

About
The concept of this game is fairly simple, there's a map, you and your friend are stuck
in there and need to find the exit. You can move in 4 directions and to do so you'll have to use your devices.
For instance, to move to the right, it's super easy : You put your second device on the right of the first one
and you just pinch ! The second device become the new spot where you and your friend are (as seen on
the mini map in game) and you keep on going until you find the exit ! (before you run out of power and die a horrible death of course ^^)
Dev process
For this LD, the theme being running out of power, we thought about an "escape before
it's too late" kind of game but with a interesting twist in the gameplay.
In this game, to move from one room to another you use 2 real life devices
to build your path !
We used a library called Swip JS that let you connect several devices (smartphones, iphones, ipads,
or even a laptop with touch screen) with only one move, a pinch on the screens.
Since we had to go on the LD39 journey with a super small team, we decided to keep
all the other fancy elements, like graphics or music, super low key with room for future
improvements.
All assets have been made during the event.
Demo
Screenshots
Controls
- Move : Your fingersSet up Project
Install dependency
The project has one dependency : NodeJs.So first let's install it :
#### Windows and MacOs
You can download installer on the NodeJs website.
#### Linux
Open a terminal
```
sudo apt-get update
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
```
Compile and start the game
You have to get the sources.
To do it, you need to download the ZIP folder of the game on Github (like in the picture below).

For the next steps, let's consider that you have extracted the ZIP directly in the Downloads folder (you can extract it whatever you want but you will need to adapt the path in the command lines in the next part of the guide).
Build from sources
#### Windows, Linux and Mac
Open a terminal, and type the following
```
cd Downloads/LD39-master
npm install
npm run build
cd client
npm install
npm run build
cd ..
npm start
```
_The last command launch the server_.
Ok, so your serveur is started (Do not kill the terminal until you stop playing the game).
Now you can see the result on your computer, to visualize go to `localhost:3000` on your favorite browser.
There is one last step to connect your portable devices (Smartphone, Iphone, Ipads, Kindle, etc).
You will need your network local address by typing in another terminal (your devices need to be connected on the same network as your pc by simply connecting your device on WIFI).
So on linux, and mac, open a terminal and enter
```
ifconfig
```

For instance my local address is `192.168.1.125`
On Windows, on a terminal too, and enter
```
ipconfig
```

For instance my local address is `192.168.1.125`
The local adress can change, so don't hesitate to check this address. It may changed when your computer leave the network (basicaly when you turn off your computer)
Let's play
You can now play the game easily.Open a browser on both your devices, and type `(YourLocalAddress):3000.` (in the case above `192.168.1.125:3000`)
The game will start on your devices.
If something went wrong, don't hesitate to restart the server by killing the terminal where the server is running.
And restart it with command `npm start` (in the folder LD39-master of course)
Enjoy !
_the server can be still buggy :| , but I will work on it_
Team
- Maxime Lambert: Concept / Game Design- Guillaume Gomez: Programming
Genres: puzzle
Comments14

jahndis31 Jul 2017, 22:38
Lol this probably the most work I've put in to try playing someone's game XD.
The game was interesting enough, although a bit simple at heart. Graphics were simple yet effective. Full points for innovation!!
The game was interesting enough, although a bit simple at heart. Graphics were simple yet effective. Full points for innovation!!

Quemagalletas31 Jul 2017, 22:41
I didn't manage to play the game but I love the idea of more than one device involved! :D
Congratulations!!
Congratulations!!
Wabble31 Jul 2017, 23:13
The instructions are scarce for us newbies, add more info here or in a Read.md .I have node on pc (not a recent version tho), and I tried to build the game on atom using the platform-ide-terminal but no success (on the first npm start a bunch of errors appeared). In the end something was running on localhost:3000 but it was just a blank page.
Innovation is there, but games here are supposed to be playable by one person, and be easy to install/set up.
If you put the game somewhere else with a bit more documentation it will do better.
Innovation is there, but games here are supposed to be playable by one person, and be easy to install/set up.
If you put the game somewhere else with a bit more documentation it will do better.
ReboundGames31 Jul 2017, 23:33
Got it working after a little fiddling. Unfortunately the battery in my old tablet is barely functional so I couldn't play for very long, but the concept is super cool.

🎤 Guillaume Gomez1 Aug 2017, 19:22
Thanks a lot for all your feedbacks, we have updated the installation guide. Hope it will help :)

filippy2 Aug 2017, 12:29
This is probably the most intriguing game I have seen so far, as a piece tech this looks super impressive and I will be delving into your source code, I'm not really sold on the game but yeah the room for improvement here is great

Syl-WhatsUpDesign2 Aug 2017, 17:19
I love the concept !

Emery2 Aug 2017, 20:07
Hard to set up, great concept though. Good Job

elmismopancho2 Aug 2017, 22:19
Interesting concept, but it's hard to control, especially vertically.

krishnasism3 Aug 2017, 15:33
Super Innovative!!. A little complicated to set up, but worth the complication.
Nice job!
Nice job!

Hishicorne11 Aug 2017, 14:18
Ok. It's one of the most innovative game i've seen for the ludum dare at this point ! It looks so cool !!! The concept is awesome, the only problem - I think - is the graphisms that are kind of simple. Hope you'll develop a full game based on this concept because it could be awesome !

Valphera14 Aug 2017, 14:39
Very inovative concept, congrats for doing that for a Ludum Dare, you're badass! The graphisms are minimalist but this is a style i really appreciate, it's cutting off any unecessary infos. :smile:

LaJazuve17 Aug 2017, 21:07
interesting concept and the explanation are welcome ! thnk you !






By the way shouldn't this be marked as "Jam" because there where multiple persons involved.