January 22, 2019, 01:12:34 AM

Author Topic: AGK Tier2 meets Cerberus X  (Read 2744 times)

Offline MikeHart

  • Hero Member
  • *****
  • Posts: 527
  • Cerberus-X Dev Team
    • Cerberus X
AGK Tier2 meets Cerberus X
« on: March 25, 2018, 06:11:48 PM »
I simply could not resist  :D




Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 1373
Re: AGK Tier2 meets Cerberus X
« Reply #1 on: March 25, 2018, 08:58:46 PM »
lol, I like it :P - How many commands have you done?
Until the next time...

Offline MikeHart

  • Hero Member
  • *****
  • Posts: 527
  • Cerberus-X Dev Team
    • Cerberus X
Re: AGK Tier2 meets Cerberus X
« Reply #2 on: March 25, 2018, 09:40:51 PM »
Thanks, a lot is done automatically. Everything that needs a string conversion still needs work, but I am writing a conversion program for it.

Offline MikeHart

  • Hero Member
  • *****
  • Posts: 527
  • Cerberus-X Dev Team
    • Cerberus X
Re: AGK Tier2 meets Cerberus X
« Reply #3 on: March 25, 2018, 09:41:36 PM »
I want to convert my game to CX.

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 1370
Re: AGK Tier2 meets Cerberus X
« Reply #4 on: March 25, 2018, 09:50:55 PM »
lol good work.  ;D
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)

MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.

Offline MikeHart

  • Hero Member
  • *****
  • Posts: 527
  • Cerberus-X Dev Team
    • Cerberus X
Re: AGK Tier2 meets Cerberus X
« Reply #5 on: March 25, 2018, 09:52:03 PM »
lol good work.  ;D


 :P  what makes you laugh about it?

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 1370
Re: AGK Tier2 meets Cerberus X
« Reply #6 on: March 25, 2018, 09:53:29 PM »
Qube started it - ask him  ;)
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)

MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.

Offline MikeHart

  • Hero Member
  • *****
  • Posts: 527
  • Cerberus-X Dev Team
    • Cerberus X
Re: AGK Tier2 meets Cerberus X
« Reply #7 on: March 25, 2018, 10:01:57 PM »
Okidoki  8)

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 1373
Re: AGK Tier2 meets Cerberus X
« Reply #8 on: March 25, 2018, 10:59:06 PM »
Qube started it - ask him  ;)
Charming! :o - I was expressing surprise at seeing AGK commands in Cerberus ;D

Is there going to be a downloadable for us mere mortals to play with?
Until the next time...

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 1370
Re: AGK Tier2 meets Cerberus X
« Reply #9 on: March 25, 2018, 11:10:47 PM »
 :D
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)

MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.

Offline MikeHart

  • Hero Member
  • *****
  • Posts: 527
  • Cerberus-X Dev Team
    • Cerberus X
Re: AGK Tier2 meets Cerberus X
« Reply #10 on: March 25, 2018, 11:22:18 PM »
Qube started it - ask him  ;)
Charming! :o - I was expressing surprise at seeing AGK commands in Cerberus ;D

Is there going to be a downloadable for us mere mortals to play with?


When I am done, sure. Give me a week or two.

Offline Naughty Alien

  • Hero Member
  • *****
  • Posts: 542
Re: AGK Tier2 meets Cerberus X
« Reply #11 on: March 26, 2018, 01:29:43 AM »
..interesting..

Offline Rick Nasher

  • Hero Member
  • *****
  • Posts: 605
Re: AGK Tier2 meets Cerberus X
« Reply #12 on: March 26, 2018, 08:12:02 PM »
The more the better I'd say.  ;)
Now, dunno how far you wanna take this, but Blitz/Monkey is sort of abandon ware.
AGK isn't so is this sort of legal-ish?
_______________________________________
 B3D + physics + shaders + X-platform = AGK!
:D ..ALIENBREED *LIVES* (thanks to Qube).. :D
_______________________________________

Offline MikeHart

  • Hero Member
  • *****
  • Posts: 527
  • Cerberus-X Dev Team
    • Cerberus X
Re: AGK Tier2 meets Cerberus X
« Reply #13 on: March 26, 2018, 08:58:56 PM »
The more the better I'd say.  ;)
Now, dunno how far you wanna take this, but Blitz/Monkey is sort of abandon ware.
AGK isn't so is this sort of legal-ish?
Don't you worry. I would not distribute content of AGK as long as I have permission to do so.


Right now you only...

1# need to copy the content of some AGL Tier2 folders into the CX target.
2# modify one cpp file of the copied content with a few lines.

I will contact Richard Vanner when I have it in a state like I want it to be, to see what parts I could legally distribute with the target. But so far I would not need to distribute any of it.
Just a 1 page document to tell the user what to copy and what to modify.

Cerberus X will be just a different language you code your game in and there you call the AGK commands like you would call a CX mojo command. With the benefit of a BASICish language with classes, lists, pools and whatever the CX language provides.

I have now the whole shebang of AGK API calls converted (over 1800, including string conversion) to be used in CX and so far it runs fine.
And what a joy are the compile times of MSVC 2017 compared to MingW.


I am 99.99% confident that it will work out just fine. Of course it needs more testing and who knows which return values CX don't like. I am also not sure about the GC in CX.
But the rest, I am pretty pleased at the moment :-)



You may wonder why I waste time about this? I wanted to learn how to create a CX target. I love the API of AGK. So I was curious if I can create a CX->AGK target. And it was much
easier than I thought. Adding to that I still have this AGK game unfinished. As I am targeting windows only atm, I want to see if I can port it over to CX.

Offline Hotshot

  • Jr. Member
  • **
  • Posts: 16
Re: AGK Tier2 meets Cerberus X
« Reply #14 on: March 27, 2018, 12:36:08 AM »
Can you try port Raylib to over? ;D