Giter VIP home page Giter VIP logo

three-character-selection's Introduction

Three Character Selection

Character Selection Demo

I wanted to try something else, but I liked how the project looked at the time, so I thought I might as well kept it around with Git – and by extension, use GitHub for convenience.

Anyway, this is a mockup made with React that allows users to browse through a gallery of characters and select three of them. It provides a straightforward way to showcase and choose characters from a given list. This selection screen should work with any other set of characters, as long as the data format in characters.json and the naming convention for the images in the public folder are adhered.

{
    "charID": "reimu",
    "name": "Hakurei Reimu",
    "title": "Shrine Maiden of Paradise"
}

Keep the charID in mind when naming the images that you will put into these two folders. For instance with Reimu here, hers are named reimu.webp.

public

  • portraits
  • profiles

This project is not responsive. I haven't figured that one out, so I hope your screen size is 1920×1080. If you happen to have a bigger monitor than mine, you can try Ctrl + Shift + M on your browser when running the project and set the screen size to 1920×1080 – but you shouldn't be that desperate to see my little ole' sandbox here in action.

Alright. The reason why I brought up responsiveness is that I can guarantee the layout of this project only when the images are at the couple of sizes I have specified – except the background image. I suppose landscape.jpg can be anything as long as it fits. The portraits folder expects an image size of 600×600, and the profiles folder expects an image size of 200×200. And don't take out the blank.webp in the portraits folder. That is needed for the initial state when the last two characters haven't been selected.

Acknowledgments

  • React and Vite for providing the framework to build this project.
  • These Touhou standing portraits I use are made by kaoru, which can be downloaded over here (I hope you can/know how to make your way around Japanese).
  • The background video I'm using is from ArtSqb.
  • A ludicrous amount of queries to ChatGPT.

three-character-selection's People

Contributors

armsiwatk avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.