GithubHelp home page GithubHelp logo

adrianotiger / desktoppet Goto Github PK

View Code? Open in Web Editor NEW
849.0 32.0 87.0 21.34 MB

Remembering the lovely eSheep (stray sheep) from 1995 -

Home Page: https://adrianotiger.github.io/desktopPet/

C# 93.94% JavaScript 1.77% HTML 4.29%
ehseep xml desktop mate

desktoppet's Introduction

Desktop Pet (eSheep)

Can you remember eSheep, the lovely desktop sheep?
If you had a lot of them on the desktop... welcome to this page!
This project gives you the possibility to add a pet to your desktop.
eSheep for 64bit systems

With a simple XML file (animations.xml) it is possible to change pet and animations.

Application

This application is not a game, not an utility and not useful :P it simply shows you a pet on the screen. This pet can fall down up to the taskbar and is able to detect windows on your desktop.
In this way, this pet is able to walk, run, etc around your working screen area (also on multiscreens).

Downloads

Windows 7/8/10 Windows 10 Webpage Tools
Type Portable exe Store app Javascript Desktop applications
Description Download rar, extract exe file and execute it. There is no installation. Download it directly from the Microsoft store Javascript file to implement it on your webpage Some tools to edit and create your own pet.
Link Windows store Open GitHub project -Download Pet Editor

Screen Mates included in this application

eSheep
eSheeps
gSheep Blue
Blue Sheep
gSheep Green
Green Sheep
gSheep Orange
Orange Sheep
gSheep Pink
Pink Sheep
gSheep Purple
Purple Sheep
gSheep Red
Red Sheep
gSheep Yellow
Yellow Sheep
Bunny
Bugs Bunny
Asuna
Asuna
Neko
Neko
Pingus
Pingus

Credits

This project used other Open Source projects:

Thanks

Sergi for the Tray Icon
Robin improving the code and implementing the Graphviz tool
Oliver for the rainbow sheeps and the many animations

Want to create your own mate/pet?

I am working on an offline editor: Download offline editor from GitHub.
What you need are:

  • 1 application icon (.ico file)
  • 1 animation image: an image with transparency with all possible positions. (.png not too big... Something like 1000x500 px)

For more info about editing the xml file and add your own pet, follow the Wiki page.
or download the manual to develop your pet online: Manual-online editor.docx

Do you like the project?

If you like this project, you can donate 2-3$. I will use them to pay certificates or paying someone to create new sprites paypal

desktoppet's People

Contributors

adrianotiger avatar bx80646g3258 avatar dependabot[bot] avatar estecka avatar kamikazow avatar madnuttah avatar montao avatar oliverpets avatar redsparr0w avatar rluiten avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

desktoppet's Issues

Graph of Sheep animations...

I created a quick hack that reads the XML definition and outputs a graphviz dot file for the animation next logic and probability.
Once i have the dot file I run it through graphviz to get attached image.

It labels all animations with name and id.

It labels all Next animations for each of Sequence, Gravity, Border with S, G, B on the arrow along with probability percentage and the actual probability int if probability percentage is not 100%.

desktoppet esheep animation sequence graph

0% Volume isn't zero volume

When selecting 0% as volume I can still hear it in my headphones. Not loud but is there.
(as discovered with the green eSheep)

Maybe disable sound entirely if set to 0% ?

Thanks!

Pet Editor crashes when entering invalid values.

When entering an invalid value in some fields (e.g: setting an animation's Repeats to -1, or its Interval to 0), the following message pops up :

Unhandled exception has occurred in your application. If you click Continue, the Application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

When clicking Continue, the same error instantly pops back; so quitting is really the only option.
I'd expect the Editor to correct the value in some way after displaying the error, so as to avoid loosing unsaved changes, or saving a corrupted xml.

Here are the traces for the cases mentioned above :
Repeats.log
Interval.log

Uploading Pets

We need a better way to upload pets I think. Github is too hard for most people.
If we could upload pets from the options menu, or the editor,, that would be perfect!

[UI] Display value on sliders

Thanks for the latest update!
But one good thing that would be useful is to see the actual value of the sliders.
image
image

sidenote: may be useful to just merge those 2 tabs as i would consider those both "options"?

Online pets not available

I've just installed and found the Online Pets tab is not working. Is this expected?
I'm using Windows 8.0 and don't have a proxy configured for my internet connection or anything.
image

joomla flex design

i tried to integrate sheep into joomla, i use flex design template which uses jquery and pagebuilder as source.
so loading is no problem, but no sheep..
any tips how to get it working?

Green sheep ignores taskbar sometimes

Green sheen may spawn inside the taskbar if it uses the meteor animation to spawn. Furthermore, black sheeps that may appear when using this pet spawn inside the taskbar too.

It wouldn't be a problem if it weren't for the fact that green sheep cannot get inside the taskbar by normal means, not even if I try to grab it and drop it in the taskbar

Is this the expected behavior?

Too many pets makes right clicking on the icon at the taskbar not possible

Hi,

Sometimes, when right clicking on the eSheep program icon and the alternatives / options menu appear, then the menu will disappear by it self after maybe 0.2 seconds. This makes it hard to, for example, being able to shut down the program. This is even more true when there are a lot of pets on the screen. It is a bug.

1.0.7 Source

Hi I have see v1.0.7 exe is avaiable to download but github is stop to v1.0.6 any upgrade source is scheduled? Regards

Spawning Children

How do you always spawn child in front of your Pet?

For example:
Below image (the bottom child) i have set position x to imageX-80 which spawns infront if pet is walking to the left, otherwise it will spawn behind, have also tried imageX+80 which has the same result except to the opposite direction.
image
Edit:
Solved this part used imageX+imageW somehow works.

peteditor: how to generate the .exe file?

hello
i've just tested peteditor and added the animation for gravity.
when finished, i clicked the "save as" button that creates a .xml file.
but what to do if i want to have a .exe file to test it directly on my desktop? (i use windows)

Feature request: detect/use either bottom or top window edge

It's so nice to see this app modernized in the 64-bit era, thank you!!

I wonder how complex it would be to be able to use the bottom window edge as well? The top is fun but the bottom would be great also.

Thank you so much Adriano it's a great widget/application!

Feature request for the flying saucer

If I remember correctly, the original sheep could encounter a UFO which resulted in the sheep being abducted by the UFO (not 100 % sure that this is the case but it should be possible to verify).

It would be great if this would work also in this C# version of the sheep.

It is possible that there are also more features and scenarios that would be nice to include (both from the old original version and brand new scenarios).

Request Mikan-Seijin

Any of you remember the orange? i still have the original file if anyone is able to recreate it, it was my favourite.... seeing an orange just floating around smoking and laughing lol

Sytem Tray Menu closes in frequent intervalls.

When ever some interval is reached the system tray menu just closes on me, that can be very short (if i open the menu right before), or a bit later ( if i miss the interval by just a bit), but the whole thing makes adding more sheep or other tasks from the menu quiet annoying to trigger.

It only happens with esheep and no other system tray menus.

Version: 2.5 (Store Version) as of 28.10.2020
OS: Windows 10 - Version: 20H2

Program doesn't work in cultures that use comma as decimal separator

Ver 0.9.0.

On start the program throws this exception

 System.FormatException: Входная строка имела неверный формат.
    в System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
    в System.Double.Parse(String s)
    в DesktopPet.Xml.loadAnimations(Animations animations)
    в DesktopPet.StartUp.timer1_Tick(Object sender, EventArgs e)
    в System.Windows.Forms.Timer.OnTick(EventArgs e)
    в System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

It happens because Double.Parse(String) by default uses current culture settings (unless ts explicitly told to use CultureInfo.InvariantCulture), which means that e.g. "0.8"(from <opacity>0.8</opacity>) is not a valid double in e.g. Russian system.

[Feature request] Allowing esheep to fall off occasionally when walking on top of a window

Hi, Team,

First of all, thank you very much for making esheep alive again!

When I grab a sheep to a window top, I observe that the sheep smartly turn back when walking to the edge of the window.

And when I move the window around, the sheep stick to the window.

If I remember correct, the old sheep sometimes falls off from the top of a window when walking to the "cliff", or when the window is suddenly moved away.

It would be more interesting if this feature can be include.

Thanks again & Best Regards.

[FEATURE REQUEST] Multiple Different Pets

Would be a nice addition to be able to have more than one type of pet on the desktop at once and be able to remove just 1 or all

maybe have the context menu like so:

  • add pet →
    • eSheep
    • gSheep
  • remove/kill pet →
    • All
    • eSheep (1)
    • eSheep (2)
    • gSheep (1)
  • options
  • install application
    etc..

And in the "add pet" menu just have pets that you have "Downloaded" or added to "Favorites" or some other option as to not have it filled with every pet that is in beta or released.

[FEATURE REQUEST] - Online Editor

A couple of features i think would be pretty useful for the online editor.

  • Ability to Delete Pets.

  • Ability to Delete Spawns, Animations, Children.

  • Auto add ID to Spawns, Animations when you create a new one (Still allow it to be editable).

  • Auto fill Repeats Count and Repeats From fields as 0 when you create a new animation.

    • image
  • Change Next Probability to select element

    • image
  • Change Child Animation Id and Next to select elements

  • Add ability to import xml file

  • On the image grid window, resize the image to height: 100vh; width: 100vw; once the page has finished loading (only needed if image to large but shouldn't affect other images anyway)

    • Before: image
    • After: image

list of some former possibilities to have back?

hello,

i've just found by chance this desktop sheep i had in 2000s.

i use the green sheep because he has more actions, but i remember some animations in the original program that are lacking here, is it possible to have them back please?

1 - there was the possibility to make it sleep after some time of the user inactivity and make them wake up as soon as we move the mouse,

2 - the sheeps could fight each other

3 - we could test all the animations in the options page in selecting them one by one.

4 - there was a yawn sound (now it is used only when it eats the flowers)

5 - is it possible to have the sound of the water when the sheep is in the bath?^^ (this did not exist in the past)

6 - the black sheeps can be annoying because we can't move them when they stay on an area of the screen we want to use, so can we move them? (or choose to not display them)?

many thanks i love these pets they are so cute^^

Noticed in new commits used Tabs not spaces ?

The rest of your code base which i snooped around last night was space indented new commits are Tabs.
I tend to prefer spaces,but that's not the point, pick one or other and and stick to it :)

Cheers!

no sound at all

I have windows 7 and turned on the sound option but there's not any sound. Nothing. How can it be fixed? I never had any issue before

[BUG] Editor - (Flip) showing in wrong section

For some reason the 'repeats from' field is showing as the 'action' (it still applies it as the action in the application though)
repeats from: flip
image
The 'action' options are still - and flip though.

Systray right-click menu closes itself

Latest Win10 here. The context menu closes by itself directly after I right-click on the icon.

It seems to be worse if the number of sheep is higher.

Missing Animations for sheep/gsheep?

Apologies but i have half inched a comment from the youtube comments for esheep :) Just wondered if all the animations that were in the original esheep and gsheep are in the UWP version ?

If not could we get them added if its possible, that would be awesome !

This is just a shadow of the original one. It doesn't pee on the flowers that very rarely pop up like it used to do occasionally?

Now it eats them more often than not at the edge of the screen almost out of shot.
Where is the black sheep that would suddenly make an appearance all by itself,, or the flying saucer that beamed eSheep up?

This one walks, sleeps, yawns, jumps and runs but that is all it does, I was hoping for the original sheep.exe in all its glory - this one is a waste of time. Been running it for half an hour and I've seen half of the flowers being eaten - once.....No Black sheep, no flying saucer, pity!

Thanks

David

Portable mode

Hello.

I want to run this application as a portable application.

So I don't install it, and run it directly from the .exe

However, it leaves the config file here:

C:\Users\name\AppData\Local\Adriano

Instead of this, is it possible to leave the config file in the same directory as the exe, in the non-installed version?

Thank you.

Change neko spawn location from middle of screen

I'd love to have him spawn in a different spot, currently it issues in some fps games because he will steal focus from the window due to the cursor being right where he spawns. Where in the files can I find that to modify?

Index out of bounds of array

With latest code:
getting an index out of bounds array on an animation frame it looks like:
Animation ID : 1
Animation Name: Walk
Animation Sequence: 2,3,

Could be on other animation id's as well. I just finally got this so many times to post this.

Script and website /_ ! _\

Your website can't charge and you script e-sheep is not working anymore , this is the problem i think , i hope a fixe , then i can use it again , thx and sorry for my english .

sheep - sheep collision

The original esheep had a collision detection between sheeps.
This version is ignoring it, or threat them as normal window (in fact it is a normal window).

mac os x

can you guys add mac os x plz? i will love it if you do!

Download issue

I feel like a complete idiot for asking a simple question like this, I'm sure that it's right in front of my eyes but I can't see it.
I haven't been able to figure how to download the latest version 1.2.5 (https://github.com/Adrianotiger/desktopPet/releases/tag/v1.2.5)
I can't run DesktopPet.gz file, isn't there an exe? I am currently using the old 1.2.1 version (https://github.com/Adrianotiger/desktopPet/releases/tag/desktop1.2.1) that has an .exe on the download page.
How can I download the latest version?
By the way, I am a big fan of the project! thank you for bringing back esheep!

MacOS port?

Thank you so much for this lovely app.
Any thoughts on porting it to MacOS? What would it take in order to do that?

[Feature request] Anti-gravity button for sheep

Hi, Team,

Currently sheep are stays on the ground or walking on top of windows.

I remember that old esheep provides an option to disable gravity for sheep, allowing sheep walking on the screen anywhere, and sometimes they climb up (in 45 degrees) to a different level.

It would make the screen "noisy" and more fun if such feature can be include again.

Thanks. 😊

A crash sliding down window edge.

Windows 10 64 bit.
When it slid down a window edge and when it encountered another window border below it it stopped as you would expect but when it stopped it crashed.

I've been considering writing a replacement for esheep a long time - well done!

Also a side note, I've had it active and bring a window to the foreground when it collides with it, I think this is a very bad idea, it should be totally passive with no side effects to windows in my opinion.

Error when dragging beta pet

Beta pet 417 - SSJ Goku

Error Message appears roughly 1-3 seconds after drag start (image below).
Once the message appears the pet stays in place and is no longer movable,
you can still add more pets afterwards though while that one remains.

error message
More Info:

It looks to me like its adding an extra comma to the end of the drag sequence. not sure why though.

If you need any more information let me know.

Limit number of pets on the screen

Let us say that I start with 3 pets when the program launch. After some time I might have 9 sheep on my screen. I think that if I limit it to 3 at start up then it should stay at 3. Or an extra surprise sheep at some point. But 9 sheep is a bit too much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.