Quote: "I have been developing windows games for years using AppGameKit (1 and now 2). This has always been an issue and i don't understand why it's not been handled by now.
I need to change the app icon from the little "agk" picture to one of my own design.
i use agk2, tier 1.
I know about "resource editors" , but that is hacky , AND it is currently not working.
Maybe TGC wants end-users to see the AppGameKit icon, and say, "hey i want that". But what they are really saying is "wow, why didn't they give the game its own icon. That's really lazy and unpolished."
So come on TGC, let me change the icon."
I could not agree more.
I was just thinking about this the other day, and had almost identical thoughts about it.
Quote: "In the meantime, to change the icon programmatically for windows I have attached a plugin, its a simple 1 function plugin that sets the window and taskbar icon"
Thanks PTC!!!
This will be very useful, and it is very generous of you.
I never liked the idea of 3rd party resource hack tools, but I am looking forward to using your plug-in.
EDIT
Okay, once again I feel like the village idiot...
This is my first attempt at using a Plugin
1) Made a 'Plugins' folder in the AppGameKit Project folder
2) Extracted the 'Icon' folder from the ZIP file
3) Copy/ pasted the 'Icon' folder to the 'Plugins' folder
4) Put my logo.ico file in the 'media' folder
5) put the following at the top of my main.agc file (code)
#Import_Plugin Icon
Icon.Set("GameTitle", "logo.ico")
6) Hit Compile (compilation finished successfully)
7) Hit Run, and got the following compile fail error message...
Quote: "Compilation failed.
error: Failed to open file for reading /Plugins/Icon/Commands.txt"
8) discovered that the 'Icon' folder disappeared and now the 'Plugins' folder is empty????
Has anyone else tested the Plugin, or am I doing something wrong????
Thanks in advance
Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1