Messing around with some networking c++ code from this book
To get running on a mac, you'll need the following installed.
- cmake
- sdl2
- sdl2_image
The easiest way on a mac to do so is brew install cmake sdl2 sdl_image
Messing around with some networking c++ code
Messing around with some networking c++ code from this book
To get running on a mac, you'll need the following installed.
The easiest way on a mac to do so is brew install cmake sdl2 sdl_image
When you exit the client, you get a error message about it crashing. I'm pretty sure it's because the main thread isn't tell the child threads to exit.
Do it. Need to figure out #3 though.
Implement a ghost of the last server location on the client
Currently, there is just three libraries, the shared one, client and server. Ideally it would be nice to be able to have sub libraries for things like networking, logging, gameplay etc. Then just link them at compile time. Makes unit testing way easier
Have health and damage for players and minions
There are currently a ton of print statements and it's not way to debug a networked game. Wireshark is awful but it is the easiest way to get real time analysis on the packet data. It will also force some documentation of the protocol
Get the ability to place static objects in the world, maybe through a simple map file. Attributes of a static object would be
The sprite should be sized to the size given. Or maybe the other way around, I'm not sure. They need to inform each other some way though
Probably should start doing them
Start making it not a bunch of squares and terrible colors
First pass of an unoptimized collisions system.
Currently PlayerClient assumes a single client. Need to start handling a remote client player.
Using linenoise, create a simple console for issuing debugging commands. Some simple commands would be
A simple shooting mechanic that shoots where the mouse is pointing
Have a basic gameplay mechanic of being able to spawn a minion that the player can control
A logger should have
Simulate latency in the NetworkManager
Have a simple AI for a minion that does the following
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.