Git Product home page Git Product logo

citizens's Introduction

gc

citizens's People

Contributors

diabolickal avatar gc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

diabolickal cyr-r

citizens's Issues

Need contribution? Came here from Reddit

Hey, I saw your reddit post about this project, and was wondering if there are any areas of the project where you're open for contributions. Excited to see where this leads :)

Optimize Entities List

Currently, we are maintaining two separate lists of two different entity types. We should consolidate all of them into a single entity list within the region class and have that be the centralized fetch location for all the other classes. This would eliminate the potential of mismatched lists and the subsequent bugs that may be caused by that happening.

Scripted Citizens not handled

Scripted citizens are not handled properly in loadScriptedCitizen (and in the panel probably).

We can JSONify their actions something like this (We can discuss the format):

"script":[
   {
      "type":"MoveTo",
      "data":{
         "location":{
            "x",
            "y",
            "z"
         }
      },
      {
         "type":"Wait",
         "data":{
            "seconds":1.5
         }
      },
      {
         "type":"Say",
         "data":{
            "message":"Hi!"
         }
      }
   ]

i dont particularly think we should try to make an ingame editor for the scripts, atleast not now. it would be more complex than the others by far i think. so we can manually create them in json, which isnt too bad.

moveAnimation appears in json for stationary citizens

When creating a stationary citizen, moveAnimation gets added to the json. This ideally would cause a validation error in the json itself, I'd rather we throw a big scary error if anything in the json is even remotely slightly off like this, so we can have full confidence in our data.

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.