Jump to content
MakeWebGames

Recommended Posts

  • 7 months later...
Posted

Bumping this. I ended up coding a simple one-click attack-system after posting this in april, but my players want something more advanced. I could code it myself, but being lazy it would be easier to buy (tried and tested) code from someone. Shoot me a PM!

Posted

Why don't you try for something unusual, yet easy to code; for example:

When two players begin combat, show a simple hexagonal grid overlaying whatever image you need; develop a little AI to control the defender, allow the player to ""move"" their own character; combat then has the ability of being played out strategically, where range becomes an important facet. You can in fact extend this to encompass a lot of elements; movement rates, multiple attackers (think retainers etc), endurance.

As a bit of logic, it is remarkably easy, the defender's AI need not be complex, just fair and with a little careful graphic work with your preferred designer it can easily become a highly unique feature of your game.

And yes, this has been done; by myself and others; for my own part, not in PHP although it's not overly hard to reproduce in most web-based scripting languages especially with the use of jQuery/Prototype etc.

Posted

I coded a new script for my game tonight. It's still a one-click attack system, but it has a few more options than the last one. The next time my players get tired of it I might try adding movement like you suggested - thanks :)

Posted
never liked the Idea of a 1 click attack.

I ended up with having it so that each attack lets each player hit 5 times. If you can't finish off your target by then, you need to attack again, and use another attack turn.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...