combat coding thingy ?

C++, C#, Java, PHP, ect...
Post Reply
tomtefan
Posts: 46
Joined: Tue Jun 22, 2010 12:46 pm

combat coding thingy ?

Post by tomtefan »

iam almost happy with my game, but missing a good combat system to lift it up more.


have you people ever played the phantasy star serie ? or shining force ?
iam wondering about that combat system there.


whould be cool that have that advanced, but iam an easy guy, so phantasy star 1 is more than enough for me.
i whould be happy with just an effect showing on screen when attacking, using item, using magic..

but what program should i look for to get something similar to that as combat system ?

can i do it with php. ?? the effect stuff ? or will that be to much loading for a browser game ?
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: combat coding thingy ?

Post by Chris »

JavaScript/CSS is used for client side effects.

PHP is used for server side commands and processing.
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
Ravinos
Posts: 281
Joined: Tue Sep 15, 2009 4:14 pm

Re: combat coding thingy ?

Post by Ravinos »

I was working on a system similar to Phantasy Star 1-4 with my original browser game but I scrapped it because getting it to work for pvp combat was really wonky. Plus there are a large market of phone gamers who play these games that can't constantly run javascript.

I made use of pop-up div tags using javascript for the menu control. I.E. You click spells, a menu comes up, then you click what you want to use. Then it closes those windows and uses the spell you selected. It's actually quite simple to get running. But fine tuning is another story.

Here are a few examples: http://www.javascripttoolbox.com/lib/popup/example.php
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: combat coding thingy ?

Post by Jackolantern »

Ravinos wrote:I was working on a system similar to Phantasy Star 1-4 with my original browser game but I scrapped it because getting it to work for pvp combat was really wonky. Plus there are a large market of phone gamers who play these games that can't constantly run javascript.
If you use Javascript for aesthetics instead of functionality, you could create an option to turn it off for use on limited-browser mobile devices. Of course, that knocks AJAX techniques out of the picture.
The indelible lord of tl;dr
Post Reply

Return to “Coding”