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.
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!
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.
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
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
This discussion is read-only.Browse the replies or return to the forum category.Back to forum