Orion Desktop Pet
- 5 Devlogs
- 4 Total hours
A desktop pet of my oc Orion that you can pick up, move around, and pet.
A desktop pet of my oc Orion that you can pick up, move around, and pet.
I forgot how tweening worked so I had to reference the code from another project I made
It was pretty easy with the reference tho. I also worked on exporting the project since I’m about done. README wasn’t too complicated to add, I just did what I’ve done before.
This was way hard than expected. I spent a while figuring out the equation to make the window to go to the mouse cursor, since the mouse cursor’s position was relative to the window. Eventually I figured that out, but then I had to figure out the cursor type because that broke in the process too. I got it all fixed tho!
Hopefully I can start adding some better art next devlog.
I got rid of the movement of the pet because I want to do some other system instead. I want to make it so you can click and drag them.
I coded a simple version of this with only the cursor changing but then the mouse would jitter on the edges of the area you could grab so I had to write a little more complicated code to fix this.
Next update I plan to add the grab and drag feature!