Page 1 of 2 12 LastLast
Results 1 to 10 of 30

Hybrid View

  1. #1
    Senior Member Dyark's Avatar
    Join Date
    Jun 2007
    Location
    montreal, canada
    Posts
    163
    Downloads
    99
    Uploads
    2

    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 ??

  2. #2
    Member rjurikwinds's Avatar
    Join Date
    May 2009
    Location
    New Rochelle, NY
    Posts
    35
    Downloads
    7
    Uploads
    0
    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...

  3. #3
    Senior Member Dyark's Avatar
    Join Date
    Jun 2007
    Location
    montreal, canada
    Posts
    163
    Downloads
    99
    Uploads
    2

    Thumbs up 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.

  4. #4
    Senior Member Dyark's Avatar
    Join Date
    Jun 2007
    Location
    montreal, canada
    Posts
    163
    Downloads
    99
    Uploads
    2

  5. #5
    Moo! Are you happy now? Arjan's Avatar
    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.

  6. #6
    Special Guest (Donor)
    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

  7. #7
    Moo! Are you happy now? Arjan's Avatar
    Join Date
    Oct 2001
    Location
    Woerden, Netherlands
    Posts
    10,373
    Downloads
    48
    Uploads
    1
    i already have those GD calculations for the birmail maps, made years ago..
    ill see if i can find them with ftp, they should be somewhere on the BRnet
    server
    if not you have to wait 3 weeks

    arjan
    Last edited by Thelandrin; 04-10-2010 at 11:07 AM. Reason: Quote excised.

  8. #8
    Senior Member Mirviriam's Avatar
    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

  9. #9
    Member rjurikwinds's Avatar
    Join Date
    May 2009
    Location
    New Rochelle, NY
    Posts
    35
    Downloads
    7
    Uploads
    0
    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...

  10. #10
    Member rjurikwinds's Avatar
    Join Date
    May 2009
    Location
    New Rochelle, NY
    Posts
    35
    Downloads
    7
    Uploads
    0
    Quote Originally Posted by Mirviriam View Post
    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...
    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

  1. Creating a world
    By Thorsten in forum The Royal Library
    Replies: 7
    Last Post: 07-27-2009, 08:42 PM
  2. Get together and play birthright online!!
    By vague x5 in forum The Royal Library
    Replies: 1
    Last Post: 05-20-2009, 07:38 PM
  3. How do you play Birthright?
    By Elton Robb in forum BRCS 3.0/3.5 Edition
    Replies: 30
    Last Post: 10-03-2008, 08:00 PM
  4. Any Play Birthright: The Gorgon's Aliance Multiplayer?
    By XDrake in forum The Royal Library
    Replies: 10
    Last Post: 08-30-2007, 04:34 AM
  5. Finish the page before creating a new one
    By Arjan in forum BRWiki Discussions
    Replies: 0
    Last Post: 04-22-2007, 03:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
BIRTHRIGHT, DUNGEONS & DRAGONS, D&D, the BIRTHRIGHT logo, and the D&D logo are trademarks owned by Wizards of the Coast, Inc., a subsidiary of Hasbro, Inc., and are used by permission. ©2002-2010 Wizards of the Coast, Inc.