⌂ YolkfolkThe Dizzy Fansite
Community discussion

something wrong with map editor.

Started by Meph on 3 January 2010 • 7,052 views

11 posts
#54617
never happened before.
I've tried starting again and it still keep happening.
It's a good job i gave it a test before building all the map.

This was meant to be one of two little screen shots as i wanted an opinion on something in particular..
👍 0
#67922
oh Dizzy isn't falling his jumping, just out of the screen below is the ground which he will stand on but you can not see.
👍 0
#67927
the map doesn't fit the game screen.
:cry:
👍 0
#67929
have you tried changing the map size in the editor? i think it's in 'info'. that seems the most obvious problem to me.

I actually can't see it being anything else really.
👍 0
#67933
well i changed the size of the rooms with the editor before i started.
Built a few rooms and then when i loaded the game up that happen.
It seems the rooms are too big, it shouldn't be a problem of the room size is the same as my other games as i never changed the default size but this time i wanted slightly bigger rooms.
👍 0
#67937
[quote data-userid="55" data-postid="67933"]

well i changed the size of the rooms with the editor before i started.
Built a few rooms and then when i loaded the game up that happen.
It seems the rooms are too big, it shouldn’t be a problem of the room size is the same as my other games as i never changed the default size but this time i wanted slightly bigger rooms.

[/quote]

what size rooms do you have in the editor? they should be 240x136 by default. If you've changed them, then that is why you're having problems. the game doesn't automatically change everything else to accommodate different room sizes, you have to change it all yourself. And trust me, there's quite a bit to change before everything will look right. Not only that, but it's not obvious what to change, nor how to change it.

Put it this way: to move the game window down by 8 pixels from TLoD to CoTM took quite a long time, just to do that, because i'd almost forgotten how everything is done!
👍 0
#67938
I think i went for the maximum size :teethy:
I thought it would all just automatically fit.. oh well I'll change it to how i usually have it.

Thanks!
👍 0
#67939
You will find that the whole screen is being displayed. It is just hidden behind the hud. Moving the Hud is a head scratching experience if you've not done it before. My first time was in Excalibur Dizzy and it took hours to do. I've now got it down to a fine art thankfully.

Check out 'HandlerDrawHud()' in 'handlers.gs' and refer to the manual on what 'HudDrawTile' does.

Good Luck.
👍 0
#67940
In fact id still have to shrink the game play aria anyway even if the sides of the boarder fit the bottom is no even in playing sight.
But I've sorted the issue by just putting the screen back to how it was, im happy i didn't have to start the map over just needed alittle adjustment to get things back into the correct rooms. lol

Probably looks better to be honest..
👍 0
#67982
The maximum room size in editor is 256x192 (the z80 screen), though it can be forced to bigger values for non-DizzyAGE games.

If you set your room to this size, you must also adjust the view position in the game. That is where the room's view is displayed, relative to the 245x192 screen.

By default, in handlers.gs you have:
GameSet(G_VIEWX,8);
GameSet(G_VIEWY,48);

In your case you probably need to set it to 0,0 (top-left corner) and change the look of the hud.

The room size should be received through game variables G_ROOMW and G_ROOMH, which would be the values set in the editor.

There might be other things to configure, depending on scripts, but this is a start.

Alex
👍 0