DDR-ish system.

Started by PsychicHeart, Thu 09/03/2006 05:45:11

Previous topic - Next topic

PsychicHeart

greetings,
i have an idea, a pipedream if you will of a system like this:
to complete each game level, blocks will fall down the screen. As to not lose, you must click each block before it reaches the ground. I'm not sure if AGS's capabilites suit this, but i thought i'd ask anyway.
Formerly known as Flukeblake, Flukezy etc.

Khris

It's definitely possible and not too hard either.
Depending on the number of blocks, you could use objects or RawDraw functions to achieve this.
Some quite simple code in the repeatedly_execute and on_mouse_click and you're done.

PsychicHeart

about 10-25 blocks per level. I want it so that after two or three go down, the next three go down, then the next three and so on. Achievable?
Formerly known as Flukeblake, Flukezy etc.

Khris

Yes, no prob for AGS.
As for objects vs. RawDraw, it's important how many blocks will be on screen simultaneously, I think AGS's object limit is somewhere around 20, so no problem here, too.

Easiest method would be to use an array to store coords for the objects, move them in the rep_ex and use Object.GetAtScreenXY(mouse.x, mouse.y) in the on_mouse_click to handle clicks.

SMF spam blocked by CleanTalk