Giter Site home page Giter Site logo

hsadler / unity-2d-topdown-template Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 1.0 3.32 MB

Unity template for a 2D top down style game.

License: MIT License

C# 58.55% ShaderLab 35.31% HLSL 6.14%
game-development game-template template template-project template-repository topdown unity unity-template unity2d

unity-2d-topdown-template's Introduction

Unity 2D Topdown Template

Unity template for a 2D top down, drag-and-drop style building game.

Unity Version: 2022.3.17f1

Details

Players can create new play scenes, select from their inventory to add game-entities to a discrete grid play space, and "run" the factory they've created.

Some game-entities can be selected, drag/dropped, rotated, and destroyed by the player. Game-entities can also act upon other game-entities.

Players can go back and forward in the history, both in terms of how they've moved game-entities, and the automations their factory has performed.

The game developer can create new game-entities and give them both common and custom behaviors.

What's included?

  • Scenes:
    • GameStart
    • LoadGame
    • PlayScene
  • Systems:
    • Save:
      • New game
      • Load game
      • Delete save
      • Auto-save
    • Play Space
      • Configurable grid size
    • Camera:
      • Zoom
      • Panning
      • Panning bounds
    • Inventory:
      • Full inventory modal
      • Inventory hotbar
      • Hotbar item selection
    • Player Input:
      • Camera zoom+pan controls
      • Game-entity interactions:
        • Select (single & multi)
        • Drag/drop
        • Rotate
        • Copy
        • Delete
      • Undo/redo controls
      • Play/pause controls
    • Game Entities
      • Shared behaviors
      • Programmable autobehaviors
      • Repository for managing existence and availablity of game-entities
    • Game Entity Management
      • Multilevel grid layers
      • Enforced discrete position
      • Enforced single occupation per position
      • Query by position
      • Insert
      • Remove
    • Game Tick:
      • Tick event
      • Configurable tick duration
      • Execution of game-entity autobehaviors per tick
    • Developer Toggles:
      • Admin mode
      • Telemetry display
      • Game-entity debug display

unity-2d-topdown-template's People

Contributors

hsadler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.