Tiny Thor (made with Monkey X)
Develop on Windows or OSX and deploy easily
Crypt of the Necrodancer (made with Monkey X)
New Star Soccer - BAFTA Winner 2013!!! (made with Monkey X )
Ted - The code editor of Cerberus X
Avalon Legends (made with Monkey X)
Race Time (made with Monkey X)

Michael's dev log

MikeHart Jun 23, 2017

  1. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
    Ouch. So long since my last update, I am very sorry about it. I should communicate more i think.

    So what happend in the last weeks? First of all, the hardware i got is running fine now. I had only one freeze since the last SSD exchange which happend when i tried to get ubuntu running in Virtualbox. It runs now but i can't install the extensions as other software needs to be installed like GCC. Can anyone recommend an Ubuntu tutorial for Windows user and/or dummies? Installing software, permissions, etc.Linux wise I feel totally stupid :confused:

    For an example, I downloaded @dawlane 's experimental CX distribution. Unpacked it on the desktop in Ubuntu. I clicked on the launcher. Nothing happens. I clicked on TED, nothing happens. But I get no messages. So I don't know how to get this going. Can we drop Linux? :p

    Regarding CX, I played with an old Monkey module for TTF fonts which someone mentioned here. While it works beautiful on HTML, the font rendering on GLFW looks ugly. Even antializing doesn't help much. :eek:

    So I looked at other solutions. stb_truetype.h came to my mind. The Vortex framework is using it in its font converter and I was able to use it in a CX test script too. Looks and works great. I tested this only on Windows and the next step naturally is OSX. IOS should not be a problem as you can use C++ there too. But Android will be a pickle. The HTML solution could come from the module mentioned above. Mixing all this will be a pickle but the very nature of different target languages will make it mandatory I guess. :rolleyes: M2 made the right step in the direction to only use C++ as a target language. We should go the same route I think.

    Anyway, when I have TTF fonts finalized, I can concentrate on the UI module I have started. Text rendering is needed in a lot of gadgets and so TTF fonts are a must.

    Besides that, I am fighting a little with my health lately. Strong fatique in the evenings, a cold that doesn't go away for months now, water in my legs, my asthma is getting worse. Yesterday I got told that I should get an MRI of my eyes to see if the higher inner pressure of my eyes have damaged them. Bummer. :( I hope I will get on track soon. I really need to loose weight, that will help definitely.

    Latest by the end of the month I want to pack another release as Martin made the needed changes to Android. After that and once dawlane has finished his work we can integrate it into the official release.

    Michael
     
  2. Rob Hewitt

    Rob Hewitt Member

    Messages:
    77
    Likes Received:
    40
    Trophy Points:
    18
    Get well soon. You're all doing fab work. Re Linux I had the same problem trying to start cx on my raspberry pi although I suspected that may have been the hardware. ;-)
     
    MikeHart likes this.
  3. dawlane

    dawlane Active Member CX Code Contributor

    Messages:
    385
    Likes Received:
    161
    Trophy Points:
    43
    You will only get a message if you run it via the command line. And you do have to make sure that you have the required run-time libraries installed.
    This old guide I wrote should still work. https://www.cerberus-x.com/community/threads/how-to-build-desktop-target.30/#post-140

    Snap! Though they don't use MRI's to check for eye damage. Depending on your health care system an optician would refer you to a hospital, where they check your visual acuities, give you an eye exam to check for anything abnormal. They will be interested in the optic nerve cup disc ratio, central corneal thickness, Intraocular eye pressure (this has a relationship with the corneal thickness and the optic nerve cup disk), your peripheral field vision, give you a Optical Coherence Tomography scan for retinal nerve fiber layer thickness. Basically they will be looking for Glaucoma.

    I hope your health gets better soon. And all goes well.
     
    Last edited: Jul 11, 2018
  4. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
    Thanks dawlane. I will look into this guide. How do I get to the command line?

    Yup, that was it. That is what I will get done on the 19th. I was mistaken this with an MRI.

    I think that is the reason why I should get checked. The doctor wants to see if the nerves are damaged. And what else they can see with this procedure.

    Thank you. I am sure it will.
     
  5. dawlane

    dawlane Active Member CX Code Contributor

    Messages:
    385
    Likes Received:
    161
    Trophy Points:
    43
    Depends on the distribution. Usually Ctrl+Alt+t or gui search in ubuntu top left icon and type terminal.
     
    MikeHart likes this.
  6. PixelPaladin

    PixelPaladin Member CX Code Contributor 3rd Party Module Dev

    Messages:
    95
    Likes Received:
    45
    Trophy Points:
    18
    @MikeHart: I hope you get better soon.
    Ctrl+Alt+T Should open the terminal. Depending on the Linux distribution you are using, there should also be some kind of launcher or start menu (top left or bottom left). In unity and gnome you can press the super key (some people call it windows key ^^), type Ā»terminalĀ« and press return.
     
    MikeHart likes this.
  7. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
    Thank all for the well wishes! I will, I promise.
     
  8. dawlane

    dawlane Active Member CX Code Contributor

    Messages:
    385
    Likes Received:
    161
    Trophy Points:
    43
    You do happen to have the 64 bit version of Ubuntu installed? I can't get any 64 bit VBox guests working while have the current release version of Windows 10 installed. Microsoft made a huge pigs ear of it by crippling Intel VT-d. I had to turn it off in the BIOS to get Windows to boot. The binaries I built are 64bit as 32 bit will be dead in around two years.
     
  9. dawlane

    dawlane Active Member CX Code Contributor

    Messages:
    385
    Likes Received:
    161
    Trophy Points:
    43
    I see now that Ubuntu have changed UI the layout of 18.04. You can access all apps via the icon on the bottom left as well as open the search via Activities.
     
  10. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
    Yes, I tried that.
    Thank you, I try this.
     
  11. Holzchopf

    Holzchopf Moderator Staff Member Moderator CX Code Contributor 3rd Party Module Dev

    Messages:
    263
    Likes Received:
    117
    Trophy Points:
    43
    I just wanted to say: I don't think so. This would kill off the *very* useful HTML-Target. Which is one of the reasons why I use CX.
     
  12. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
  13. Gerry Quinn

    Gerry Quinn Active Member

    Messages:
    108
    Likes Received:
    41
    Trophy Points:
    28
    My cheap and cheerful solution is to have a bitmapped font in lots of sizes and a font manager that returns the biggest one smaller than a requested point size (my font class based on Angelfont can scale them to exact size too if required, but I generally prefer to pick a pregenerated one that fits).

    I think it's not too bad an issue if TrueType is available only on desktop, so long as a substitute is available for other targets.

    For me, Cerberus is a nice language, but the multi-targeting is its main selling point.
     
  14. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
    I think for the desktop/ios part I go with the stb_truetype implementation and the rest goes with the CX module.
     
  15. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
    Time for another update...

    I have contacted Martin and he agreed to transfer the domain to me in the next days/weeks. I have also secured the cerberus-x.net domain so i can do the server transfer more smoothly. As this forum software is commercial, i decided to move over to www.mybb.com . An initial test showed good results, the only thing i see is that you will need to retrieve/set the password then. And we might loose the gallery for now.
    I might not setup the wp site again but try to integrate its content into pages. Maybe there is a portal for it.

    That is all for now.
     
    Ferdi, Phil7 and Pierrou like this.
  16. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
    Scrap MyBB. I mean it is nice but limited. As soon you want to add stuff to it, you run into either non existant plugins or the way you add and code plugins is super complex. Every forum software only covers 80-90% of what is really needed. Maybe that is the reason why all the big players use their own stuff. Heck even BRL coded everything themself.

    So I am using the same method which I applied when I created this Wordpress theme. Watched a few YT videos, studied some tuts and now I am creating a new website/forum for CX with the help of HTML, PHP, MySQL and some Javascript. Slim, custom and only what is needed. Why? We have to move everything to my webspace in the next weeks, the main domain will be transfered to me. So I can't use this forum software anymore as it is bound to Martin's license. We need a replacement.

    Do you have wishes for it? Maybe user worklogs? Or displaying the latest media that was posted on top of the forum? A chat box perhaps? How about a shop to sell your stuff for CX?

    What do you think this place should have and would be of value for it?
     
  17. Phil7

    Phil7 Active Member

    Messages:
    143
    Likes Received:
    36
    Trophy Points:
    28
    I know you are going to put it together nicely :)
    - One thing I would wish is to have the forum "inside" the main page, so the menu is not changing anymore, when visiting the forum. I think this was due to the fact that the forum was one package and the main page came afterwards!?
    So keeping the forum slim and custom is what I also prefer!
    - The download links should be in the primary menu not a submenu.
    - In my opinion the documentation should be first in a submenu of "learn" or in a table of content on the learn page.

    what do you think?
     
  18. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
    All valid points. At the beginning the docs link was in a sub menu :D And yes, the main page is a wordpress site, the forum a xenforo site. Two separate entities and that is what I want to get rid off.
    As I want a separate main/entry page with news and other stuff, how about showing the latest 5/10 forum posts on it, maybe in a side bar there?