[ Login | Register ]

The Shining Source

« previous next »
Pages: [1] 2 Print
Project Shining Ajax   (Read 42182 times)
Old Post January 06, 2014, 07:25:45 pm
#1
Administrator Shining Spammer *

Posts: 1,129

Logged
Project Shining Ajax
http://www.elvenfyre.com/shining/

The old version is now up and running, you do need to make a user if you want to play over multiple sessions but that takes about 10 seconds.

Game Details Currently
All you need is your browser.
Player vs Player
Player vs Bots
5 character teams (hard set)
Two turn modes: Alternating and Shining
Lobby with (global) chat.
Game invitations, withdrawals, declines and acceptances.
Game spectating.
Game events low quality.
Interface low quality.
Turn options: Move, Attack, Move+Attack, Stay, Surrender.  




Attachments

* sample2.jpg (68.58 KB, 751x561 - viewed 1414 times.)

~Elvenfyre


Old Post January 06, 2014, 07:32:36 pm
#2
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: Project Shining Ajax
Version 2 Goals

Improve Chat and Lobby look and feel.
Login / registration faster and easier
Allow guest accounts.
Provide sample on splash screen.
Put current unit whose turn it is into a separate datum.
More obvious graphics on whose turn it is currently.
Turn abilities to include Move + Attack
Allow challenge posting to people who are offline, since this game works over long time frames.
Quickstart instructions for the uninitiated
Improved targeting graphics
AI Battle
Quick replay of finished games.
Only retrieve Chat data when there is new Chat data.
Recreate codebase with classes.
Fetch all on screen information with a map draw to get rid of hover calls.
Hover calls to be reduced to javascript.
Keep position details in two variables.

~Elvenfyre


Old Post January 07, 2014, 02:41:05 am
#3
Ty
Administrator
Shining Sideburns *

Posts: 836

Logged
Re: Project Shining Ajax
Sounds cool! I always thought a "play by email" kind of mode would work well for Shining Force, especially as you can probably have a few games on the go at once.

Have you thought about using something like web sockets for the chat room?

Gotta say - this is a really cool project Smiley


Old Post January 07, 2014, 05:35:06 am
#4
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: Project Shining Ajax
Yeah, you could easily take turns at this over very long periods of time.
Hook up some kind of email notification or what have you.

to be honest i haven't thought about it much at all.
what it is today is what it was 7 years ago.

now I'm just looking at taking it to the next step in terms of functionality.
As long as it's working, I'm not too fussed if it takes an extra second or two at this stage.

The ws is new to me and would result in a lot of learning curve and less doing.
Not to mention, IE8 is a big thing (still same percentage as use IE10).

You're more than welcome to create it so that it seemlessly downgrades for me, and I'll integrate it - full credit to you Cheesy

haha

~Elvenfyre


Old Post January 07, 2014, 11:36:05 am
#5
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: Project Shining Ajax
This evening I found a couple of problems (range graphics weren't showing up in the character list), and mage was set to 2-2 range I think he should be 1-2.  Also one more insecurity of old database handling methods.  Fixed now though!

Crossed a few things off the list, and established a new set of tables (yet to be completed) for version 2.
Of note is the ability to sign in as a guest, and set up games against offline players.

Tried to include scalability for map size changing, further characters, more than 2 players, and other such nicities.
We'll see whether that clogs me up too much.

~Elvenfyre


Old Post January 09, 2014, 11:33:05 am
#6
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: Project Shining Ajax
so this evening i tackled going back to a shining turn system.
this involves the options of

Stay
Move + Stay
Move + Attack
Attack

Also for the time being I skipped the need to press stay if you move to a square without an enemy close enough to hit.  this is because unlike shining force i don't have any other actions yet, so there are no utility spells or items to activate in a non-combat mode at this time.
If I were to add them, the interface would need to change, and flashing priority would need to move to the action options.

Quite a few other little fixes were achieved in the game code along the way, and I believe I sped up the thing somewhat, reducing needless ajax calls to run something I already knew was going to fail or return nothing.
I did also ensure that game players couldn't maliciously move their team member into an invalid position, or do more damage than is possible, attack someone out of range etc.  I'm guessing this has slowed down the processing of perceived valid clicks a bit.

I'm fairly excited to give AI a go at the same time as giving the graphics one run over.
So I guess that will be next!

~Elvenfyre


Old Post January 10, 2014, 02:11:18 pm
#7
Administrator
Shining Spammer *

Posts: 1,208

Logged
Re: Project Shining Ajax
I logged in as a guest, but once logged in as a guest I find myself unable to make a "real" account Wink.

Thought it'd be worth to mention here?

Devlyn

Great news for Shining fangame developers! Wink

Correcting your non-working <img> tags since 1982 Wink


Old Post January 10, 2014, 03:28:55 pm
#8
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: Project Shining Ajax
I should make the log out button bigger?
Or maybe include register when you're there as a guest I suppose Smiley

Thanks for the feedback.

but basically at this point Devlyn, if you're in as a guest you will have to find "log out" in the menu and click it to get back out.

I made a couple more changes to handling, including a marginally better victory notification, victory notification in the lobby for past games (so everyone can see how I have lost 3 times to the only other real people i've played [sigh])

and now i'm trying to get an "easy" AI going.



~Elvenfyre


Old Post January 11, 2014, 04:10:30 am
#9
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: Project Shining Ajax
Easy Bots now live!

It's quite neat.. if I suppose a bit easy.  I guess the challenge is to not lose a single unit!


The link to play bots is around where the offline user list is on the main lobby page.
It acts like an invitation to a user so you'll see an accepted game show up, people can even spectate you thrashing those bots ^_^.

edit: added more bot modes for different difficulties.
I can beat Advantaged but not hard.

~Elvenfyre


Old Post January 12, 2014, 10:12:36 am
#10
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: Project Shining Ajax
Today I did nothing on the list, which is a bit : /

However I instead improved the general feel of the interface because I wanted to show a few more people and I was utterly embarrassed by what it was.

So it is at least above rubbish tip and the look and feel now reaches the level of gutter runoff.

Improved timer code to stop multi-popping of events, and pre-loaded images to create a smoother first run experience.

Attachments

* sample_interface.JPG (122.4 KB, 1051x606 - viewed 1368 times.)

~Elvenfyre


Old Post January 12, 2014, 03:06:26 pm
#11
Ty
Administrator
Shining Sideburns *

Posts: 836

Logged
Re: Project Shining Ajax
Looks good! Everything just feels a little more polished now, and the new changes to chat and the battle system really make a difference. I like the new sidebar too, and I'm intrigued by some of the items on that top menu Smiley


Old Post January 13, 2014, 10:02:49 am
#12
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: Project Shining Ajax
This evening I made a slightly more obvious "turn" indicator and "attack" options indicator.
This is in the nature of a cursor square like in shining force.
However given the static nature at this stage I chose black for my active character and white for all attack options, which after implementing, I don't really like.

Anyway the big news is tonight I finished recording and replaying of games.

It's not perfect, but it plays ok for me, from new games onwards.
So any previous game with a link can be replayed (so you can watch me beat advantaged bots.. just!)

Getting there.

~Elvenfyre


Old Post January 14, 2014, 09:18:00 am
#13
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: Project Shining Ajax
night off!

I did have a quick go at making a different style of character image.

I'm wondering if I should try to stick with a shining style, or go with something a bit more my own like this.

Attachments


* archer_new.png (1.64 KB, 50x50 - viewed 885 times.)

~Elvenfyre


Old Post January 15, 2014, 03:29:03 am
#14
Ty
Administrator
Shining Sideburns *

Posts: 836

Logged
Re: Project Shining Ajax
Looks good to me Smiley From experience it's always a problem having to stick to another art style.


Old Post January 18, 2014, 11:05:10 am
#15
Administrator
Shining Spammer *

Posts: 1,208

Logged
Re: Project Shining Ajax
I logged in again and it looks way more sophisticated than last time! Cheesy

Btw. feel free to rip sprites from BABS for this if you like Wink. there are plenty there, including oozes, werewolves and rats Smiley

Devlyn

Great news for Shining fangame developers! Wink

Correcting your non-working <img> tags since 1982 Wink


Pages: [1] 2 Print 
« previous next »
Jump to:  

Powered by SMF 1.1.21 | SMF © 2013, Simple Machines