tomaszwychocki / medieval-life-simulator Goto Github PK
View Code? Open in Web Editor NEWIt's medieval life simulator
License: MIT License
It's medieval life simulator
License: MIT License
You can add pictures/icons to existing buildings and characters.
Let's think about background.Any ideas? What about grass texture?
Create class, which shows ?hospital? in village. All villagers can heal own wounds (restore health points).
Create new class responsible for drawing and performing warriors actions.
What we need at the beginning is to create warrior, who can take a sword from blacksmith and come back to barracks.
We need somebody, who can create function/class to spawn enemies in random places and time in the village. Enemies must be able to attack villagers. Warriors must detect enemies and defend village. We also need health points.
We need to create new class, which shows houses (images) for miners. Also we need to add time counting. It will be necessary to tell miners if they should go home to sleep.
So, we need to:
Create new building class and set image/icon to show it in the village. This will be home for warriors.
Warriors can't kill enemies without sword. They must take it from blacksmith. Every hit should damage this weapon.
Also add icon if warrior has a sword.
Add some background music and blacksmith, mining etc. sounds.
Even has commit that fixed from @TomaszWychocki. Chrome browser can't load both json and image that
because some p5js internal change to use Fetch API in order to load some resource types, the file:// scheme seems to work only in Firefox now!
https://discourse.processing.org/t/fetch-api-cannot-load-file/3261/3
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.