Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use spritesheets instead of individual image files #28

Open
SolsticeSpectrum opened this issue Apr 6, 2024 · 0 comments
Open

Use spritesheets instead of individual image files #28

SolsticeSpectrum opened this issue Apr 6, 2024 · 0 comments

Comments

@SolsticeSpectrum
Copy link

SolsticeSpectrum commented Apr 6, 2024

adryd's port of neko to javascript is one of the best implementation of the silly cat
https://github.com/adryd325/oneko.js

I am currently working on some conversion tools to get more animals from these repos!
https://github.com/tie/oneko/tree/master/bitmaps
https://github.com/eliot-akira/neko/tree/main/2023-icon-library

But the tools I am making generate spritesheets with placements in exact same positions
as in adryd's oneko.gif so they don't have to change the mapping in the code

Thus if the values were copied to this version, it will be able to load the spritesheets I am working on
getting closer to the idea of having multiple fur colors that you pitched in #23
And not only fur colors but different animals all together
plus it will make the assets folder less chaotic

Also when at it, I think some of the move
ment/animation logic could be borrowed too, for example this version makes the cat
fall asleep very fast and also if close to the mouse, the cat twitches like crazy, also diagonal movement is faster which is not
an issue in the javascript version

Overall I think checking out that javascript version could be beneficial and fix the issues with movement and animations

Here is an example spritesheet for testing if you need
kina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant