Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Trains support #60

Open
teoxoy opened this issue Mar 7, 2019 · 1 comment
Open

[FEAT] Trains support #60

teoxoy opened this issue Mar 7, 2019 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@teoxoy
Copy link
Owner

teoxoy commented Mar 7, 2019

Trains are quite a challenge to implement in the browser and this is because the spritesheets of all train rotations are huge.

Currently all entities are in 1 spritesheet. The HR spritesheet is an 8k texture which is max on most computers so before we add a train spritesheet(s) we need to come up with a way to programmatically split big spritesheets into smaller ones (that's what Factorio does too afaik).

Even with that in place the size of the train spritesheet(s) is something to be thought of.
When it comes to rendering, I guess we can make the app only fetch the spritesheet with the correct train rotation but what happens in the future if we would like to add the ability to move trains?

Ref: #67 (comment)

@teoxoy teoxoy added the enhancement New feature or request label Mar 7, 2019
@teoxoy teoxoy changed the title [FEAT] Support for trains [FEAT] Trains support Mar 7, 2019
@teoxoy
Copy link
Owner Author

teoxoy commented Jul 1, 2019

Related #67

@teoxoy teoxoy added this to To do in Roadmap Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Roadmap
  
To do
Development

No branches or pull requests

1 participant