CS113 / fatty-big-star

A browser based platform game, by: Lucas, Dinali, Allan, Han, Skylar
MIT License
0 stars 4 forks source link

Generate Krabby Patties in patterns #26

Closed codelucas closed 9 years ago

codelucas commented 9 years ago

"Pattern" here is used loosely.

Currently, patties are being generated randomly on the map, i.e. x-axis values are chosen at random. This hurts our game's visual appeal and hinders gameplay. How does this affect gameplay? It may be more fun to guide the avatar through a wave formation of patties, rather than ransacking around for patties spread out in no order.

I'd think that this will be a tough task. However, you'll have a lot of freedom with it. Modify whatever code that you'd like, but try to see if we have existing abstractions to help you with your job.

In particular, I'd like to note our add_grouped function: https://github.com/CS113/fatty-big-star/blob/master/static/js/main.js#L361 which is what we've been using to generate randomized groups of air bubbles and jellyfish. Perhaps you can tweak or make a similar method for patties?

codelucas commented 9 years ago

a2734ee9d7d7025c38e88c5a100cba19586b04da 632d8af1dc3c7d1bdf8d0a2ec44c3d7e7bfdc654