rosalogia / bika-town Goto Github PK
View Code? Open in Web Editor NEWA little game for my friends and I, written in Rust, with way too much time spent on designing the programming interface
A little game for my friends and I, written in Rust, with way too much time spent on designing the programming interface
Currently, if the player moves off-screen, they become invisible but are still able to move within the map. Instead, the rendered subset of the map should change according to the current position of the player. We're presented with a few obvious choices in how a solution should work:
We should implement and test both approaches and see what fits best.
Some information like sprite locations and dimensions, window dimensions, etc. should be stored in files rather than declared in the code.
Players have no way to view their current HP, MP, EXP, or current level. A robust system for displaying this information using the proprietary UI assets should be implemented, probably by querying the ECS for relevant information from the player in the loop.
It's becoming increasingly difficult to manage the moving parts of the project without a way to conveniently say "well, all these things move in one of four directions so share this code between them, and all these things have health and take damage so share that code between them, ..."
A good solution to this problem is introducing an Entity-Component-System library, some good choices may be Legion or Specs. Legion is more up to date than Specs, but Specs is slightly more documented (in that there is a Specs book). Alternatively, we could roll our own, but we should figure out whether there's any real benefit to that before we decide to do so.
The game is currently single-player, but should be multi-player. We will implement a TCP server to which we'll move all the logic and state-handling from the current main executable. The main executable will then become a client which merely renders state information sent to it by the server.
This is low-priority, it doesn't really make sense to convert the single-player game to a multi-player game until it's sufficiently fully featured. At that point, development of the server should begin.
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.