About Store Forum Documentation Contact



Post Reply 
EE 1.0 Experiencing problème about the MiniMap
Author Message
neo22 Offline
Member

Post: #1
EE 1.0 Experiencing problème about the MiniMap
Hi,

I have not been working on my project for a while. I updated my code to the new EE 1.0 changes and it now compile and word properly. Exept for the MiniMap who does not apear anymore. I rebuilded the World and the MiniMap files but it does not change anything.

In debug mode (Visual Studio 2010), in MiniMap::worldToImage, both areaSize() and areasPerImage() are equals to zero. I suppose the Settings informations are created dans then never loaded.

I use the latest version of the Editor / Libs and Headers. I joined my MiniMap settings.


Attached File(s)
.zip  Settings.zip (Size: 243 bytes / Downloads: 4)
11-22-2013 10:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: EE 1.0 Experiencing problème about the MiniMap
Hi,

I've just tried using EE 1.0

Game::MiniMap::Settings s;
s.load(SystemPath(SP_DESKTOP).tailSlash(true)+"Settings");

and it loads fine.
areas_per_image = 2
image_size = 512
area_size = 64.000000

I've also tried EE 1.0 mini map tutorials:
23 - Mini Maps.cpp
24 - Mini Map of External World.cpp

And no issues
11-23-2013 12:31 AM
Find all posts by this user Quote this message in a reply
neo22 Offline
Member

Post: #3
RE: EE 1.0 Experiencing problème about the MiniMap
Ok. thanks for checking this.
The MiniMap settings should be loaded on Game::World::New, right?
Is it possible that the link between the Game Map Files and The MiniMap got broken somehow?
The manual loading (as you did with your code) is working ok.
11-23-2013 10:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
neo22 Offline
Member

Post: #4
RE: EE 1.0 Experiencing problème about the MiniMap
Ok that's fixed. It was all my fault.
I was saving the world using it's datapath and not it's name, then when loading back the path was wrong.
11-23-2013 01:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply