Skip to content

Commit 5d920ff

Browse files
RaxorgTom-Ski
andauthored
Added Texture Packer Pro tool entry (#252)
Ads Texture Packer Pro to the list alongside Free and Paid tags Co-authored-by: TomSki <[email protected]>
1 parent b318778 commit 5d920ff

File tree

4 files changed

+113
-4
lines changed

4 files changed

+113
-4
lines changed

_includes/feature_row.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{% if include.id %}
2+
{% assign feature_row = page[include.id] %}
3+
{% else %}
4+
{% assign feature_row = page.feature_row %}
5+
{% endif %}
6+
7+
<div class="feature__wrapper">
8+
9+
{% for f in feature_row %}
10+
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
11+
<div class="archive__item">
12+
{% if f.image_path %}
13+
<div class="archive__item-teaser">
14+
<img src="{{ f.image_path | relative_url }}"
15+
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
16+
{% if f.image_caption %}
17+
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
18+
{% endif %}
19+
</div>
20+
{% endif %}
21+
22+
<div class="archive__item-body">
23+
{% if f.title %}
24+
<h2 class="archive__item-title">
25+
{{ f.title }}
26+
</h2>
27+
{% endif %}
28+
29+
{% if f.tags %}
30+
<div class="tools__item-tags">
31+
{% for tag in f.tags %}
32+
<span class="tools__item-tag tag--{{ tag | downcase | replace: ' ', '-' }}">
33+
{{ tag }}
34+
</span>
35+
{% endfor %}
36+
</div>
37+
{% endif %}
38+
39+
{% if f.excerpt %}
40+
<div class="archive__item-excerpt">
41+
{{ f.excerpt | markdownify }}
42+
</div>
43+
{% endif %}
44+
45+
{% if f.url %}
46+
<p><a href="{{ f.url | relative_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
47+
{% endif %}
48+
</div>
49+
</div>
50+
</div>
51+
{% endfor %}
52+
53+
</div>

_pages/dev/tools.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,21 @@ feature_row:
1717
url: "http://en.esotericsoftware.com/"
1818
btn_label: "Documentation & Download"
1919
btn_class: "btn--primary"
20+
tags: ["Paid"]
2021
- image_path: /assets/images/dev/tools/talos.jpg
2122
title: "Talos"
2223
excerpt: 'A node based, open source VFX Editor with powerful interface'
2324
url: "https://talosvfx.com"
2425
btn_label: "Documentation & Download"
2526
btn_class: "btn--primary"
27+
tags: ["Free"]
2628
- image_path: /assets/images/dev/tools/hyperlap.gif
2729
title: "HyperLap2D"
2830
excerpt: 'A visual editor for complex 2D worlds and scenes'
2931
url: "https://github.com/rednblackgames/HyperLap2D"
3032
btn_label: "Documentation & Download"
3133
btn_class: "btn--primary"
34+
tags: ["Free"]
3235

3336
feature_row2:
3437
- image_path: /assets/images/dev/tools/gdx-liftoff.png
@@ -37,18 +40,21 @@ feature_row2:
3740
url: "/wiki/start/project-generation"
3841
btn_label: "Documentation & Download"
3942
btn_class: "btn--primary"
43+
tags: ["Free"]
4044
- image_path: /assets/images/dev/tools/skin_composer.png
4145
title: "Skin Composer"
4246
excerpt: "A skin creator for libGDX's scene2d.ui"
4347
url: "https://github.com/raeleus/skin-composer/wiki"
4448
btn_label: "Documentation & Download"
4549
btn_class: "btn--primary"
50+
tags: ["Free"]
4651
- image_path: /assets/images/dev/tools/particle_editor.png
4752
title: "Particle Editor"
4853
excerpt: 'A powerful tool for making 2D particle effects'
4954
url: "/wiki/tools/2d-particle-editor"
5055
btn_label: "Documentation & Download"
5156
btn_class: "btn--primary"
57+
tags: ["Free"]
5258

5359
feature_row3:
5460
- image_path: /assets/images/dev/tools/flame.gif
@@ -57,18 +63,21 @@ feature_row3:
5763
url: "/wiki/graphics/3d/3d-particle-effects"
5864
btn_label: "Documentation & Download"
5965
btn_class: "btn--primary"
66+
tags: ["Free"]
6067
- image_path: /assets/images/dev/tools/hiero.png
6168
title: "Hiero"
6269
excerpt: 'A bitmap font packing tool compatible with libGDX'
6370
url: "/wiki/tools/hiero"
6471
btn_label: "Documentation & Download"
6572
btn_class: "btn--primary"
73+
tags: ["Free"]
6674
- image_path: /assets/images/dev/tools/fbx_conv.gif
6775
title: "fbx-conv"
6876
excerpt: 'A tool for converting 3D models to libGDX-friendly formats'
6977
url: "https://github.com/libgdx/fbx-conv"
7078
btn_label: "Documentation & Download"
7179
btn_class: "btn--primary"
80+
tags: ["Free"]
7281

7382
feature_row4:
7483
- image_path: /assets/images/dev/tools/tiled.png
@@ -77,18 +86,30 @@ feature_row4:
7786
url: "https://www.mapeditor.org"
7887
btn_label: "Documentation & Download"
7988
btn_class: "btn--primary"
89+
tags: ["Free"]
8090
- image_path: /assets/images/dev/tools/texture_packer.jpeg
8191
title: "Texture Packer"
8292
excerpt: 'A tool for packing images into atlases'
8393
url: "/wiki/tools/texture-packer"
8494
btn_label: "Documentation & Download"
8595
btn_class: "btn--primary"
96+
tags: ["Free"]
97+
- image_path: /assets/images/dev/tools/texture_packer_pro.png
98+
title: "Texture Packer Pro"
99+
excerpt: 'Create sprite sheets and optimize your game graphics'
100+
url: "https://www.codeandweb.com/texturepacker"
101+
btn_label: "Documentation & Download"
102+
btn_class: "btn--primary"
103+
tags: ["Free", "Paid"]
104+
105+
feature_row5:
86106
- image_path: /assets/images/dev/tools/tiled_map_packer.gif
87107
title: "Tiled Map Packer"
88108
excerpt: 'A tool for packing TiledMap tilesets into an atlas'
89109
url: "/wiki/tools/tiled-map-packer"
90110
btn_label: "Documentation & Download"
91111
btn_class: "btn--primary"
112+
tags: ["Free"]
92113

93114
sidebar:
94115
nav: "dev"
@@ -97,10 +118,12 @@ sidebar:
97118

98119
{% include breadcrumbs.html %}
99120

100-
{% include feature_row %}
121+
{% include feature_row.html %}
122+
123+
{% include feature_row.html id="feature_row2" %}
101124

102-
{% include feature_row id="feature_row2" %}
125+
{% include feature_row.html id="feature_row3" %}
103126

104-
{% include feature_row id="feature_row3" %}
127+
{% include feature_row.html id="feature_row4" %}
105128

106-
{% include feature_row id="feature_row4" %}
129+
{% include feature_row.html id="feature_row5" %}

_sass/minimal-mistakes.scss

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,3 +230,36 @@ html, body {
230230
color: #600;
231231
}
232232
}
233+
234+
/* Container to handle spacing between Title and Tags */
235+
.tools__item-tags {
236+
display: block;
237+
line-height: 0;
238+
margin-bottom: 8px;
239+
}
240+
241+
/* Base Tag Style */
242+
.tools__item-tag {
243+
display: inline-block;
244+
font-size: 12px;
245+
font-weight: bold;
246+
line-height: 1;
247+
padding: 4px 6px;
248+
border-radius: 6px;
249+
border: 1.5px solid #ccc;
250+
background-color: transparent;
251+
color: #777;
252+
margin-right: 4px;
253+
}
254+
255+
/* PAID Tag: Gold border and text */
256+
.tag--paid {
257+
border-color: #d4b000;
258+
color: #d4b000;
259+
}
260+
261+
/* FREE Tag: Green border and text */
262+
.tag--free {
263+
border-color: #4caf50;
264+
color: #4caf50;
265+
}
827 KB
Loading

0 commit comments

Comments
 (0)