Devlog 6
I finally have the first basic model of a fox desktop pet. It has two different animations, one of sitting, and one of walking. Three behaviors, one sitting, one walking mainly in the x axis, the other behavior on the y axis.
I aim to add more and today was another day of laying groundwork.
I had to research the pillow image library and ways to traverse lists in order to mirror my walking animation. I prefer to use a loop to take images from an existing list and make a new list of photoImages, as then it makes it easier for implementing in the future, if I wanted to use the reversing technique for other animations. Additionally, it requires less images to be made/hardcoded.
Additionally I made a mainController function, works in function as a main loop. This way I can call to behavior and animations without everything being desynced with different loops.
The behavior function is just meant to make the code less crowded in the mainController, so I can call to behavior to do the event.
To Do:
Drag event (picking up fox, changes anim, and fox cannot move)
Sleep event (same as sit, but with sleepy animation)
Up/Down Walking anims
Fox interactions with desktop/computer? (Would help me dive deeper into python)
File management (Images in image folder)
Another window at launch for settings (num of foxes, time between events)
Maybe few interactions such as treats spawning on desktop, feeding
Compile into executable