I am trying to code up a mod for Game Dev Tycoon, and I am confused on how to use the Modding API.
Yes, I have. I am confused about adding new platforms. I get the code after the var icon line in the example you gave us, but I don’t know what file location, I am supposed to use to access the image for the platform that I am adding.
it’s best if you put your mod in its own folder under ./mods
So, if you have .mods/myMod/images/myPlatform.png
then this is the url.
The reason why it is var icon = './mods/gdt-modAPI/examples/img/greenheartOne.png';
in the example is that the example is part of the gdt-modAPI
.
Hope this makes sense.
You can actually try the examples live by opening ./mods/gdt-modAPI/modAPI.js
and uncommenting the calls to the Examples methods.
My mod is in the Alpha Stage. I started coding it today. The current version number is 0.1.0. The version number will change while the mod is progressing in development.
My mod will consist of:
- New Events
- New Platforms
- New Topics
Could you give a link to the alpha version? I would love to help playtest your mod.
Sure, you can follow the progress of my mod at this link, https://github.com/Turntablelover/Game-Dev-Tycoon-Mod
Can you give a little description for what you made in this mod at the moment? And how can I install it into my game? Maybe something to put in the readme too…
Sure, that will be in the next update that I will push.
Nice! Looking forward to the next update