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 ?
combat coding thingy ?
Re: combat coding thingy ?
JavaScript/CSS is used for client side effects.
PHP is used for server side commands and processing.
PHP is used for server side commands and processing.
Fighting for peace is declaring war on war. If you want peace be peaceful.
Re: combat coding thingy ?
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
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
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: combat coding thingy ?
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.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.
The indelible lord of tl;dr