EarlyMorning - Progress & Discussion

One suite to code them all. An complete IDE and assembler for all your z80 projects!

Moderators: benryves, kv83

Post Reply
User avatar
NanoWar
Extreme Poster
Posts: 365
Joined: Fri 17 Dec, 2004 6:39 pm
Location: #$&"%§!
Contact:

Post by NanoWar »

I played around with it and clicked a lot in the map editor. This is what I got. (It looked like my bug in the sshot as I got the error)

Hope this helps.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.PlotTileToMap(Int32 x, Int32 y, Image tile, Int32 tile_index)
at EarlyMorning.FRM_Main.PB_Map_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Revolution Software
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

NanoWar wrote:I played around with it and clicked a lot in the map editor. This is what I got. (It looked like my bug in the sshot as I got the error)

Hope this helps.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.PlotTileToMap(Int32 x, Int32 y, Image tile, Int32 tile_index)
at EarlyMorning.FRM_Main.PB_Map_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Is registered as BG-004.
Image
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

I released a new version, as you already may have noticed, which (hopefully) fixes all reported bugs and adds a nice little feature. (the latenite feature is not "visible" for normal users :))
Image
User avatar
NanoWar
Extreme Poster
Posts: 365
Joined: Fri 17 Dec, 2004 6:39 pm
Location: #$&"%§!
Contact:

Post by NanoWar »

[ http://users.free.swifthost.net/NanoWar ... Error1.gif ]
I drew a cicle in the map editor. I got an error when I moved the mouse to where it is on the sshot:

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.get_Tile(Int32 x, Int32 y)
at EarlyMorning.FRM_Main.PB_Map_MouseDraw(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Revolution Software
Kozak
Maxcoderz Staff
Posts: 791
Joined: Fri 17 Dec, 2004 5:33 pm
Location: On the dark side of the moon.
Contact:

Post by Kozak »

Have you mentioned how you should call a buildscript somewhere? I want to build my sprites but there isn't an example buildscript.
"They say that sea was created by a man named Maarten Zwartbol, a long time ago...." - Duck, an old Corbin version
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

NanoWar wrote:[ http://users.free.swifthost.net/NanoWar ... Error1.gif ]
I drew a cicle in the map editor. I got an error when I moved the mouse to where it is on the sshot:

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.get_Tile(Int32 x, Int32 y)
at EarlyMorning.FRM_Main.PB_Map_MouseDraw(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Registered as BG-007
Image
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

EM v0.1.2.0 is now online. It fixes the bug found by NanoWar.

Please note if you have any files you made and want to reuse:
EM will now work with a new file type, called Early Morning Resource File (*.emr). It's the same as the old .xml file, just with a different file-type. To "convert" your old files, just go to the cmd, and use "ren old.xml new.emr" where old.xml is your old file and new.emr the new file
Image
Kozak
Maxcoderz Staff
Posts: 791
Joined: Fri 17 Dec, 2004 5:33 pm
Location: On the dark side of the moon.
Contact:

Post by Kozak »

Hey kv mapping is extremely slow on my 1 GHz computer. It takes 6 seconds for a tile to appear on the map once I have placed it there.

Any chance it get's any faster?
"They say that sea was created by a man named Maarten Zwartbol, a long time ago...." - Duck, an old Corbin version
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

Kozak wrote:Hey kv mapping is extremely slow on my 1 GHz computer. It takes 6 seconds for a tile to appear on the map once I have placed it there.

Any chance it get's any faster?
Depends on the size of your map and/or sprites I guess... what is it?
Image
Kozak
Maxcoderz Staff
Posts: 791
Joined: Fri 17 Dec, 2004 5:33 pm
Location: On the dark side of the moon.
Contact:

Post by Kozak »

60x60 map with 16x16 sprites.
"They say that sea was created by a man named Maarten Zwartbol, a long time ago...." - Duck, an old Corbin version
User avatar
blueskies
Calc Wizard
Posts: 553
Joined: Tue 25 Apr, 2006 2:24 pm

Post by blueskies »

side note, I just wanted to mention and thank you KV for a feature I just discovered. Changing the order of tiles prompts to update the map. CalcGS lacked this and I hated it! Thank you!!!
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

blueskies wrote:side note, I just wanted to mention and thank you KV for a feature I just discovered. Changing the order of tiles prompts to update the map. CalcGS lacked this and I hated it! Thank you!!!
So did I. That's why I made that feature :D

@Kozak: I'll look into it. I propably have to optemize the code behind that. I only used smaller maps till now... :) ... But maybe you should reinstall your PC aswell... it doesn't sound really "stable" to me :P
Last edited by kv83 on Tue 21 Feb, 2006 11:53 am, edited 2 times in total.
Image
Kozak
Maxcoderz Staff
Posts: 791
Joined: Fri 17 Dec, 2004 5:33 pm
Location: On the dark side of the moon.
Contact:

Post by Kozak »

Yeah that's really...really neat! But it is still really slow! Does this happen on eveyr computer?
"They say that sea was created by a man named Maarten Zwartbol, a long time ago...." - Duck, an old Corbin version
User avatar
blueskies
Calc Wizard
Posts: 553
Joined: Tue 25 Apr, 2006 2:24 pm

Post by blueskies »

i tried a 100x100 map (8x8 sprites) and it definitely hung up for a while, but didn't crash or map slowly. then I just played around w/ a small one (20x20 or something), and i didn't notice any slowdown. :(
Post Reply