Coder Social home page Coder Social logo

fantasyfeuds's People

Contributors

wmaillard avatar

Stargazers

 avatar

Watchers

 avatar  avatar

fantasyfeuds's Issues

Deselect Entities

Once selected, entities cannot be deselected. This may not be a problem once the entities are added via the sidebar

Pathfinding x-axis

If you click on the x-axis then no path is added to the enitities path property (or an empty path is added, one of the two).

New characters big issue

Drawing entities needs to be modified to support drawing characters from spritesheets of different sizes. This way, all of the better spritesheets can be used.

Entities walking

Walking entities have the following problems:

  • They shuffle when standing still
  • They do not face the right way when walking (probably wait until #6 is fixed so we get the full span of walking frames)

Documentation

Someone ;) needs to start writing documentation for each part of the application. Each time that a pull is complete, write a little bit about what that piece of code does, before it is forgotten.

Add entities from sidebar

The user should be able to pick an entity from the sidebar, the sidebar should close, then the user should be able to click on the map and, if it is a legal location, add the entity. This will eventually subtract the cost of an entity from the players bank.

Wall problems

Entities no longer disappear when they are under the wall

Pathfinding

Pathfinding currently stops a the closest end node, this needs to extend a little more to the actual click spot

IsInWindow

Big bug is IsInWindow that affects select all entities and drawEntities

Selecting an entity

Selecting an entity is buggy and may be incomplete, this needs to be evaluated

Map Problem

Many areas of the maps are not defined correctly in blockingTerrain. drawTestDots needs to be used to locate these problems and figure out their cause and fix.

Location Entities are drawn

Entities currently end their pathfinding with their top left corner on the endNode. Entities x, y should correspond to their center or base depending on what looks best. This should be remedied by simply creating a setEntityCoords method that alters the coords. A getEntityCoords would then needed to be created too. It may be easier to adjust how/where entities are drawn in the drawEntities method. Some thought should be put into this to make sure that it will not cause other issues.

NextEntity

If you click next while already going there is a problem, need to kill set timeout, or probably use set interval then kill

Draw Entities

Draw Entities is going through all the entities and redrawing every one. This needs to change to just go through those that have changed and draw them. A simple way may be to add the entities that have changed to a changedEntities array. drawEntities currently clears the entire canvas though (and possibly draws entities that outside the canvas), this needs to be fixed.

Map Drawing

The map is being drawn at 30fps even when it doesn't change, waste of resources, should just set a flag or something when zoom/pan/resize happens and only draw then

Server

Create a list of what needs to be sent to the server and what the server needs to respond with. This can be the bare minimum, the backbone needs to be created so that this thing keeps its momentum. Set up the server using auth0, express, and socket.io. Get multiplayer going by 9/11/16.

draw dots

Draw dots and its errors are causing a huge slowdown atm

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.