Skip to content

Repository files navigation

Eevee-Animation-Project

This project is a part of Prototyping UX class lectured by Prof. Katie Seaborn from Tokyo Institute of Technology. The team include Natprawee Pattayawij (me), Nipun Mangkaja and Takuya Takahashi. The project was set up by Prof. Katie Seaborn. My contribution part is creating the shape of Eevee character by HTML/CSS, animating the character by Javascript and connecting to server side by Node.JS and socket.io.

The part after this is provided by Prof. Katie Seaborn.

Project

Let's create socket monsters, aka sokémon. Now that we have the visuals, movement, attributes and abilities, and voice of our sokémon done, let's apply our knowledge of Node.js and Socket.IO so that our sokémon can communicate with other sokémon and network with other computers ... as well as participate in the Battle Arena.

About our work - Team Eevee

Our work is a bit different from sensei. In our work, there are 3 parts from 3 files with ports.

  • index.html port: 3001 (Wizard of Oz control part)
  • index.js port: 3002 (socket.io)
  • sokemon.html port: 9999 (Wizard of Oz showing part)

To access our prototype, run

node index.js

Then open Wizard of Oz control part with the link

http://localhost:3001/

and Wizard of Oz showing part with the link

http://localhost:9999/

After that, you could click on button Attack, Dodge and Cry in the control part to see interactions in both control part and showing part.

You may show showing part (port:9999) with other device by editing localhost to IP address after connecting with the same internet.

Requirements

  • 💻 Portable computer aka a laptop with speakers and wifi capabilities
  • Git, our version control system
  • GitHub, our Git code repository 🖤 (psst ... get started here 👀)
  • Node.js® (and npm) for installing the server and peripherals
  • Socket.IO, for communicating over a network with the WebSocket protocol
  • Express, a basic web app framework
  • IP, to easily get IP address information
  • Terminal or Command Prompt to install and run everything

Tips

  • Make sure you install Express, Socket.IO, and IP:
npm install express@4
npm install socket.io
npm install ip
  • Run the Node.js server via node index.js
  • Make sure your sokémon html file is index.html
  • Assuming port 3001, access via http://localhost:3001
  • Use control-c to stop a Node.js process on the command line
  • FYI:
  • Mac users: In Terminal, use ipconfig getifaddr en0 to get your IP address on the network
  • Windows users: In Command Prompt, use ipconfig /all and look at the IPv4 Address
  • Consider using nodemon to automatically refresh your server when you save a change
    • To use it, run the server via nodemon index.js

Recommendations

Resources

About

Eevee animation project, a part of Prototyping UX class using HTML, CSS, Javascript, Node.JS and Socket.io

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages