#Pet Oneko
1 messages · Page 1 of 1 (latest)
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");
}
Can't use a local file like that. You might be able to use the file:///C:\\Users\\123bc\\Downloads\Oneko_frames2.png but I doubt it since discord is technically loading from a webpage. Instead you'll need to host that file somewhere that supports hotlinking and then load it that way. You can put it on github easily enough and it won't be a problem for a single user.
ok, ill have to see about that at some pint
not sure if my method of setting it is correct tho
local files are not supported in qcss, upload it somewhere
ok
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.
How can I make it so that I can also click and drag around oneko
impossible
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
Ahh
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
!important?
your spritesheet may be incompatible
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
if its from raw.githubusercontent.com, it wont expire
oh, ok
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
thx for the help
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 
