Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
(How to...) Create a map for your adoptable site
Well this is actually quite easy to do for some of you, so its simply a tutorial for newbie programmers who do not know how to add html to php codes. I am also posting this seeing no one else has ever made a tutorial for map system yet. Keep in mind that this is a tutorial rather than an addon script Miss Kaeliah has been doing. So do not add it directly to your site or you get tons of errors. I am using the map page of PokeMansion as the demo site, take a look at it to see exactly how it works:
http://www.pokemansion.net/map.php To create a map file, the first thing to do is to construct a completely blank php file. This is your template to create any possible scripts: PHP Code:
PHP Code:
PHP Code:
For a map system, we will be using the tag 'map'. What you should do before entering the information of a map is to define where the map image will be displayed on that page. To do this, simply use 'div style' code here: PHP Code:
The next thing to do is to specify the name and url of your map, the structure of the codes is provided below: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Hall of Famer Alright, you are almost done, just |
#2
|
||||
|
||||
RE: (How to...) Create a map for your adoptable site
Image maps are VERY useful. I'm sure someone will find this handy. I've been doing HTML/CSS since I was 10 soo I'm kinda well versed but please keep making tutorials!! The more beginners can learn here the more activity we'll have. :3
|
#3
|
||||
|
||||
RE: (How to...) Create a map for your adoptable site
Thanks for the comment Miss Kaeliah. And yeah, next time I'd consider a tutorial on how to add NPCs and other objects to an image map using either HTML or PHP, shouldnt be hard either but guess its fun. XD
|
#4
|
||||
|
||||
RE: (How to...) Create a map for your adoptable site
I usually cheat and use an image map maker for my image maps. It's so tedius making them, especially if you have a bunch to make. x.x When I open my site it's gonna have a halloween/fall theme already set up. The halloween theme/event will end after about 10 days but I've been working on this corn maze that is incredibly awesome(I think). I may leave that up there until December. But it uses image maps, and there's a bunch of them! Plus I'll be adding little things to it like a random jewel or egg somewhere that you can collect. I'm also creating a way to make it so you can only grab it once. ^.^ Corn Maze table! I'll delete it in the winter but yeaahhh lotsa work!
|
#5
|
|||
|
|||
RE: (How to...) Create a map for your adoptable site
hi Hall of Famer,...
the images map shared here was really nice,.. its very nice looking,...thanks for this work dude,...nice effort,.. |
#6
|
||||
|
||||
RE: (How to...) Create a map for your adoptable site
Thank you very much for the comments Harrison Jess. This is by no means a mod/addon that can be directly copied to their pet site, it is more of a tutorial for users who aspire to create a customized map system. It is hard to do a general map engine for rusnak adoptable though, unless I can somehow add functions to admincp for users to create images, locations and direction urls in a more convenient way.
|
#7
|
||||
|
||||
do you mean something like this?
i've made it upon your tutorial, and it works very good on my (localhost!) site :D *for people who want a woking script, ready to integrate, read below:* ___ the attached zip file includes a complete working map, you only need to change the titles and link url's in map.php, after that, put a link to "map.php" on your site :) ___ schepers12 |
#8
|
||||
|
||||
Well actually this thread was almost 2 years old. It was my very first attempt at making a tutorial, I was merely an amateur at programming back then. Glad to know the code still works, it was really basic html. In Mys v1.6.0 I plan to incorporate a customizable exploration system in which you can create your own maps, locations, npcs in an integrated fashion. Don't expect it to be done earlier than 2014 though. XD
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#9
|
||||
|
||||
by the way, if you want an individual image for every building without one large image (better for editing), you might want to use something like this as your map script :
PHP Code:
(also the reason i'm using it currently) |
#10
|
||||
|
||||
Well yeah, would be nicer to enable admins to add sub-images onto the background image. This works out nicely for a real map field, in which you can add npcs into the maps at various location. The npcs may be able to 'walk' on the map, so using.gif images or specifies its possible 'movement' path is a good idea. Anyway I will try to incorporate this into the script by the time Mys v1.6.0 is under development.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do i create my site? | crystalwolftear | Feedback and Suggestions | 3 | 04-28-2014 10:48 PM |
Ratties FTW! - A Rat Adoptable Site | AlexC | Adoptables Buzz | 68 | 05-07-2012 06:10 AM |
Create your own Pet site/Virtual world for free ! | niranbd | Other Chat | 7 | 02-02-2012 11:15 AM |
Someone Know a site for create Theme??(Solved) | SieghartZeke | Questions and Supports | 11 | 10-10-2009 06:21 PM |
my adoptable site | aroymart | Adoptables Sites Showcase | 7 | 03-08-2009 08:18 PM |
What's New? |
What's Hot? |
What's Popular? |