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 / New AGK2-Tier 2 templates for VS2015

Author
Message
MadBit
VIP Member
Gold Codemaster
15
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 1st May 2016 19:08 Edited at: 1st May 2016 19:09
Hello, I have created for 'AGK Tier2' new templates for Windows VS-2015. That I like to share with you. These templates need an environment variable 'AGK2_T2DIR'. This must be set manually.

So, open a console window and enters the following:
'Setx AGK2_T2DIR "WhereAGKIsInstalled \ Tier 2"'
Now you must log out and log in again.
That's it.

These templates are copied in 'Documents' \ Visual Studio 2015 \ Templates \ Project Templates'. The 'Zip files' need not be unpacked.

There are two templates. The simple template is not very much different from the supplied with AGK. Are just few subtleties and some project settings have changed.
The second template is more complex and includes a state machine. The whole thing is based on C++. So some basic knowledge in C++ should be present.

If everything was done properly then you can simply to create a new AppGameKit project via 'New Project ... ". (See Pictures)





I hope someone finds it useful.
Feel free to comment

Happy coding.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Attachments

Login to view attachments
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 3rd May 2016 09:23
Very much appreciated. Thank you.
Divided
FPSC Reloaded TGC Backer
11
Years of Service
User Offline
Joined: 31st Oct 2013
Location:
Posted: 3rd May 2016 13:15
Excuse this nonsense question, but could you please further explain what the difference between "states" and "simple"

Cheers!
Measuring programming progress by lines of code is like measuring aircraft building progress by weight.
MadBit
VIP Member
Gold Codemaster
15
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 3rd May 2016 13:52
First thanks for your comments

the difference of the state ones is: there is a abstract state class included, called 'CGameState'. This one
The difference from the state template is: this includes a abstract 'state' class, called 'CGameState'. This is a way to process Game States.
If you not want to use this, you can just use simply the 'simple' template.

Are still more questions for use of this class then just ask.



Happy Coding.
MadBit
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Zhou
8
Years of Service
User Offline
Joined: 29th Jul 2016
Location:
Posted: 29th Jul 2016 19:24
nice post, very appreciate.
JLMoondog
Moderator
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location: Paradox
Posted: 29th Jul 2016 21:58
I've been meaning to jump from tier 1 to tier 2 development for some time now, but never bothered to get something setup in VS. With this, I guess I can finally make the leap. Thanks much!
MadBit
VIP Member
Gold Codemaster
15
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 26th Aug 2016 10:09
Hi all,

Here i've create a new template for VS2015. It's nothing special. The Only one is, the window will be created with GLFW. So this code has more Cross Platform compatibility. Usage information are in my first post .

Have fun. Comments are welcome.


MadBit!
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-25 03:34:09
Your offset time is: 2024-11-25 03:34:09