Coder Social home page Coder Social logo

adefwebserver / automatickingdom Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 6.0 16.73 MB

Blazor Server Side Application

Home Page: https://AutomaticKingdom.com/

License: MIT License

HTML 0.14% C# 94.75% CSS 0.12% JavaScript 4.99%
blazor blazor-server

automatickingdom's Introduction

automatickingdom's People

Contributors

adefwebserver avatar sql-mistermagoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

automatickingdom's Issues

WorldObject Documentation

Impresseive Demo. Can you explain how/where the WordObject is defined and how own Objects can be added ?

So No an Issue, could be marked as documentation

Implement WorldObject

Implement the Initial WorldObject

image

What is it: WorldObject is the object passed to the AnimationLoop method and returned by the AnimationLoop method. The AnimationLoop method is called once each cycle in the Game Loop, (initially usually 1-3 times a second).

Long Range Plan: The WorldObject will be expandable, as needed, to have unlimited properties (methods?) (both incoming and outgoing)

Initial Definition

WorldObject

  • CurrentWorld (World) - Describes what is around the current user
  • CurrentLocation (WorldLocation) - Describes where the current user is in the CurrentWorld
  • Response (String) - Describes the output of the AnimationLoop. The Game engine will animate the user's character to show this response and to also show the result.

World

  • WorldLocations (List of WorldLocation objects) - A 100x100 grid around the current user

WorldLocation

  • Latitude (integer)
  • Longitude (integer)
  • WorldObjects (List of WorldObject objects) - World Objects occupying this location

WorldObject

  • ObjectId (integer) - Unique Identifier
  • ObjectType (String) - Type/Class of Object
  • ObjectMesh (Mesh) - Mesh to use to display the object
  • ObjectState (Animation) - Name of Animation in the Mesh
  • ObjectData (String) - Custom data associated with the object

Blockly Block

  • Create a custom "WorldObject" Blockly Block that has all the properties of the WorldObject

Notes

Need to create additional custom Blockly Blocks that make it easy to "See" items in the "World" and "React" to them

  • SearchForWorldObject - Returns WorldObject object by ObjectId
  • SearchForWorldObjects - Returns all WorldObject objects by ObjectType

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.