Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Easy explanation of how to do 'Tier 2'

Author
Message
Mark Garrett
Reviewed AGK on Steam
18
Years of Service
User Offline
Joined: 10th Jul 2005
Location: California, US
Posted: 28th Aug 2019 06:35 Edited at: 2nd Sep 2019 20:56
Found 2 cool videos by Lee Bamber.
Very helpful, so far!

Video 1- AGK: Porting AppGameKit Tier 1 to Tier 2 Easily
https://youtu.be/hMwkvCQ0910 - (Link-1)

and
Video 2- AGK: Writing From Scratch In Tier 2
https://youtu.be/upZpNwVgEXk - (Link-2)

All Visual Studio (Community Editions) are free.
At first I didn't know if it would work on Windows 10 Edition, but was glad it did.
Also, by opening up the 'template.cpp' in the Visual Studio, I have discovered I can write whatever program I wish on it.
It is similar to the .agk file that AppGameKit opens to write code on. But it's location is inside Visual Studio.

The Visual studio then compiles it and creates an app. called 'Template64.exe' which is located in the 'Final' folder.
By clicking on this exe. file, it automatically runs it as it is fully ready to go, and even works when I copy/paste it on my Desktop.

Pfaber1
6
Years of Service
User Offline
Joined: 7th Jan 2018
Location: England
Posted: 1st Sep 2019 12:51 Edited at: 1st Sep 2019 13:48
Well Bubba nice find gonna watch these videos . Thanks for posting. Bonjour
Hi Bubba just watched half of the video on how to convert tier one to tier two and it looks pretty straight forward . Thanks for sharing . I'll watch it again sometime today.
Thought it would be really difficult but not really . I think the thing to do would be convert a couple of programs to get into it and learn the syntax. will need to download vs 2015 first .
I think this would be a very good way of getting into C++ if you have a good knowledge AppGameKit tier one . This has got me intrigued . Gonna try this very shortly .
Mark Garrett
Reviewed AGK on Steam
18
Years of Service
User Offline
Joined: 10th Jul 2005
Location: California, US
Posted: 2nd Sep 2019 04:50 Edited at: 2nd Sep 2019 20:55
Good, glad it helped
Xaby
FPSC Reloaded TGC Backer
16
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 12th Sep 2019 16:44
Does anybody tried to combine App Game Kit Tier 2 C++ with other C++ libs?

Maybe Hively-Tracker for music
https://github.com/pete-gordon/hivelytracker

or other image types to load like BASIS files
https://github.com/BinomialLLC/basis_universal

I tried to understand, where I could step in, and maybe integrate these, to use them in my own apps, but don't know, where to start.
I found "cImage" that loaded JPEG and PNG, but can't figure out, how to implement the transcoder from BASIS, so I can load compressed textures and use them on every platform.
Because BASIS is based on ETC1, it would be cross platform and cross GPU compatible and it can be transcoded into other formats on-the-fly on run-time. So it would also work on Raspberry Pi, OUYA, iPhone, and so on.

Does anybody has any idea, how we could implement these libs or another lib with a tutorial maybe?

And we could make our games speak on every platform e.g. with SAM
https://github.com/s-macke/SAM

And or load other music formats like S3M / MOD
https://bisqwit.iki.fi/jutut/kuvat/programming_examples/s3mplayer.pdf

I guess, the S3M / MOD and music and audio things are a little bit more complecated, because they need some memory jumping and so on. But without ASM in the code, it could work.

So maybe we start with something easyly? Any idea?
Xaby
FPSC Reloaded TGC Backer
16
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 13th Sep 2019 13:05
So I found the following:

cImage.cpp
cSprite.cpp
cSpriteMgr.cpp

First my idea was, to create another image loader like LoadJpegImage from cImage.cpp, DGifOpen, processPngImage,
which are from the

giflib / dgif_lib.c
libjpeg, lippng

and so on, to create *cImage wikth width, height and the image-buffer itself

And or to create a Sprite-Link to a texture. Maybe we could find an easy way together, or have some documentation, how this part of App Game Kit Tier 2 C++ open source is written.

Login to post a reply

Server time is: 2024-03-28 21:08:51
Your offset time is: 2024-03-28 21:08:51