Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Status update 2017-04-27 (and coming ScriptAPI breaking changes)

Status updates from MythoLogic Interactive about the game progress.
Forum rules
By using the forum you agree to the following rules.
Locked
User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1884
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 34

Status update 2017-04-27 (and coming ScriptAPI breaking changes)

Post by Gurt » Thu Apr 27, 2017 8:04 pm

Status update.

If you read the last status update you know that we're tinkering with the new dynamic camera for SFD. It's all coming together and we're happy with the results. This is how the dynamic camera should have started a long time ago. I hope we can get an update out within the next two weeks.

As we have changed the camera some functions related to the camera in the ScriptAPI is obsolete and will no longer work and we have decided to remove them. We will also take this time to remove some older obsolete code from the ScriptAPI announced in prevously updates. You can see all the removed functions and properties in the list below.
 ! Message from: Alpha v.1.3.0: Removed functions/properties from the ScriptAPI
  • Game.SetCameraArea(IObject obj)
  • Game.GetBorderArea()
  • Game.SetBorderArea(Area area)
  • Game.SetBorderArea(int top, int left, int bottom, int right)
  • Game.SetBorderArea(IObject obj)
  • Game.ClearCameraFocusObjects()
  • Game.AddCameraFocus(IObject objectToFocus)
  • Game.AddCameraFocus(IPlayer playerToFocus)
  • Game.RemoveCameraFocus(IObject objectToUnfocus)
  • Game.RemoveCameraFocus(IPlayer playerToUnfocus)
  • IPlayer.SetBotType(BotType botType)
  • IPlayer.BotType BotType(get)
  • IPlayer.RunToPosition(Vector2 worldPosition, int facingDirection)
Maps/Scripts utilizing any of the above functions need to be updated in order to continue working after the update.

With this new update we're also adding a new "CameraAreaTrigger" which is designed to set a target camera area for the end users. This can be an open area or a "corridor" - depends on how you want it to be.

After updating the game I will also update this forum to a newer version. Any extensions/mods that we use today that for some reason stops working will simply be disabled. I hope the update will fix some problems with embedded images and other minor things.
13 x
Gurt

Locked