I'm putting myself in a project where I only have the ideas, but not the programming skills! Still, asking people for little help is always a good start for learning!
The random spawn is quite simple indeed.
Each 3 seconds, it have 1 chance on 2 to spawn a block.
if it spawn a block, 30% chance it will be red, blue or yellow. 10% chance it will be white.
When the color is set, 25% of having a speed of 10,15,20 or 25.
in the game, there is 6 spawner like that, all directed toward the player.
The difficulty is based on those spawner ; easy: 2 spawner. Medium: 4 spawner. Hard: 6 spawner.
Right now, it's all working.
but the next step? ouch.
Did I mentionned it used physics?
Next step : ID for each block, and animation frame that toggle physics.
(If on paper it's all working and logic, in MMF2, it should work! right?)
|