Giter VIP home page Giter VIP logo

ptr-cs / symbol-blaster Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.91 MB

Game with modern UI inspired by retro arcade cabinets. Written in C# using WPF. Prototyped in Adobe XD.

Home Page: http://dividebyzeno.com/symbol-blaster-game-part1.html

License: Other

C# 100.00%
adobe adobe-xd csharp experience foundation game interface presentation prototype rendering retro ui unicode user ux windows wpf xd compositiontarget

symbol-blaster's Introduction

Symbol-Blaster

Game with modern user interface (UI) inspired by retro arcade cabinets. Written in C# using Windows Presentation Foundation (WPF). Prototyped in Adobe XD.

Symbol Blaster - prototype

Summary

    Inspired by retro arcade game mechanics and visuals, Symbol Blaster is an old-school, 2-D shooter game with modern twists. Whereas many games from the "Golden Age" of arcade systems featured static, pre-defined game object geometries, Symbol Blaster allows the player to customize the geometries and colors of all major game objects ("Sprites") in real-time. Changing the geometry of a Sprite in Symbol Blaster also changes that Sprite's underlying hit-test geometry, resulting in subtle game-play variations based on the sizes and shapes of customized Sprites.

Symbol Blaster - overview

How It Works

    Symbol Blaster features a Model-View-ViewModel (M-V-VM) architecture to implement the UI and game world. A MainViewModel governs the state and behavior of the UI, while a GameViewModel governs the state and behavior of the game. The eXtensible Application Markup Language (XAML) code that defines the "skeleton" of the UI incorporates the ViewModel logic through various data-bindings that enable the user to influence application state. Since the UI navigation topology is fixed at compile time, navigation is handled by a simple TabControl populated with TabItems that contain collapsible sections. Both the front-end XAML and the back-end ViewModel components are modular in order to foster development efficiency and easier maintenance. NUnit is the unit testing framework used to conduct automated testing of the application.

For a more detailed explanation of the code, a blog post about the project is available here.

Features

  • Modern "flat" UI prototyped in Adobe XD and implemented in XAML
  • User Experience (UX) features for streamlined usage:
    • informative tooltips
    • dynamically resizable text
    • game control mapping visualization
    • form submission management
    • fluid-resize of applicaton
  • Rudimentary game mechanics
  • Custom update loop rendering performed via a CompositionTarget.Rendering event handler
  • Unit tested with NUnit

Setup

    The repository consists of two Visual Studio projects - the SymbolBlaster project and an NUnit test project. Opening the SymbolBlaster/SymbolBlaster.sln file in Visual Studio should allow both projects to be built and run.

Screenshots

Adobe XD Artboards

Symbol Blaster - artboards

Comparison of Adobe XD prototype UI (left) with XAML implementation (right)

Symbol Blaster - comparison

Game Object Sprite Selector

Symbol Blaster - sprites

Color Selector UserControl

Symbol Blaster - color selector

Game Objects

Symbol Blaster - game objects

Configuration Presets

Symbol Blaster - presets Symbol Blaster - custom

symbol-blaster's People

Contributors

ptr-cs avatar

Stargazers

Roman avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.