UQdeco2800 / minesim

MIT License
2 stars 3 forks source link

Import Particle System from Farm #20

Open james-garrett opened 8 years ago

james-garrett commented 8 years ago

Taking the 'Particle' package from the farmsim folder in the Farm project, importing the system and getting basic weather features like rain into a somewhat operational state.

james-garrett commented 8 years ago

As of today, I've made a little progress on bringing the particle renderer over from the Farm's code. I've created a new branch called Particle_Implementation, where I've taken the package "Particle" from Farmsim, ripped it out and copied it into the minesim directory. The reason I've done this is because Farm's world rendering operates similarly to ours, the one major difference being the change of perspective from top-down to our ant-farm side-on view.

Actually getting the renderer to work is taking some time since a few of the variables such as the size of tiles, the world instance and the edges of the current screen being rendered are all set up and structured differently. Ideally I want to import the dynamic weather system used in Farmsim too as its the sole reason that the particle renderer exists in the first place. I've created ticket #21 for the weather system implementation, and I expect that I'll complete both around the same time since they're co-dependant.