Author Topic: SGDK 2.1.4 Released  (Read 3552 times)

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
SGDK 2.1.4 Released
« on: 2010-05-19, 06:53:29 AM »
Changes in version 2.1.4

  • Fix an error that prevented multiple displays from being open simultaneously.
  • Implement the ability to sort sprites in the map editor.
  • Improve error handling when attempting to run the project if it is already running.
  • Allow a layer to be created with a null tileset to represent the designer background layer (allow user-created layer to refer to no tileset).
  • Stop riding on a platform if it is deactivated while riding it.
  • Prevent debug-mode errors when a platform is deactivated and a sprite is riding on it.
  • Change CheckNextCoordinate to proceed to the next target if the distance from the current target exactly matches the target distance.
  • Prevent the user from creating a layer with zero tiles.
  • Implement ExecuteRulesInternal so that ExecuteRules can be overridden in an intermediate class.
  • Implement BaseClass property for plans and sprites to allow inheriting from customized code instead of only PlanBase and SpriteBase.
  • Make ProcessSprites overridable.
  • Implement IsSpriteWithinPolygon function for plans.
  • When resetting source code to a template that imports decapsulated source code files, be sure to import the referenced code because the project into which the code is being imported will not know how to find the template's decapsulated files.
  • Add OpenTK.dll.config to source control.
  • If a plan contains a SpriteBase-derived member, show a drop-down list of the appropriate sprites in the map editor when this plan is selected.
  • Prevent invalid sprite and plan names from being specified in the map editor
  • Change most SpriteBase and PlanBase members to be protected instead of private.
  • Change most SpriteBase and PlanBase members to be virtual so they can be overridden by an intermediate base class.
  • Change SpriteBase.TouchTiles to return a strongly typed collection of results.

Download the latest from http://sourceforge.net/projects/sgdk2/

Vincent

  • SGDK2 Addict
  • Expert
  • Fanatic
  • *****
  • Posts: 612
  • Legacy of Kain: Revival is completed!!!
    • View Profile
    • Chivalrous Games
    • Email
Re: SGDK 2.1.4 Released
« Reply #1 on: 2010-05-19, 07:35:26 AM »
Wow!  Each time there's is a new version of SGDK2, I'm telling myself: "OK, this is the last time I update since I've done too many changes into the source code".  And each time that I see the list of changes I know I just have to update!  :P

I can't wait to try this out!  The platform deactivation that doesn't result in an error is a great addition!  In my game, the character can sometime destroy the platform he's riding, which resulted in some strange behaviors.  I'm glad to see that it's fixed. Sorting sprites in the map editor is a good idea too. :)

Thanks bluemonkmn!
Legacy of Kain: Revival completed!
http://lokrevival.webs.com

See also my company website:
http://chivalrousgames.com

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: SGDK 2.1.4 Released
« Reply #2 on: 2010-05-19, 07:42:39 AM »
With this update onward, hopefully, you shouldn't have to do too many changes to the original source code, so resetting the source code shouldn't be a problem.  At least, that was one of the things that I thought would be fixed by providing the ability to use subclasses of SpriteBase and PlanBase, and also being able to override most functions in those classes.
Edward Dassmesser

Vincent

  • SGDK2 Addict
  • Expert
  • Fanatic
  • *****
  • Posts: 612
  • Legacy of Kain: Revival is completed!!!
    • View Profile
    • Chivalrous Games
    • Email
Re: SGDK 2.1.4 Released
« Reply #3 on: 2010-05-19, 07:45:27 AM »
@Durnurd: No doubt since most of the changes I did are in the SpriteBase class. :)
Legacy of Kain: Revival completed!
http://lokrevival.webs.com

See also my company website:
http://chivalrousgames.com