More updates!
Added a new function to the Type static object called Type.isType(pType, pType2) which returns true if pType is equal to pType2 or a child of pType2, and false if it is not either. This replaces Type.checkType.
Went ahead and worked on the icon editor a bit. You may now drag image files from your computer directly onto the icon canvas to "paste" that image directly onto the icon. You can also copy images outside of the IDE and paste them onto the canvas of the icon you are editing. Sadly browsers do not currently let you put images into the clipboard, so I can't make it so you can copy icons and paste them outside the IDE yet, but once browsers allow that, I will get it added. I also fixed some issues with undo/redo while selecting sections of the icon.
Worked a bit on the interface editor. Added a grid system that the interface elements snap to while the grid is enabled. You can set the size of the grid or disable it.
I also added a zoom feature to the map editor and fixed/changed things here and there around the map editor.
Also fixed/changed various things all around the IDE.
Short post, but a lot of work went into this update!
More updates coming soon!
Added a new function to the Type static object called Type.isType(pType, pType2) which returns true if pType is equal to pType2 or a child of pType2, and false if it is not either. This replaces Type.checkType.
Went ahead and worked on the icon editor a bit. You may now drag image files from your computer directly onto the icon canvas to "paste" that image directly onto the icon. You can also copy images outside of the IDE and paste them onto the canvas of the icon you are editing. Sadly browsers do not currently let you put images into the clipboard, so I can't make it so you can copy icons and paste them outside the IDE yet, but once browsers allow that, I will get it added. I also fixed some issues with undo/redo while selecting sections of the icon.
Worked a bit on the interface editor. Added a grid system that the interface elements snap to while the grid is enabled. You can set the size of the grid or disable it.
I also added a zoom feature to the map editor and fixed/changed things here and there around the map editor.
Also fixed/changed various things all around the IDE.
Short post, but a lot of work went into this update!
More updates coming soon!