Desktop Pets for macOS!

Overview

Desktop Pets

This is the source code of my macOS app Desktop Pets!.

As you can guess, it brings Desktop Pets to macOS 🚀

Get it on the App Store

What's a Desktop Pet?

It's just a cute little animal that lives in your computer.

The most popular one was probably the eSheep for Windows 95.

Hope you like them too!

Gallery

Screenshot of my mac running the app Ufo attacking Desktop City

Running the Project

  1. Download and setup Xcode
  2. Open MacPets project from this repo
  3. There's only one dependency which will be installed via SPM (and many thanks to LaunchAtLogin maintainers!)
  4. That's it!
You might also like...
Swift JSExport extensions for macOS system frameworks
Swift JSExport extensions for macOS system frameworks

framework-bridge Swift JSExport extensions for macOS system frameworks. Progress Foundation AppKit Usage Swift import JavaScriptCore import FrameworkB

A native video wallpaper app for macOS

WallpapaerZ This is an wallpaper software that runs on macOS. It can bring video wallpaper to the desktop The project is coded in storyboard with swif

Coreml-performance project works on MacOS to test M1 macbooks

ml-macos-performance This project is inspired by Vladimir Chernykh coreml-performance project for iOS. I made changes so it works on MacOS to test M1

A longstanding annoying bug in our beloved operating system macOS

Houston There is a longstanding annoying bug in our beloved operating system macOS. If you open an application while Mission Control is active, the ap

Create dynamic wallpapers for macOS
Create dynamic wallpapers for macOS

Equinox Create macOS native wallpapers Description Equinox is an application that allows you to create macOS native wallpapers. Starting macOS Mojave

A GUI based virtualisation tool for running Linux on macOS Big Sur (x86 or arm64)
A GUI based virtualisation tool for running Linux on macOS Big Sur (x86 or arm64)

Project Mendacius GUI based virtualization tool to run Linux, based on the Virtualization framework introduced by Apple for macOS Big Sur with support

A sample app demonstrates how to use Atlantis on Swift Playground (iOS/macOS)
A sample app demonstrates how to use Atlantis on Swift Playground (iOS/macOS)

Atlantis with Swift Playground A sample app demonstrates how to use Atlantis on

 A curated list of awesome applications, softwares, tools and shiny things for macOS.

A curated list of awesome applications, software, tools and shiny things for macOS. Items marked with are open-source software and link to the source

Joplin - an open source note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS. Forum: https://discourse.joplinapp.org/
Joplin - an open source note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS. Forum: https://discourse.joplinapp.org/

Joplin® is a free, open source note taking and to-do application, which can handle a large number of notes organised into notebooks. The notes are sea

Comments
  • Performance of moving windows around is not great

    Performance of moving windows around is not great

    Currently, as much as 40% of the CPU used by the app is consumed by moving windows around. This is currently done via NSWindow.setFrame(:display:animate:). Disabling animations has virtually no effect on performance.

    One idea could be to make the window larger, and move the image instead of the window. This way, we can move the window itself only once a second or so. I expect this to be somewhat easier on the CPU, but it's hard to quantity without a spike.

    enhancement 
    opened by curzel-it 0
  • Sprites get briefly stretched when window size changes

    Sprites get briefly stretched when window size changes

    When an animation with a custom size is applied, the window resizes accordingly and the new sprite is loaded. These two behaviors are implemented in different capabilities, and therefore they do not necessarely happen at precisely the same moment every time. If the time between the window being resized and the sprite change is too long, the previous sprite gets stretched to fit the resized window.

    Possible solutions off the top of my mind:

    • Resize and change sprite in the same capability, so that there is no gap between the updates
    • Keep size of the window dependant on entity frame, while making size of NSImageView dependant on the actual image being loaded
    • Hide the issue under the carpet by adding some animation
    bug 
    opened by curzel-it 0
Releases(v2.20)
Owner
Federico Curzel
I am a hands-on, highly competent software developer who likes to work with mobile apps :)
Federico Curzel
A VM launcher for Parallels Desktop

PDrunner 适用于Parallels Desktop的虚拟机启动器 A VM launcher for Parallels Desktop 使用 Usage PDrunner是一个菜单栏APP, 启动后会在菜单栏显示一个图标. 点击菜单栏图标可列出当前Mac上安装的所有客户机, 然后点击客户机

null 3.2k Jan 16, 2022
Podman-desktop: a graphical menu bar application for managing Podman machines

podman-desktop podman-desktop is a graphical menu bar application for managing P

Containers 2k Jan 1, 2023
Kotlin Multiplatform sample with SwiftUI and Compose (Desktop and Android) clients. Heavily inspired by Wordle game.

WordMasterKMP Kotlin Multiplatform sample heavily inspired by Wordle game and also Word Master and wordle-solver samples. The main game logic/state is

John O'Reilly 56 Oct 4, 2022
A ARM macOS Virtual Machine, using macOS 12's new Virtualization framework.

macOS Virtual Machine A ARM macOS Virtual Machine, using macOS 12's new Virtualization framework. I copied KhaosT's code from here, all I did is chang

Ming Chang 127 Nov 30, 2022
LinearMouse - A minimal app to get rid of mouse acceleration on macOS

LinearMouse A minimal app to get rid of mouse acceleration on macOS. Features Reverse the direction of scrolling. Linear scrolling (disable scrolling

Jiahao Lu 1.6k Jan 7, 2023
A Swift wrapper around the CoreSymbolication private framework on macOS.

CoreSymbolication provides a very powerful system for looking up and extracting symbolic information from mach-o executables, dyld shared caches, and dSYMs.

Stacksift 7 Nov 21, 2022
PlayCover is a project that allows you to sideload iOS apps on macOS( currently arm, Intel support will be tested.

PlayCover is a project that allows you to sideload iOS apps on macOS( currently arm, Intel support will be tested.

Alexandr 4k Jul 8, 2022
macOS PropertyList Editor

PropertyListEditor About ... License Project is released under the terms of the MIT License. Repository Infos Owner: Jean-David Gadina - XS-L

JD Gadina 21 Jan 3, 2023
macOS status bar app to automatically fetch Git repositories.

Fetcher About macOS status bar app to automatically fetch Git repositories. License Project is released under the terms of the MIT License. Repository

JD Gadina 5 Jan 3, 2023
Swift sample app for running privileged operations on macOS using a helper tool

SwiftAuthorizationSample demonstrates how to run privileged operations on macOS using a helper tool managed by launchd. This sample was created with t

null 31 Dec 20, 2022