AGK Tier2 meets Cerberus X

Started by MikeHart, March 25, 2018, 18:11:48

Previous topic - Next topic

MikeHart

I simply could not resist  :D




Qube

lol, I like it :P - How many commands have you done?
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

MikeHart

#2
Thanks, a lot is done automatically. Everything that needs a string conversion still needs work, but I am writing a conversion program for it.

MikeHart

I want to convert my game to CX.

Steve Elliott

Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

MikeHart


Steve Elliott

#6
Qube started it - ask him  ;)
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

MikeHart


Qube

Quote from: Steve Elliott on March 25, 2018, 21:53:29
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?
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Steve Elliott

Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

MikeHart

Quote from: Qube on March 25, 2018, 22:59:06
Quote from: Steve Elliott on March 25, 2018, 21:53:29
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.

Naughty Alien


Rick Nasher

#12
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
_______________________________________

MikeHart

Quote from: Rick Nasher on March 26, 2018, 20:12:02
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.

Hotshot

Can you try port Raylib to over? ;D