Skip to content

Commit

Permalink
Merge pull request opera-gaming#10 from Evryon75/patch-1
Browse files Browse the repository at this point in the history
Fixed typos in mods.md
  • Loading branch information
themaciekk authored Feb 15, 2023
2 parents a0f6f2a + 95fe6cc commit a8e68dc
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions documentation/mods.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Both Opera GX Mods and documentation are still actively developed.

# Quick start

[Mod_Template](Mod_Template) is created to give you a quick start into creating mods. It showcases all capabilities and is a convenient starting point to create own mods. Load it in Opera GX, look around, modify things and have fun.
[Mod_Template](Mod_Template) is created to give you a quick start into creating mods. It showcases all capabilities and is a convenient starting point to create your own mods. Load it in Opera GX, look around, modify things and have fun.

![Loaded Mod Template](images/loaded_mod_template.png)

Expand All @@ -21,7 +21,7 @@ See [manifest.json](Mod_Template/manifest.json) from Mod_Template. It should be

### Background music

Opera GX uses [vertical remixing](https://gamemaker.io/en/blog/compose-video-game-music) to achive dynamic music in browser. However it doesn't mean you need to provide multiple music files. If only one is provided it will work as well. In such a case you can do a little trick and list the same file more than once. This will result in an increased volume when users is active in browser.
Opera GX uses [vertical remixing](https://gamemaker.io/en/blog/compose-video-game-music) to achieve dynamic music in the browser. However it doesn't mean you need to provide multiple music files. If only one is provided it will work as well. In such a case you can do a little trick and list the same file more than once. This will result in an increased volume when users are active in the browser.

### Keyboard sounds

Expand All @@ -33,27 +33,25 @@ The same rules apply as in keyboard sounds.

### Wallpaper

Provide light and dark version. Mods can't block users from switching between light and dark mode.
Provide light and dark versions. Mods can't block users from switching between light and dark mode.

### Theme

Provide both light and dark version. Mods can't block users from switching between light and dark mode.
Provide both light and dark versions. Mods can't block users from switching between light and dark mode.

### Shaders

More than one shader can be provided in single mod. [Read more about shaders](shaders.md).
More than one shader can be provided in a single mod. [Read more about shaders](shaders.md).

### Web modding

Those are basically CSSes that can be applied to web pages. Multiple pages can be modified with a single mod. Opera GX exposes primary and secondary color if you want to make web pages follow UI colors (see [opera.css](Mod_Template/webmodding/opera.css))
Those are basically CSS styles that can be applied to web pages. Multiple pages can be modified with a single mod. Opera GX exposes primary and secondary color if you want to make web pages follow UI colors (see [opera.css](Mod_Template/webmodding/opera.css))

# Best practice

Random order.

1. Limit size of resoures.
1. Limit size of resources.
2. Music and sounds should follow volume from Mod_Template otherwise it won't be a good experience for users.
3. Keep resources in dedicated subdirectories.
4. Use 512x512 good looking image for icon.


4. Use a 512x512 good looking image for the icon.

0 comments on commit a8e68dc

Please sign in to comment.