#Pet Oneko

1 messages · Page 1 of 1 (latest)

quick willow
#

how would i do something like this but to changing the sprite sheet for another? i tried doing it my self but couldn't figure it out.

#oneko {
    background-image: url("C:/Users/123bc/Downloads/Oneko_frames2.png");
}
unkempt dirge
quick willow
#

ok, ill have to see about that at some pint

#

not sure if my method of setting it is correct tho

somber dust
quick willow
#

ok

unkempt dirge
#

Depending on the resolution you could turn it into a data-uri by pasting it into this website:
https://2data.netlify.app/

Then you just do:

background-image: url('<PASTE CLIPBOARD>');

#

but if its bigger than like 64x128 or so it would be unwise.

alpine radish
#

How can I make it so that I can also click and drag around oneko

alpine radish
#

Aw

#

If only...

#

Wait actually why

somber dust
# alpine radish Wait actually why

just not possible to do something like that in the CSS spec
-# well i mean technically i do know a way but it would be very laggy and we would need access to the rawhtml which we dont have

alpine radish
#

Ahh

quick willow
#

as far as i can tell, trying to set its sprit shet with # oneko {background-image: url();} dosent work. i know it works becaue i could apply it to another thing, but when i tryed it on oneko it dident work

quick willow
#

well, that dose somthing

#

rn it makes it disapar

somber dust
quick willow
#

YAY, it works

#

its one to one with the one it uses, just with the idal one slightly diffrent

#

im very new to useing github for hosting files, so rn im just using the url it gives me when i open the image in a new tab

#

tho that probably as an expiration date

somber dust
quick willow
#

oh, ok

quick willow
#

so far ive been abal to replace its sprit sheet with my own, even scaled it up and changed the scale it reads it at to give me more space around it to use

quick willow
#

thx for the help

leaden tiger
#

this is the greatest css i have had

slow pine
#

i put in the quick css editor and it didnt work. im new to discord and idk how to even use it. please tell me what to do spinning_skull