jobtalle / koi Goto Github PK
View Code? Open in Web Editor NEWKoi Farm, a koi breeding game
Home Page: https://koifarmgame.com/
License: Other
Koi Farm, a koi breeding game
Home Page: https://koifarmgame.com/
License: Other
Detecting whether the effect should play should work similarly to wind displacement: check the path the cursor has moved with a certain interval.
Multiple ponds can be played at. When switching to another pond, other ponds are paused.
Pond selection could be done using GUI similar to a phone home view, swiping left or right moves through the ponds.
A book with pages of cards. Some card slots have specific conditions for the card they should hold.
Caused by getting the HTML rectangle of the book when it is out of view
Diagonal sun rays would be cool to make sunny weather stand out more.
Hitboxes are not accurate and hard to catch, they need two phases:
This enables fish to be picked up easier with touch controls, while preventing offset overlap.
The fish sometimes turn into cards when dropped outside the target
When selecting a new koi without handling the previous drop event, memory may be lost.
A book for collecting and storing cards.
Should support panning to localize sounds produced at fish locations.
OGG is the preferred format, AAC can be a fallback for edge & safari.
Currently the card overlaps the thing you'd want to see.
Currently they get hidden under the finger when using touch controls
Roughly the same as #2, with extra dimension
If both fish have equal layer types and an equal palette track, interpolate properties according to sigmoid samplers.
If fish are different, pick either pattern.
Always mutate in the end.
These rules assure that any new color mutation will be explicitly designed.
Fish effects should be panned depending on fish location
Card image could be static (rendered as a texture by the main renderer, then converted to canvas), or dynamic, which requires a WebGL context & renderer per card.
The Fish object will then merely represent a body in the world, the body will represent all individual properties.
Palette positions should not mutate. Instead, certain combinations of colors should have a certain chance to mutate into a new color.
Palette tracks will still exist (for design purposes), but palette samples will not be 2D. Instead, they will be indices.
Palette samples can have the shiny property. This adds glistering effects and possibly particles to a color. Koi can have different degrees of shininess; it may apply to one or more layers.
It's quite annoying to have it in view when dragging fish between ponds
Cards should snap back into card hand when not being moved
A shared panning model which calculates pan based on screen position. This model should not use the entire possible range, and have a dead zone in the center.
Sometimes rain fades away directly after refreshing / deserializing. This may indicate that the previous weather state is not serialized correctly.
Wind gusts over water don't show up
Fish weight calculations are required for sound production & fish rating
Currently, it stops abruptly. The intensity should slowly decay to zero instead.
Web app manifest can suggest the browser to display the app in landscape mode, which is desirable. Also see this.
Threshold gets higher the further it is from the focal point
This should be used instead of clicking outside the book area
Card book pages should be shaded as the pages turn
Ideally, they should be placed back into the card hand.
Factor in threshold, focus size
This means that on touch event, the audio engine is created, but it fails to play audio.
Fixing this may fix #39
Similar to #3
Card shows a high res version of the fish, and enumerates its stats:
Audio does not play on android at this point
Koi can be sold. Possibly through their card view.
Pricing for koi should depend on a base price and the number of units sold. For example, the price for a certain fish can be 10 / (f * sold + 1)
, which means the first fish of that type gives 10 coins, and all subsequent ones less than that. In this formula, f
determines how fast the price decreases.
Additionally, sold
can diminish over time to prevent the market becoming saturated forever.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.