Results 1 to 10 of 30
Thread: Creating a birthright web play
Hybrid View
-
04-05-2010, 02:24 PM #1
Creating a birthright web play
I am creating a birthright web play (using php and mysql) but it would be better if i use flash xml (i don't know that language, anybody wants to help ??
-
04-05-2010, 06:02 PM #2
So I'm game... but same as you: I'm more familiar with php/mysql.
I had done something basic with flash but it ended up being a huge slow file. I'm sure it's possible, but it's not something I've been exposed to enough.
Instead I went the Ajax/javascript way.
There are some javascript libraries that can help simulate "flash-like" actions.
- jquery
- Yahoo's YUI
This can help with things like moving pieces on a jpg map, and using events to start actions.
The down side is that it's doesn't always react in exactly the same way with every browser. My first task on www.rjurikwinds.com was to create a movable map, and that "kinda" works but on the web if things aren't perfect they are bound to be left by the way-side...
-
04-06-2010, 03:28 AM #3
my map
This is what my map looks like right now, it is not dynamic yet, i am trying to find and easy way to filled the map with dynamic data with xml (create the xml file with php and mysql) The feel i am looking for is about the same as gorgon alliance map and object.
So if you know somebody or you know some website with good tutorial, that would be easy.
-
04-06-2010, 03:29 AM #4
oops
forgot to include the link
http://www.drouincourtois.com/Dungeo...t/Map_vide.php
-
04-06-2010, 04:06 AM #5
- Join Date
- Oct 2001
- Location
- Woerden, Netherlands
- Posts
- 10,373
- Downloads
- 48
- Uploads
- 1
i actually made a map a-la gorgons alliance in the latest flash version, which also has the z axis to make maps etc look 3d...
everything is working fine, but the difficult part i dont get right are the coordinates.. somehow flash adjusts certain coordinates (inner vs outer etc etc dont ask me exactly)
so my objects didnt hold position when zooming in or moving the map.
i dont know if i posted the flashfile a while ago, but ill be home in 1 month again.Te audire non possum. Musa sapientum fixa est in aure.
-
04-06-2010, 10:57 AM #6
- Join Date
- Mar 2008
- Location
- Zagreb, Croatia
- Posts
- 417
- Downloads
- 25
- Uploads
- 0
Does anybody know how some of the RL maps are done? The level of detail grows as you zoom in, and the quality of the map doesn't fade.
Example, for Dyark's map: When you are zoomed out, you can see names of the regions, if you zoom in on a region, you can see domains (they are not there already, they appear on a certain zoom level), etc.. where on the maximum zoom level you can see whatever there is to see. When you move along the map, it draws the details not in the current frame instead of just having been zoomed in on the whole continent.
Yes, like google maps.
It seems to me that some of those maps actually zoom in on .png or .jpg files, on certain levels. Let's say 8 pics for first level of detail or continent view, another 8 for region view, another 8 for subregion view, another 8 for domain view. So, yes, that would be a lot of images.
And when you are on the same level, you move along the map between images on the same level.
LOL, I sound like a total newb.Rey M. - court wizard of Tuarhievel
-
04-10-2010, 02:36 AM #7
-
04-16-2010, 07:41 AM #8
- Join Date
- Apr 2008
- Location
- Where the moon cuts the wind.
- Posts
- 259
- Downloads
- 4
- Uploads
- 0
Webplay
I had a series of objects setup in PHP files to handle what basically handled inputting new provinces, domains, holdings. I was going to release it, but I lost heart when the server I was on rolled back after 3 days of typing the damned things from my hardcopy plans.
If you wanted to throw a web version of birMail together, I have been planning one together a year or two back & would be willing to work on something. I don't do any graphics myself. There's nothing to say that the php/sql can't play nice with almost any other technology out there...Legacy of Kings: Member
-
04-16-2010, 06:59 PM #9
So another library I have been playing with in order to show a "game map" is called "OpenLayers" -- it's javascript based and it allows you zoom in/out "à la google maps" -- you can then code additional "Layers" that go on top so that you could for example show troops, holdings, borders etc...
Here is an example that I worked with to just have the map working:
http://rjurikwinds.com/bw_map.php
My thought on this one was to show "tokens" to represent holding levels and use that as the overall map -- the idea there would be to give the players "some" idea of holding levels but not reveal too much -- trying to simulate what "normal people" would know (an not necessarily if the holding level is a 3 or 4!
On the back end OpenLayers allows you to show the information on the map based on an xml or straight vector-like information...
This means that PHP on the back end can show different information for every logged-in user; and my next step then is to figure out what to show to whom...
-
04-19-2010, 11:53 AM #10
So Arjan had a similar plan, but as many of us have relatively little time to put a full site together it needs to become a virtual colaboration project: He had tasked me with figuring character creation and I am well a year into it And I am relatively close but it's not complete...
You can try my Rjurik 2nd Ed by going here (you first need a user)
http://rjurikwinds.com/register.php?op=validated
once you created a regent you should see your province in the game map
http://rjurikwinds.com/bw_map.php
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Creating a world
By Thorsten in forum The Royal LibraryReplies: 7Last Post: 07-27-2009, 08:42 PM -
Get together and play birthright online!!
By vague x5 in forum The Royal LibraryReplies: 1Last Post: 05-20-2009, 07:38 PM -
How do you play Birthright?
By Elton Robb in forum BRCS 3.0/3.5 EditionReplies: 30Last Post: 10-03-2008, 08:00 PM -
Any Play Birthright: The Gorgon's Aliance Multiplayer?
By XDrake in forum The Royal LibraryReplies: 10Last Post: 08-30-2007, 04:34 AM -
Finish the page before creating a new one
By Arjan in forum BRWiki DiscussionsReplies: 0Last Post: 04-22-2007, 03:32 PM
Bookmarks