mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-05-10 02:26:45 -07:00
initial pet progress
This commit is contained in:
parent
8d9866d048
commit
9b517efed8
4 changed files with 236 additions and 1 deletions
25
site/pages/pet.md
Normal file
25
site/pages/pet.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
title: pet
|
||||
scripts: ["js/pet.js"]
|
||||
styles: ["pet.css"]
|
||||
---
|
||||
|
||||
<div id="pet-display">
|
||||
<p>--pet placeholder here--</p>
|
||||
<!-- TODO: make pets interactable -->
|
||||
</div>
|
||||
|
||||
<div id="egg">
|
||||
<p>whoa! you just found an egg somewhere! maybe you should watch it and see what happens..</p>
|
||||
</div>
|
||||
|
||||
<div id="pet-setup" class="hidden">
|
||||
<p>whoa! your egg just hatched into a new creature! what should you name it?</p>
|
||||
<input type="text" name="pet-name" max-length="50">
|
||||
<button>name it!</button>
|
||||
</div>
|
||||
|
||||
<div id="debug-section">
|
||||
<button id="force-update">force update</button>
|
||||
<p>LS: <span name="ls"></span> A: <span name="a"></span> F: <span name="f"></span> B: <span name="b"></span> P: <span name="p"></span></p>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue