|
Post by n00b on Apr 28, 2020 23:40:11 GMT -6
I am nearing completion on the next release and wanted to show off a cool new feature. In the next release I am including the ability to port to the web so you can host your games in a browser. I was going to hold off on talking about it for a while but I am fairly close to uploading the next release (hopefully 1 to 2 weeks away). johnno56 I used your game to demonstrate it. Let me know what you think: RCBasic Web DemoNote: Audio does not seem to work in the Chrome browser but seems to work fine in every other browser.
|
|
|
Post by johnno56 on Apr 29, 2020 1:31:17 GMT -6
Cool. I even like your choice in demos... lol
By the way... Audio did not work in my Opera browser. Firefox was fine. Great job!!
|
|
|
Post by n00b on Apr 29, 2020 7:49:38 GMT -6
Glad it worked. I only tested 3 browsers: Chrome, Firefox, and Microsoft Edge. Firefox and Edge worked fine but it the audio did not play in Chrome. I am reading through some stackoverflow post to try to figure out why so hopefully I will have it working in more browsers by the time of release. If I can't figure it out soon I won't let it hold me off on the next release.
Speaking of next release, I finished and tested the final linux build last night. There are some windows specific bugs that I am going to work on and then I will build for Android, Mac, and IOS. So we are not too far away. I just wanted to show off the new web browser port.
|
|
|
Post by johnno56 on Apr 29, 2020 15:04:29 GMT -6
Cool. Performance via the browser is ok, a tiny bit slower, but ok. My poor little browser has probably not had to work THAT hard in a long time... lol Still, a great job!
Looking forward to the next release...
|
|
|
Post by tbird on Apr 30, 2020 6:19:29 GMT -6
This is very nice, cant wait to try it on something more modern my crappy lappy, just about died running the demo lol.
|
|
|
Post by n00b on Apr 30, 2020 7:49:39 GMT -6
tbird the browser port is going to have a lot of overhead just because of how browsers work. But as with every other port, I will continue to find ways to squeeze every last bit of speed out of it, even on older hardware.
|
|
|
Post by tbird on May 8, 2020 14:26:18 GMT -6
n00b It worked better on more recent hardware, my laptop doesnt perform very well, which makes it an ideal dev machine, if it runs fast on mine, it will run fast on everyone's!
|
|
|
Post by n00b on May 9, 2020 13:32:28 GMT -6
The web build is built using wasm. Its relatively new technology so it probably isn't going to perform well on older hardware. I will still try to improve it as much as possible over time. I eventually want to build a league of legends competitor in RC (maybe I should start with pong).
|
|
|
Post by johnno56 on May 10, 2020 6:21:30 GMT -6
The first two "video games" were Pong and the not so famous, Space Race.
A piece of trivia: Guess which programming language Pong was written in. No prizes. Just testing to see if we all know.... Moo ha ha...
Clue: The answer will probably explain why there are SO many versions of Pong.
|
|