Jump to content
  • Advertisement
Sign in to follow this  

AngelScript 2.34.0 is out

Recommended Posts

The major change in this release is the modification on how to declare/register virtual property accessors. Now it is necessary to add a 'property' attribute after the function parameters to indicate to the compiler that this function is meant to be used as property.

This change was made so that it is now possible to have ordinary functions with get/set prefixes that shouldn't be used as virtual property accessors. Another benefit is that the compiler is now able to validate the function signature for use as property accessor upon declaration rather than upon use.

Unfortunately this change might break some existing scripts. If you prefer not to change the existing scripts the engine property asEP_PROPERTY_ACCESSOR_MODE can be set to keep backwards compatibility.

Other than this the release comes with the usual batch of bug fixes and minor enhancements. Don't forget to check out the change list for all the details.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!