GithubHelp home page GithubHelp logo

koneko / 4koneko Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 5.0 12.4 MB

A browser 4 key vertical scrolling rhythm game.

Home Page: https://4koneko.world

CSS 11.21% HTML 32.73% JavaScript 56.06%
4k game pixijs rhythm vsg web

4koneko's Introduction

4koneko

A simple vertical scrolling rhythm game written in JavaScript, available in the browser with many songs to play.
Screenshot
Play it!

Features

  • 4K (4 keys) gameplay
  • Many songs randomly added
  • Customizable keybinds
  • Customizable offset and speed
  • Custom files support (No long notes, intended by design)
  • Easy to modify game files
  • Source code available
  • No ads, no tracking, no bullshit
  • No download required, available in the browser
  • Sadly not mobile friendly ๐Ÿ˜ข
  • No sound effects (yet)
  • Simple scoring system

How to play

  • Press the keys when the notes reach the judgement line (the hollow circles at the bottom)
  • Play with the keyboard or properly configured controller
  • Open settings with Esc
  • Press F11 to toggle fullscreen
  • Press F12 to open the developer console (goodies in about menu!)
  • Play along to fun music

Credits

  • koneko for developing the entirety of the game
  • quaver for the idea of making it + already existing songs
  • dcarapic for helping with the code / logic

License

There is no license, however if you modify the code and ask for help, you will be ignored.

4koneko's People

Contributors

3plestar avatar koneko avatar

Stargazers

 avatar

Watchers

 avatar

4koneko's Issues

arrow/note spawn time is wrong

hey, I just wanna say that I really like open source stuff like this. Really helped me out with something I wanted to do.

But lets get serious for a moment:
I was looking through your code and I saw that you spawn the arrows at their stored timing point, but this is not correct. The timing point is the point at wich the note needs to be hit.
The point at wich the note should be spawned should be as follows instead:
'Stored timing point' minus 'time it takes for the note to go from the top of the screen into the receptor'

ive made a hacky fix for this, but you might want to make a more permanent solution if you care about it.
I changed the arrow speed to be the global speed everywhere (this makes the speed easier to track) and I added the following code to the updateArrows() if statement in script.js.
note.seconds - ((screenHeight * 0.8)/this.globalSpeed)*17 <= this.ms

17 is deliberately chozen because updateArrows runs (almost) every 17ms and (screenHeight * 0.8) is where the receptors are according to the calculateY function

I can't change my hotkeys.

I try to change my hotkeys because I don't like using DFJK, but it's not working, I try to put another set of keys and I save, and go to a song, but my keys do not work, and it's always DFJK, Is this a bug... Can you guys help me?

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.