Code Monkey home page Code Monkey logo

polaris's Introduction

Polaris

This repository contains the source code of the Polaris game, which you can download for free here.

I worked as the solo programmer in this game, with a team working on level design, modelling and texturing.

The game was built in Unity 2017.2.0f3, but it will not build as it is in this repository because the lack of assets. This is only for reference.

About the source

This code was developed from ground up to be performant, and if you play it without Unity's Post-Process effects, I think the goal was accomplished. With the post-process enabled, the game will suffer on the biggest rooms. All of the systems and functions were written from scratch, except for the EZ Camera Shake plugin. Some of the tricks used in the game are:

  • pooling of decals and sounds;
  • extensive use of collision layers;
  • there's no instantiation or de-instantiation at runtime;
  • everything that could be preloaded is preloaded;
  • there's very little use of Find or GetComponent at runtime;

The game is also modular, so is not hard to add more guns, enemies or items.

Additional Notes

Looking back, there's a lot of things which I would do differently today. However, I'm very proud of what this turned, despite the poor planning and lack of experience with such a big project.

polaris's People

Contributors

odynm avatar

Watchers

James Cloos 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.