image

image

Sunday, September 28, 2014

Indie Day ? - Special Home edition 1

I feel like I've been hit on the head by a brick of inspiration.


Sometimes in things like flash games there's like a wrecking ball-type tool-ish thing, and so my thought is what if i can make the main combat mechanic of the game be a knife that follows where the cursor is, but the only part that's static on it is the center of the pommel, making the knife be able to just swing around in circles all over the screen. i think it would be simple enough to also code it so that only the blade damages enemies and the handle would not. I could also make it so that when an enemy is struck by the blade they get about, 30 frames of invincibility, and if the game is running at 60 fps then that would just be half a second, but if an enemy was hit by the handle they could get a full 60 frames, or 90, or whatever,  but would also be knocked back. i think that would give uses to striking with the handle OR blade. It could be complicated but it also sounds like an interesting mechanic that i haven't seen done yet, so it could be worth the time.


The second part of that would be, how do I make the knife, not swing around? Well i figure if you were to just click the left mouse button then the knife would stay in whatever position it is when you clicked it, and would go back to swinging when you released it.

Now I'm thinking, what if it wasn't just a knife? What if this sort of thing could be done with any weapon? any object in the world? I think that would open a lot of puzzel-solving mechanics.

Will expand on this idea on a later date.

No comments:

Post a Comment