Post by n00b on Nov 6, 2019 13:53:39 GMT -6
I just uploaded the v3.11 release. This is a pretty big release with a lot of bug fixes, changes, and improvements. You can download it at rcbasic.com
The biggest changes in this version is the ports to Mac and IOS. The next huge feature is the ability to integrate Java code on android. You also have the ability to use native C/C++ code on IOS through the project file. There is instructions included in both for how to use these features.
There has been some much needed improvements in the manual:
*Complete rewrite of the "Graphics and Sound" page
*Added some examples to harder to understand functions
*Corrected a lot of typos I discoverd
*Added the challenges back to the "Introduction to Programming" sections
There are a number of new functions added:
IMAGES
*SetImageBlendMode - Sets the blend mode of an image
*SetImageColorMod - Sets the color modulation of an image
*ImageBlendMode - Returns the blend mode of an image
*ImageColorMod - Returns the color used for color modulation on an image
CANVASES
*SetCanvasBlendMode - Sets the blend mode of a canvas
*SetCanvasColorMod - Sets the color modulation of a canvas
*CanvasBlendMode - Returns the blend mode of a canvas
*CanvasColorMod - Returns the color used for color modulation on a canvas
*CanvasZ - Returns the draw order of the canvas
*CanvasAlpha - Returns the Alpha value of a canvas
SOUND AND MUSIC
*SetChannelDistance - Adjust volume to simulate distance
*SetChannelPanning - Applies a panning effect
MATH
*Degrees - Converts radians to degrees
*Radians - Converts degrees to radians
OS
Android_GetExternalStorageState - Returns the storage state available to an android app
Android_GetExternalStoragePath - Returns the external storage location of an android app
Android_GetInternalStoragePath - Returns the internal storage location of an android app
RCBasic_Android_Interface - Executes java code on android
RCBasic_IOS_Interface - Executes C/C++ code on IOS
There was also a few bug fixes:
*Fixed LCase returning an empty string
*Fixed CanvasClip losing rendering target when flag was set to 1
*Fixed ArrayDim causing compile error
Last thing to note are some changes that were made in this release:
*HexInt has been changed to HexVal
*Len() has been added as an alternative to Length()
Finally, I just want to address problems that could occur with building IOS app. Since I don't own an IOS device I was only able to test the IOS build inside the simulator. There shouldn't be any problem with building for an actual device but since I was not able to test it myself I can not be certain of the results.
The biggest changes in this version is the ports to Mac and IOS. The next huge feature is the ability to integrate Java code on android. You also have the ability to use native C/C++ code on IOS through the project file. There is instructions included in both for how to use these features.
There has been some much needed improvements in the manual:
*Complete rewrite of the "Graphics and Sound" page
*Added some examples to harder to understand functions
*Corrected a lot of typos I discoverd
*Added the challenges back to the "Introduction to Programming" sections
There are a number of new functions added:
IMAGES
*SetImageBlendMode - Sets the blend mode of an image
*SetImageColorMod - Sets the color modulation of an image
*ImageBlendMode - Returns the blend mode of an image
*ImageColorMod - Returns the color used for color modulation on an image
CANVASES
*SetCanvasBlendMode - Sets the blend mode of a canvas
*SetCanvasColorMod - Sets the color modulation of a canvas
*CanvasBlendMode - Returns the blend mode of a canvas
*CanvasColorMod - Returns the color used for color modulation on a canvas
*CanvasZ - Returns the draw order of the canvas
*CanvasAlpha - Returns the Alpha value of a canvas
SOUND AND MUSIC
*SetChannelDistance - Adjust volume to simulate distance
*SetChannelPanning - Applies a panning effect
MATH
*Degrees - Converts radians to degrees
*Radians - Converts degrees to radians
OS
Android_GetExternalStorageState - Returns the storage state available to an android app
Android_GetExternalStoragePath - Returns the external storage location of an android app
Android_GetInternalStoragePath - Returns the internal storage location of an android app
RCBasic_Android_Interface - Executes java code on android
RCBasic_IOS_Interface - Executes C/C++ code on IOS
There was also a few bug fixes:
*Fixed LCase returning an empty string
*Fixed CanvasClip losing rendering target when flag was set to 1
*Fixed ArrayDim causing compile error
Last thing to note are some changes that were made in this release:
*HexInt has been changed to HexVal
*Len() has been added as an alternative to Length()
Finally, I just want to address problems that could occur with building IOS app. Since I don't own an IOS device I was only able to test the IOS build inside the simulator. There shouldn't be any problem with building for an actual device but since I was not able to test it myself I can not be certain of the results.