Monday 25 January 2016

Hi guys

I have been working on the placement editor, tidying up some code, trying to make things work better and faster.

Improvements made.


  • Editor now starts up faster.
  • Deleted a lot of print statements that i was using to debug.
  • Re-organising code to make it easier to follow and change.
  • Adding some error trapping code to the editor, (i know  what to do and what not to do to stop editor crashing , but much more efficient if i can catch errors if i mistakenly do things the code doesnt like, and also much more user friendly so other people can use it eventually)
  • Added a message box. so editor can display messages to help you and display error messages.
  • All messages now display in message box.
  • added current cursor position to the stats window.
  • tidied up the moving platform menu, it was placing messages over the world display, now moved to message window.
  • message window now a function so quicker to display messages.it automatically works out where to place text depending on text length and whether or not there are one or two lines to display. Original  function asked for co-ordinates and i had to work out manually, which took a bit of trial and error to get the positions right. you can also add rgb values for the text colour.

No comments:

Post a Comment