srakaevent.blogg.se

Shattered pixel dungeon goo
Shattered pixel dungeon goo




shattered pixel dungeon goo
  1. #Shattered pixel dungeon goo mod#
  2. #Shattered pixel dungeon goo update#
  3. #Shattered pixel dungeon goo android#
  4. #Shattered pixel dungeon goo code#

#Shattered pixel dungeon goo update#

More advanced modders can change the format for releases if they like, or make entirely new update notification services. The github updater looks for a title, body of text followed by three dashes, and the phrase ` internal version number: # ` in your release. To modify the notification to point to your own github releases, go to GitHubUpdates.java and change the line: tUrl("") to match your own username and repository name. The debug updates module does nothing by default and so works just fine in release builds.

#Shattered pixel dungeon goo android#

To simply disable the notification change :services:updates:githubUpdates to :services:updates:debugUpdates for the release configurations in the adle files in the desktop and android modules.

#Shattered pixel dungeon goo mod#

Shattered Pixel Dungeon includes a github-based update notification which likely will not be useful for mod developers unless it is modified. It is therefore strongly advised that you disable the supporter button or replace the text/links within it if you want to release on Google Play. Note that if you plan to distribute on Google Play, Google has a history of removing apps which mention Patreon, as they want all revenue earned via Google Play apps to go through them.

shattered pixel dungeon goo

Additionally, while not required, I would appreciate leaving in a reference and a link to my Patreon, though you are free to add your own as well. Note that due to the GPLv3 license, any edits you make to the credits scene must avoid removing any existing credits, though you can reposition them however you like. If you wish to disable it entirely, the triggering logic is in SkeletonKey.java.

#Shattered pixel dungeon goo code#

If you wish to edit this window, the code is in WndSupportPrompt.java. The game also has a one-time nag window that appears when the player first defeats Goo. If you wish to disable the supporter link, simply comment out the line add(btnSupport) in TitleScene.java. Feel free to adjust these however you like, the relevant code is in AboutScene.java and SupporterScene.java. If you are making your own mod, you will likely want to add yourself to the credits or change the current supporter link. If you wish to set it to 1 anyway, the various constant variables toward the top of ShatteredPixelDungeon.java are a good starting point for finding all of the cases where the game refers to the version code for compatibility purposes.

shattered pixel dungeon goo

The version code is entirely internal so there is no harm in using the game's current version code as a starting point. You may be tempted to set this value back to 1 when starting a new mod, but Shattered has compatibility code for previous versions which may be incorrectly triggered if you decrement the version code. It is defined with the appVersionCode variable in the root adle file. Shattered Pixel Dungeon has an internal version code which should be incremented with each release. This used to be required for Pixel Dungeon mods, but is now optional as the appPackageName variable can be used instead. Note that some guides may recommend that you change the package structure (i.e. The other variables do not need to be changed when setting up your own mod, they are mainly technical configurations that do not need to be adjusted. Change this to whatever you like, and increment it whenever you release a new version.

  • appVersionName defines the user-visible version name of your app.
  • Read the next section for more details on this one. You want to increment this whenever releasing a new version.
  • appVersionCode defines the internal version number of your app.
  • You must change this from its initial value or Android will think your mod is Shattered Pixel Dungeon. The Android operating system uses this name to distinguish your app from others.
  • appPackageName defines the internal name of your app.
  • Change this to whatever you wish to call your mod.
  • appName defines the user-visible name of your app.
  • There are a number of variables defined in the root adle file that you may want to change: Application name, version name, and package name This guide covers a few technical changes developers will likely want to make when creating their own Pixel Dungeon mod based on Shattered's source code.






    Shattered pixel dungeon goo