Sample code demonstrates:

- good design and architecture based on modular separation of concerns that allows different modules to be easily distributed in different combinations

- clean coding and good organization of files and projects

- simple 2D game renderer with animation of movements of characters

- game modules are active objects(can run in separate threads) and communication between modules is via message queues protected with mutex - demonstrating safe usage of multithreading...

- xml is used to serialize maps of objects and initial positions of agents for different level

- networking via udp... udp server and client are configurable to transfer either binary data or xml data (binary data transfer is faster but xml is useful e.g. to communicate with game editor that is written in C#

- agents with simple AI behavior - agents are wondering around and start chasing user when he is in proximity

- basic knowledge of C# (game editor is implemented in C#

Project Activity

See All Activity >

Follow 2D_Game_Example_CPP

2D_Game_Example_CPP Web Site

You Might Also Like
Gain Advanced Threat Protection for Your AWS Workloads Icon
Gain Advanced Threat Protection for Your AWS Workloads

Running FortiGate NGFW on AWS Graviton2 Lets You Boost Scalability With Reduced Compute Costs

FortiGate-VM delivers comprehensive security and scalable VPN connectivity for your AWS workloads, while native AWS integrations unlock broad coverage for your environment. Now with support for AWS Graviton2 instances, FortiGate lets you optimize price performance and reduce your Amazon EC2 costs by up to 20 percent. Deploy today in AWS Marketplace.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of 2D_Game_Example_CPP!

Additional Project Details

Registered

2013-08-20