Skip to content

Commit

Permalink
Solve #6, Migrate to Defold 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Insality committed Mar 28, 2024
1 parent af62632 commit 73784e4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These are supported funding model platforms

github: insality
ko_fi: insality
buy_me_a_coffee: insality
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
![](docs/logo.png)

[![Github-sponsors](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/insality) [![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/insality) [![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/insality)

# Printer
A symbol-by-symbol text writer for Defold Engine. Developed for rich game dialogs.
Support UTF-8 symbols (via utf-8.lua). So Russian and other 2+ bytes symbol languages are supported.
Expand All @@ -9,6 +11,9 @@ Support UTF-8 symbols (via utf-8.lua). So Russian and other 2+ bytes symbol lang
Add library to dependency:
`https://github.com/Insality/defold-printer/archive/master.zip`

If you use **Defold** version less than `1.7.0` use this version:
`https://github.com/Insality/defold-printer/archive/refs/tags/1.1.0.zip`

![](docs/example.gif)

# Basic Setup
Expand Down
5 changes: 4 additions & 1 deletion printer/printer.gui
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
script: ""
fonts {
name: "system_font"
font: "/builtins/fonts/system_font.font"
font: "/builtins/fonts/default.font"
}
background_color {
x: 0.0
Expand Down Expand Up @@ -65,6 +65,7 @@ nodes {
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -130,6 +131,7 @@ nodes {
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -187,6 +189,7 @@ nodes {
custom_type: 0
enabled: true
visible: true
material: ""
}
material: "/builtins/materials/gui.material"
adjust_reference: ADJUST_REFERENCE_PARENT
Expand Down

0 comments on commit 73784e4

Please sign in to comment.