Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1
    Senior Member Dyark's Avatar
    Join Date
    Jun 2007
    Location
    montreal, canada
    Posts
    163
    Downloads
    69
    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
    4
    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
    69
    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
    69
    Uploads
    2

  5. #5
    Moo! Are you happy now? Arjan's Avatar
    Join Date
    Oct 2001
    Location
    Woerden, Netherlands
    Posts
    10,307
    Downloads
    39
    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
    419
    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
    Senior Member Dyark's Avatar
    Join Date
    Jun 2007
    Location
    montreal, canada
    Posts
    163
    Downloads
    69
    Uploads
    2

    map zooming

    Rey it would be easy easier if I had a vector map (this is not the case right now )

    if somebody made the map with cc3 or illustrator as vector i would try to have a better view of it.

  8. #8
    Moo! Are you happy now? Arjan's Avatar
    Join Date
    Oct 2001
    Location
    Woerden, Netherlands
    Posts
    10,307
    Downloads
    39
    Uploads
    1
    Quote Originally Posted by Dyark View Post
    Rey it would be easy easier if I had a vector map (this is not the case right now )

    if somebody made the map with cc3 or illustrator as vector i would try to have a better view of it.

    here you go :-)
    Map in CC3 format made by Brian Sofen
    http://www.birthright.net/forums/dow...do=file&id=111
    Te audire non possum. Musa sapientum fixa est in aure.

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

    the map

    Well looks like i can't make a cc3 file into and eps file

    anybody can make it ?

  10. #10
    Member rjurikwinds's Avatar
    Join Date
    May 2009
    Location
    New Rochelle, NY
    Posts
    35
    Downloads
    4
    Uploads
    0
    So, the guys that did Birmail had all the province mapped out in x y coordinates.

    I imported the data they had in their java into mysql format for the Rjurik area, and from there you can use php GD library functions to "draw" provinces using standard image handling functions.

    Email me at "charles at dupindesaintcyr dot com" and I can give you a backup of my "provinces" table, as well as a php class I used to "color province areas based on province control" -- you have to explode the coordinates and put them into an array in order to run a imagefilledpolygon() function.

    The table also has the province's center x and y so that you can place the province name, flags or counters...

    I know it's a bit heavy in terms of math: you can't be scared of geometry, but give it a few hours and this can save you days of "re-drawing" when province control moves from one person to the other...

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.