elfs: (Default)
[personal profile] elfs
"If you have an idea and publish it on the Internet, that counts as a ghost of done."

Here's an idea:

Modern browsers support PNG transparency and absolute positioning. With that in mind, there is no reason that one could not write a hex-map based coordinate system with the renderer completely in pure javascript, without using Canvas.

Using cometd/bayeux, there's no reason you couldn't have a (approximately) real-time communications channel between two players in a purely browser-based environment.

Therefore, it would be possible, and a simple matter of programming, to implement a two-player version of something like Ogre/GEV or Full Metal Planet (which are turn-based) or even Warcraft II (which is real-time) in a pure javascript solution. The player with the faster CPU (determined by some javascripted bogomippery) would hosting the game machinery itself, and the server between them does nothing but maintain a very simple, low-bandwith channel between the two. It could also be used to schedule and arrange meet-ups and games as well as keep scores. This distributes the CPU heavy lifting away from the server and onto the clients, creates community almost automagically, and enables people to play older games.

I had this idea when, while cleaning out some supplies in the basement, I came across an old box with the map, and only the map, for the old Ogre/GEV parody Rivets and wondered what I could do with that in a modern setting. Gameplay would be slow to handle comm channel latency, but it would be fun to do this as a proof of concept.

It's odd you should mention this...

Date: 2009-07-31 07:51 pm (UTC)
From: [identity profile] wolfwings.livejournal.com
...I ran across some hex-grid FOV theory recently, and was tinkering with implementing a hex-map in HTML and Javascript as a test base. Started rigging up an efficient (albeit akwardly documented) FOV system that could definately work for something like this. I was mostly thinking about making something like Richard Carr's Capture the Flag on a hex-grid since I always loved it's focus on terrain and visibility, but Ogre/GEV would definately be world's simpler to implement.

Profile

elfs: (Default)
Elf Sternberg

May 2025

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 13th, 2025 01:56 am
Powered by Dreamwidth Studios