BLUE (Updated EXE, 11-12-2009)

Post your Construct-made creations!

Post » Thu Nov 12, 2009 3:25 am

Thanks. :) Yeah, I was having trouble getting the volume to work how I wanted it to. I wanted it to fade away quickly, and not have a harsh on/off effect, but I just couldn't get it working right. Still messing with it.

I can't take full credit for the mouse gestures because cow_trix suggested a system in the help thread. I tried it and it worked and I added in a few extra checks to make sure a circle was drawn exactly.

It's really simple.



Basically, a group of invisible sprites follow the mouse cursor, that look like that diagram. When the mouse button is held down, the group sets into position and will no longer move where the cursor goes. When the mouse button is released the group pops back into position following the cursor.

The little sprites in a circle path can be turned on if the mouse cursor touches them. They will turn off if they touch any of the blue sprites. When all the waypoint sprites are turned on it initiates an event. The player MUST draw some semblance of a circle in order for all the waypoint sprites to be turned on at the same time. See easy?

So now, theoretically, I could make a square or a triangle or any other shape I want with this same premise. Or I could even have smaller circles cause different events.

Something I thought about implementing (but didn't do) was to try scaling. So that the size of the invisible sprite group would change according to how far the mouse is moved, so that a circle could be drawn at any size, so long as it was a circle. It was about 2 or 3 events too much work for me, though. haha. It could be done like that too though.
B
5
G
4
Posts: 50
Reputation: 1,225

Post » Thu Nov 12, 2009 3:53 am

Nice, thanks for the explanation
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Fri Nov 13, 2009 12:09 am

New version up!

http://www.jasonkoohi.com/blue__11-12-09.zip

Controls so far:

draw a circle with the mouse - Make a storm
press K - Kite flies by
Press B - Birds fly by
press A - airplane flies by
Numbers 1-9 do different atmosphere colors (1-4 go from daytime to nighttime sequentially)

These are just pieces of the game. Now I need to assemble them into something that is fun. For instance, i need to have a new gesture to make the plane fly by, or something. The environment is looking how i want it to, but it needs gameplay to work. That's next on my to-do list.
B
5
G
4
Posts: 50
Reputation: 1,225

Post » Fri Nov 13, 2009 4:20 am

It would be awesome if you could find some way to allow you to draw a circle of any size and create a thunderstorm.
B
2
S
1
G
3
Posts: 118
Reputation: 1,336

Previous

Return to Your Creations

Who is online

Users browsing this forum: No registered users and 1 guest