Sillysoft
Steam users, please help Greenlight Lux Delux!
Sillysoft Forums
Forums Of Universal Domination 
Games
About - FAQ
Download - Buy
Lux Delux
Maps - Rankings
Download - Buy
Castle Vox
Maps - Rankings
Download - Buy
Forums
Join the Forums
Log in - Memberlist
  RSS feeds  
Art - Wiki
News - Search
Maximum map dimensions?

 
Post new topic   Reply to topic    Sillysoft Games Forum Index -> Lux Maps
View previous topic :: View next topic  
Author Message
Zogu
Lux Newbie


Joined: 16 Jan 2005
Posts: 48
Location: Le Bic / Rimouski, QC, Canada

PostPosted: Sun Jan 16, 2005 1:48 am    Post subject: Maximum map dimensions? Reply with quote

Hi!
I have just created a map and it doesn't render very well.

What are the maximum recommended dimensions for a map? My map is 980x700. My screen resolution is 1024x768.

The upper part of the map gets cut, even though I get a vertical scrollbar on the right. I can't scroll to the top of my map!
Also, my background image, which I used at design time to draw the countries, is not displayed correctly; it is now "pushed" about 20 pixels down. Needless to say, the result is quite messy.

At least my map is playable, despite the fact it looks so bad!!!

It's sad that I can't scale down the whole map by, say, 15%. This would eliminate the problems I experience right now (map too large). Maybe someone could write a little PHP or Perl script that can scale up/down map elements. Maybe I should write it???

Also, I had yet another problem -- this time it's probably a bug in the Map Editor. Sometimes, when I save my map, the "additional lines" (i.e. the <line> elements) aren't saved at all; they vanish & don't show up in the XML. I think it's caused by the presence of the <above> tag but i'm not 100% certain.

Thanks,

-H.D.

PS: I use Lux version 4.52
Back to top
View user's profile Send private message Visit poster's website MSN Messenger View Zogu's ranking
Preacherman
Semi-Holy Priest


Joined: 24 Feb 2004
Posts: 4513
Location: Sweden (capital of Denmark, an island in Norway, southern Europe)

PostPosted: Sun Jan 16, 2005 6:43 am    Post subject: Reply with quote

Hi Zogu,

There are possibly a couple of bugs in the map editor, it is a very new feature to Lux and isn't fully implemented yet. The best thing you can do is to always take the saved map file and go through it by hand in any decent text editor to check for the most common errors.

I never used the map editor, but just took a quick look and can't see anywhere to set the map dimensions, so it might be worth checking these manually in the map file - it will be at the top, like this :

Code:
<width>850</width>
<height>600</height>

There are bigger maps out there than 980 x 700, so size in itself isn't an issue. If you continue to have any problems, post the XML code here in the forums and someone will take a look at it and maybe spot the error.

Lastly, it is possible to save the entire map as a scaled percentage - when you have it open in Lux, use Board -> Save Resized Board to scale it the way you want Cool

HTH
Back to top
View user's profile Send private message Send e-mail Visit poster's website View Preacherman's ranking
Zogu
Lux Newbie


Joined: 16 Jan 2005
Posts: 48
Location: Le Bic / Rimouski, QC, Canada

PostPosted: Mon Jan 17, 2005 12:18 am    Post subject: Reply with quote

OK... my map dimensions were smaller than the countries' max coordinates... and the background image wasn't the right size! Wow.

But I still have the editor bug which wipes out "additional lines" when saving (and it happens every time it upgrades an existing map file).

Thanks for the help.

My map will now be ready for beta testing and (maybe) upload.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger View Zogu's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 9134
Location: Vancouver

PostPosted: Mon Jan 17, 2005 10:44 am    Post subject: Reply with quote

There is also a menu option when playing the map you can use. Board->Save Resized Map to make a version of it that is a different size.
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
Preacherman
Semi-Holy Priest


Joined: 24 Feb 2004
Posts: 4513
Location: Sweden (capital of Denmark, an island in Norway, southern Europe)

PostPosted: Mon Jan 17, 2005 10:48 am    Post subject: Reply with quote

∞ wonders if Dustin actually reads previous posts ∞

Razz
Back to top
View user's profile Send private message Send e-mail Visit poster's website View Preacherman's ranking
mbauer
Not A Truck


Joined: 28 Jun 2004
Posts: 3948
Location: Tallahassee

PostPosted: Mon Jan 17, 2005 10:50 am    Post subject: Reply with quote

Preacherman wrote:
Lastly, it is possible to save the entire map as a scaled percentage - when you have it open in Lux, use Board -> Save Resized Board to scale it the way you want


dustin wrote:
There is also a menu option when playing the map you can use. Board->Save Resized Map to make a version of it that is a different size.


Apparently all that traveling in Europe has, shall we say, "affected" Dustin.

What are you guys doing to him over there?




mbauer
Back to top
View user's profile Send private message Send e-mail Visit poster's website View mbauer's ranking
DSMyers1
Lux Newbie


Joined: 28 Jan 2005
Posts: 58
Location: Where the winds come sweeping down the plains

PostPosted: Fri Jan 28, 2005 10:36 pm    Post subject: Reply with quote

I was wondering how the game will behave if I use a very large map, i. e. something on the order of 3000x1500. Is there code written to handle this well? To be more precise, how does the game handle scrolling?
Back to top
View user's profile Send private message Visit poster's website View DSMyers1's ranking
mbauer
Not A Truck


Joined: 28 Jun 2004
Posts: 3948
Location: Tallahassee

PostPosted: Fri Jan 28, 2005 10:45 pm    Post subject: Reply with quote

DSMyers1 wrote:
I was wondering how the game will behave if I use a very large map, i. e. something on the order of 3000x1500. Is there code written to handle this well? To be more precise, how does the game handle scrolling?


The more countries there are the slower it will go. This typically isn't a problem if you stay in the range of normal screen dimensions. So 3000X1500 will probably push the limits quite a bit. I have found that most people don't like maps that force them to have a scroll bar, so be wary of getting out of hand if you care about the maps acceptance in the lux community. But to answer your question the scrolling works fine and the lux app should handle a map that large just fine, a little slower than other maps maybe, but it should work.


mbauer
Back to top
View user's profile Send private message Send e-mail Visit poster's website View mbauer's ranking
DSMyers1
Lux Newbie


Joined: 28 Jan 2005
Posts: 58
Location: Where the winds come sweeping down the plains

PostPosted: Sat Jan 29, 2005 9:17 am    Post subject: Reply with quote

Okay good...The map that large would be so my Dad, who plays the original Risk on computer alot, can be able to see the countries without his reading glasses....

Smile
Back to top
View user's profile Send private message Visit poster's website View DSMyers1's ranking
BarStar
Met Dustin


Joined: 20 Dec 2004
Posts: 1914
Location: Chicago

PostPosted: Sat Jan 29, 2005 9:54 am    Post subject: Reply with quote

Oh just GREAT!!!!!!!! Now you tell me I can resize a map after i totally created a new mini map of my Classic Lux board from scratch....ugh.

Grumble, grumble... sigh.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address View BarStar's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 9134
Location: Vancouver

PostPosted: Sun Jan 30, 2005 8:28 am    Post subject: Reply with quote

Scrollbar appear when a map is too big for the screen.
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
Display posts from previous:   
Post new topic   Reply to topic    Sillysoft Games Forum Index -> Lux Maps All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Meowzers Action Cats is our newest feline fun mobile game. Romp with cute cats on your phone and tablet.

Castle Vox is a simultaneous-turns team strategy boardgame. Diplomacy meets Axis & Allies game.

Lux Delux is an advanced Risk world domination game with over 800 maps, hard AI, and online multi-player.

American History Lux takes you through the wars of USA history. — Ancient Empires Lux spans Babylon to the Roman Empire.

Lux Touch, Lux USA and Lux DLX let you conquer the world on your iPhone, iPod, and iPad.

Sillysoft makes games for Mac OS X, Windows XP/Vista/7 and Linux. Also mobile games for iPhones, iPads, and iPod Touch.

Macintosh users may be interested to see our favorite Mac OS X games. For the full Sillysoft empire check out the sitemap.

Because taking over the world is fun.
                                 - Lux