• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

Mojo 1 HTML 5 WebGL target

Pierrou

Well-known member
Joined
Jul 6, 2017
Messages
237
Hello
First of all thanks for Cerberus X, I'm glad some talented coders are keeping our beloved Monkey X alive...
I installed it, it was quite easy (inside MonkeyX Studio), the standard HTML 5 target is working but for my current project I'm using Devolonter's custom WebGL target, which works fine and is a ton faster than the standard HTML target when using the SetColor command.
Available here and working fine with the latest MonkeyX v87b
http://www.monkey-x.com/Community/posts.php?topic=3276&page=first
I'm probably some kind of spoiled child used to have everything working out of the box so I don't know what to do. I copied the custom target inside the targets folder and when I try to compile the driver.cxs file opens and I get a "Native Game class not implemented".
Any idea what I could do?
Thanks for everything!
 
Hey Pierrou,

I've attached a modified mungo target, just copy it into your targets folder.

At least it compiles and starts without any errors but I don't see anything with the examples then...
 

Attachments

  • html5_mungo.zip
    33.4 KB · Views: 337
Hi Martin thanks for such a quick reply. Same here, the project compiles and I get no error message but then all I see is a black screen the Main Function doesn't seem to run... Sorry for this since I'm probably the only one using this target, but using regular HTML5 is way too slow for that project and compiling to Desktop everytime takes ages on my computer. Thanks again!
 
I'll look into this. :)
 
I was always under the impression that the later HTML5 target of MX switched to WebGL and so should not make any difference. But maybe I was wrong.
 
Only if you use mojo2.
 
No problem, had to time for that yet but will do.

BTW: Have you tried the mojo2 framework instead of mojo? As far as I remember it should use WebGL?
 
@Pierrou As the Monkey X site is down, do you happen to have the custom Webgl Target that Devolonter posted there? If yes, could you attach it please?
 
As the Monkey X site is down, do you happen to have the custom Webgl Target that Devolonter posted there? If yes, could you attach it please?
It should be here.
 
Thanks Dawlane. I think you need to browse down the page and get the whole Mungo zip like Xaron did. Then follow the 6 steps. Or get the attached zip which is the exact result of those 6 steps above. Thanks a lot, again, for reviving Monkey X (Monkenstein?)...
 

Attachments

  • html5GL.zip
    44.9 KB · Views: 330
I've looked into it. Here's a working version for Cerberus:
 

Attachments

  • html5GL.zip
    44.7 KB · Views: 341
OK custom HTML5 WebGL target seems to work alright and so does the Desktop target... I'm now a glad CerberusX user! Thanks a lot for considering such issues even when only one or two people are in trouble...
 
You're very welcome. Sorry it took so long. :)
 
Back
Top Bottom