Post by n00b on Dec 7, 2020 2:53:00 GMT -6
I have been working most of the weekend on trying to get this out. This is mainly a maintenance release. I will the links in the forum tommorow but you can download it at rcbasic.com right now.
Here is all the changes made:
1. There are new window modes added to WindowOpen that allow you open a window with VSync disabled.
2. RCBasic will now build apps with 32 bit and 64 bit support on android. This is a requirement by google to be able to publish on the google play store.
3. Video Playback was significantly improved.
4. Fixed a bug in the TCP sockets when recieving data. It was returning a Non null terminated string which could cause some weird characters to appear at the end of messages.
5. IOS wasn't reporting any pressure on finger down events so I have it returning pressure value of 1 when the finger is pressed. I am going to do some more digging into what is causing that issue but I don't think anyone really cares so I will probably take my time on that.
6. Web apps are now running much faster and smoother.
NOTE: If you are building a app for the web, you must use either WAV or OGG files. As far as I can tell SDL_Mixer doesn't support any other audio format on the web at present. Also video playback doesn't work in web apps right now.
7. The mouse position now reports correctly when switching between window and fullscreen.
8. GetPixel now works correctly on android.
9. That weird bug rosy reported which caused the compile error when using parenthesis in a expression inside the array index is now fixed.
10. On linux, there is now a script included for users on a distro with the pacman package manager (ie. Arch, Manjaro, etc. ). I did not write this so I am not sure if it works. The user who contributed it has deleted his account so I can't find his name to credit him.
11. The user manual now works offline thanks to a fix by dottygame
12. I added 1 new demo to the Video folder in examples to demonstrate the improvements in video playback.
There are probably some other things I can't think of right now but those were the big ones.
Here is all the changes made:
1. There are new window modes added to WindowOpen that allow you open a window with VSync disabled.
2. RCBasic will now build apps with 32 bit and 64 bit support on android. This is a requirement by google to be able to publish on the google play store.
3. Video Playback was significantly improved.
- Improved video quality.
- The audio is now working when playing videos on mobile. If you are playing on a 32 bit android device the audio is decoded with libtremor which uses a fixed point decoder and has some terrible audio quality. 64 bit devices use libvorbis which is the same decoder used on PC so you will get much better quality.
- Loop counts that are greater than 0 should allow the video to repeat.
- SetVideoPosition doesn't crash when video is stopped.
4. Fixed a bug in the TCP sockets when recieving data. It was returning a Non null terminated string which could cause some weird characters to appear at the end of messages.
5. IOS wasn't reporting any pressure on finger down events so I have it returning pressure value of 1 when the finger is pressed. I am going to do some more digging into what is causing that issue but I don't think anyone really cares so I will probably take my time on that.
6. Web apps are now running much faster and smoother.
NOTE: If you are building a app for the web, you must use either WAV or OGG files. As far as I can tell SDL_Mixer doesn't support any other audio format on the web at present. Also video playback doesn't work in web apps right now.
7. The mouse position now reports correctly when switching between window and fullscreen.
8. GetPixel now works correctly on android.
9. That weird bug rosy reported which caused the compile error when using parenthesis in a expression inside the array index is now fixed.
10. On linux, there is now a script included for users on a distro with the pacman package manager (ie. Arch, Manjaro, etc. ). I did not write this so I am not sure if it works. The user who contributed it has deleted his account so I can't find his name to credit him.
11. The user manual now works offline thanks to a fix by dottygame
12. I added 1 new demo to the Video folder in examples to demonstrate the improvements in video playback.
There are probably some other things I can't think of right now but those were the big ones.