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

What's the status? #14

Open
liamoc opened this issue Jul 23, 2021 · 4 comments
Open

What's the status? #14

liamoc opened this issue Jul 23, 2021 · 4 comments

Comments

@liamoc
Copy link

liamoc commented Jul 23, 2021

Hi, I'm the author of the Micro Entertainment Pack a collection of games written in Rust using my tesserae tile graphics library.

I was thinking it would be super cool to write a port of micropolis using an interface from my library, and I found that you seem to have already ported it to Rust!

What's the status of this project? Would I be able to take the micropolis_core crate, add an interface and have the full simcity experience? Or is there still more work to be done?

@pierreyoda
Copy link
Owner

Hi liamoc, thank you for your interest !

I'd say the micropolis_core crate is about 60% complete, I'm actively working on it whenever I can.

I would definitely be exited by another interface, I'm personally working on one with React and Next.js.

@liamoc
Copy link
Author

liamoc commented Jul 31, 2021

Great! I am starting to work on a frontend now. Perhaps a silly question: What's the top-level structure I should use for the entire game state? At first I thought it was perhaps City, but the only constructor for this creates a City with an entirely blank map of dirt. Then I saw the MicropolisCoreInterfacer structure but that requires a MicropolisCoreOptions structure which has non-public fields and no constructor. So I'm a bit unsure where to begin. My intuition says that I should be able to run a map generator and start a city on a random map, then extract the TileMap and start drawing, but I'm stumbling on the first part. Any suggestions?

@pierreyoda
Copy link
Owner

Yes the initialisation story is not quite there yet, I would definitely like to offer a builder pattern accessible from the WASM interface. I will create an issue to do just this.

@liamoc
Copy link
Author

liamoc commented Aug 5, 2021

Great! I will follow progress closely.

@github-staff github-staff deleted a comment from thangtq-pionero Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants