Page 1 of 2

Flash Interface ** UPDATED **

PostPosted: Thu Oct 04, 2007 6:33 am
by backspin
Thumbs do not preload yet, so be patient. Once the thumbs load, you will be presented with a menu. Currently only the 'atlas', 'map size' and 'save' buttons do anything.
Clicking 'map size' will change the default map size.
Clicking Atlas will take you to the map list.
** Note: Clicking 'atlas' or 'save' will close the menu...clicking 'options' in the upper corner will bring the menu back.

Atlas:
Click a thumb to load that map (pre-loading occurs, no caching yet)
Clicking one of the buttons along the side of the map will light up the territories for that bonus.
Click 'reload' will reload the XML (clearing all clicked/highlighted terits)
Click 'occupy' then start clicking territories. Occupied territories show up in purple. Every time you click a territory in occupy mode, your territory and continent bonus will appear below the map.
Click 'occupy' again to return to normal mode
Within normal mode, clicking a territory will show bordering territories in red, and bombardments in yellow.

http://www.saturnproject.org/cc/risk.html

Also made a stand-alone .exe file which can be downloaded here. (right click, save as)
http://www.saturnproject.org/cc/risk.exe
You will need the following xml file (right click, save as)
http://www.saturnproject.org/cc/map.xml
Once you download those two files, you should edit map.xml and replace the values with your values...then place all relevant images and the maps XML file in the same directory as the risk.exe AND map.xml...load up risk.exe, choose atlas...click your thumbnail and your map and map's xml should load. Made it a stand-alone instead of an upload your image file and xml file, then debug from the web...because well it should be way faster to just load up risk.exe and debug from that. Make a change to your xml file...just hit the 'reload' button.
** NOTE: I have only tested this on my single windows machine, which has Flash 8 Professional installed. I do not how this will work on other systems. If you do use it, please let me know of any problems so that I can fix them right away.

Next version will feature: click to obtain current mouse coordinates

Current bugs:
a) currently ignores 'overides', will fix in next version.
b) no text seen in Linux (will fix next version :: embed fonts to fix)

Since I am not a map-maker, I don't know what features to install. Any of you map-makers out there that use this, please let me know what you'd like to see in future versions. Lets work together and make this a wicked tool to help speed development and debugging of maps.

PostPosted: Thu Oct 04, 2007 6:45 am
by Shrinky
This definitely sounds good. Let's hope we get something working out of this :D

I love that portion where you can see what all territories u can attack :D
It really helps on those cramped maps where it's hard to see from which place you can attack certain territories.

eg1 - On the European map, it's hard to see that Sardinia can attack Italy.
eg2- On World 2.1 map, it's VERY hard to see that Levant can attack Egypt and vice-versa.

PostPosted: Thu Oct 04, 2007 7:27 am
by jiminski
very nice work!

Basics are excellent and your ideas for deployment and reinforcement are fantastic. They would reduce the possibility of mistakes.

The chain of attacks options i like very much too but i think it may need a little more exploration..
sometimes you need to get the feel of an attack and can change you mind part way through to go somewhere else or simply stop.

anyway i like it a lot.

PostPosted: Thu Oct 04, 2007 7:40 am
by RjBeals
A little bored?? Looks like you put a lot of work into this. Really nice concept. I'm guessing you coded it all with actionscript importing the xml files? Jeez.

The BOB script will already show you what countries can attack each other. A lot of people try not to use flash as the only means of navigation on a website because there are still some folks who don't install plugins. However I think that most of the CCers would probably have the flash plugin.

Would Lack have to learn Flash / Actionscript to keep this updated with new maps?

Curious to see where this goes.

PostPosted: Thu Oct 04, 2007 7:53 am
by backspin
RjBeals wrote:The BOB script will already show you what countries can attack each other. A lot of people try not to use flash as the only means of navigation on a website because there are still some folks who don't install plugins. However I think that most of the CCers would probably have the flash plugin.

I was thinking more along the lines of an optional interface, maybe available to premium members only or something. If this goes all the way, it would significantly cut down on bandwith and transmission times. Instead of having to reload the page, you just send a couple hundred bits of data back forth. Anyway...just an option.

RjBeals wrote:Would Lack have to learn Flash / Actionscript to keep this updated with new maps?

I have it set up to read from the file http://www.conquerclub.com/maps/maps.xml
If any new maps are added...just add them there and your set.

PostPosted: Thu Oct 04, 2007 8:10 am
by DiM
looks great. and this leads me to think of something else.

flash maps. imagine the possibilities. 3d, animations, effects, sounds.
i think i just wet myself :roll:

PostPosted: Thu Oct 04, 2007 9:13 am
by Twill
oooooh fancy.


Would have to be an optional extra though rather than a default.

Do try to keep it to one post on this though, dont spam across the forums, it tends to upset admins who you're trying to impress ;)

DiM, PM coming your way.

PostPosted: Thu Oct 04, 2007 9:24 am
by wicked
OMG that's so cool! Now I can figure out those new maps! Thanks! :wink:

PostPosted: Thu Oct 04, 2007 9:45 am
by pascalleke
:shock: :mrgreen: =D> =D> =D> =D> =D> =D> =D>

PostPosted: Thu Oct 04, 2007 9:51 am
by Ishiro
it would have to be 100% optional ... my phone doesn't support flash.

PostPosted: Thu Oct 04, 2007 10:04 am
by Night Strike
Impressive. I did notice that clicking the gray circles didn't show territories that you can bombard (see Battle of Actium). And D:Day and Pearl Harbor weren't there.

PostPosted: Thu Oct 04, 2007 10:17 am
by Syzygy
Nice. Very nice. I only looked at one map, lazy me. But it looked like it has real potential to really shine.

PostPosted: Thu Oct 04, 2007 1:25 pm
by Wisse
i hope you could make somethign that you can put your own map + xml in there and check it

PostPosted: Thu Oct 04, 2007 1:46 pm
by lackattack
This could be a nice alternative to kevinc's XML map reader!

PostPosted: Thu Oct 04, 2007 9:27 pm
by Herakilla
its beutiful man!

PostPosted: Thu Oct 04, 2007 9:55 pm
by Anarkistsdream
Whoa.

PostPosted: Fri Oct 05, 2007 11:30 am
by Aerial Attack
I just remembered something about Flash. The data stream can be hacked.

Meaning that you can potentially manipulate the results of your attacks (helps to never lose an army whilst attacking). You would not be able to manipulate defensive throws (your own), because you aren't actually being sent that data.

PostPosted: Fri Oct 05, 2007 10:53 pm
by misterman10
very very very very very nice =D> =D> =D>

PostPosted: Sat Oct 06, 2007 7:59 am
by backspin
Aerial Attack wrote:I just remembered something about Flash. The data stream can be hacked.

Meaning that you can potentially manipulate the results of your attacks (helps to never lose an army whilst attacking). You would not be able to manipulate defensive throws (your own), because you aren't actually being sent that data.


Considering this interface does the same thing as the regular html pages, I'm not sure how one could hack the Flash interface to give one an advantage. When you click attack in the html page, the form sends data to a php script which processes that data and returns results. Same thing with this. Flash sends data to a php script for processing, then receives data. Since everything is being handled server side, the only hack one could do is attacking A to B, but telling the server your attacking C to D...which is pointless since the attack processing is all handled server side. The beauty of server side vs. client side.

PostPosted: Fri Oct 12, 2007 7:54 am
by backspin
Wisse wrote:i hope you could make somethign that you can put your own map + xml in there and check it

Lackattack wrote:This could be a nice alternative to kevinc's XML map reader!

Check out the update.

PostPosted: Fri Oct 12, 2007 8:04 am
by yeti_c
Nice work!!

BTW - AOM's continents run out of room...

C.

PostPosted: Sat Oct 13, 2007 9:32 am
by backspin
Hrm...didn't notice the add-ons and plugins forum before.

I started a thread over there in regards to the stand-alone. Enjoy.

PostPosted: Sat Oct 13, 2007 10:45 am
by backspin
Night Strike wrote:Impressive. I did notice that clicking the gray circles didn't show territories that you can bombard (see Battle of Actium). And D:Day and Pearl Harbor weren't there.


Bombardments now light up in yellow.

Pearl Harbor shows up...D:Day still does not (has to do with the file name)

PostPosted: Wed Oct 17, 2007 4:42 pm
by cena-rules
bump

PostPosted: Mon Oct 22, 2007 4:21 am
by cena-rules
this is really good. Maybe it can be added as a button underneath game finder