kelvinau / web-esheep

web based esheep (remembering the esheep from '95)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

web eSheep

Can you remember the nice sheep from the '90 years?
eSheep for 64bit systems

After a C# project to see it again on Windows 64 bits, I wrote a simple script to see it again on the webpages.
It is only a script to import, so it is really simple to implement in your page. You have to write this to see the pet walking around your page:

<head>
...
<script src="https://adrianotiger.github.io/web-esheep/src/esheep.js"></script>
</head>
<body>
...
<script>
var sheep = new eSheep(); 
sheep.Start(); 
</script>
</body>

And now?

Check out the demo, to see how integrate it in your webpage: https://adrianotiger.github.io/web-esheep/samples/

If you want create your animation, you can use the editor or find some other already-created animations on my webpage: ehseep.petrucci.ch

Build

eSheep uses yarn to build it.

Set up build environment

yarn install --dev

Build the files in dist

yarn build

Tampermonkey script

Do you have Firefox, Chrome, Opera or Edge? Add this sheep to Google and Bing search machines over this simple Tampermonkey script: esheep.user.js

Browser limits

The most recent browsers doesn't allows cross requests over Javascript. So the script and the animation xml have to be on the same server. If you want load an xml from esheep, you have to insert the php script instead of the xml (it will create some special headers, so that the xml will be loaded).

Credits

Tatsutoshi Nomura is the creator of the esheep and designed it for Fuji Television. This is only a copy, using some images found in the web.

About

web based esheep (remembering the esheep from '95)

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%