forked from TecProg-grupo4-2018-2/panel-attack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme_panels.txt
43 lines (30 loc) · 2.37 KB
/
readme_panels.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Adding/modding panels: step by step instructions (Windows example):
1. Press the Windows key then type "%appdata%" without quotes and hit enter.
2. Look at the example folders located in: %appdata%\Panel Attack\panels\ for a reference of where your files should go and how they should be named.
Folders starting with "__" will be ignored upon loading.
3. Create a folder with your panels. The name of this folder is different from your panels id and is kinda meaningless (see config.json below).
4. Place assets and json file in that folder with the proper names to add your data. Exhaustive list below.
Note: all panels will be loaded.
~~~~ Exhaustive list of a panels folder data! ~~~~
Note: non-optional data that are missing will automatically get replaced by default ones so they are kinda optional in that sense
~~ [.json] ~~
- "config": this file holds data for the configuration of your panel set. The inside should look like that:
- id: unique identifier of this panel set, this id should be specific (see note). [IF MISSING YOUR PANELS WILL BE IGNORED!]
Note: providing a specific, long enough id is a very good idea so that people renaming your mods folders still get properly match with other users regarding your mods. e.g. "mypanels_myname"
~~ [.png, .jpg] ~~
- "garbageflash", "metalend0", "metalend1", "metalmid": assets for garbage metals panels: those will be displayed on your opponent side when sending garbage
- "panel11", ..., "panel17", "panel21", ..., "panel27", ... , "panel61", ..., "panel67": 'classic' panels, the sixth one is used above level 8 only
- "panel71", ..., "panel77": seventh panel only used in puzzles
- "panel00": used in puzzle (represents a to-be-ignored panel) and for debug purpose
- "panel81", ..., "panel87": metal panel
Tips for creating panels:
Create a background block that is 48 x 48 pixels
Add a shape to the middle
File 1: Base block
File 2: Shape is shifted 2 pixels up
File 3: Shape is shifted 4 pixels up
File 4: Bottom is shifted down 2 pixels, top is squished down 9 pixels, sides are squished out 2 pixels
File 5: Inverted: Middle color shape is about 20% darker, White is 208, 208, 208, outside is same color as inside
File 6: Dead: Add a silly / broken / dead version this is shown at the end of popping and at game over.
File 7: everything is 50% darker
You can use the Ctrl+Shift+Alt+P shortcut to reload all panel graphics in the game.