Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
tyanmahou committed Dec 7, 2023
1 parent cf02eeb commit 27c672c
Show file tree
Hide file tree
Showing 100 changed files with 58,500 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ siv3d.a
*.jppmdl
Screenshot/
AS_DEBUG/
[Ee]xample/

## include/
## lib/
Expand Down
8 changes: 8 additions & 0 deletions Test/App/example/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- siv3d-kun.png
(c) 2015-2021 Siv3D, licensed under a CC BY-NC: http://creativecommons.org/licenses/by-nc/4.0/

- windmill.png
To the extent possible under law, Siv3D has waived all copyright and related or neighboring rights to windmill.png. This work is published from: Japan.

- bay.jpg
To the extent possible under law, Siv3D has waived all copyright and related or neighboring rights to bay.jpg. This work is published from: Japan.
Binary file added Test/App/example/bay.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Test/App/example/csv/config.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Name,Value
Window.title,"My application"
Window.width,800
Window.height,600
Window.sizable,false
Scene.background,"(0.8, 0.9, 1.0)"
Array.values,"11, 22, 33, 44, 55"
Items.count,3
Item.label,"Forest"
Item.pos,"(100, 100)"
Item.label,"Ocean"
Item.pos,"(300, 200)"
Item.label,"Mountain"
Item.pos,"(500, 100)"
Binary file not shown.
93 changes: 93 additions & 0 deletions Test/App/example/font/DotGothic16/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2020 The DotGothic16 Project Authors (https://github.com/fontworks-fonts/DotGothic16)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
52 changes: 52 additions & 0 deletions Test/App/example/font/DotGothic16/README-JP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[English](https://github.com/fontworks-fonts/DotGothic16) /[日本語](README-JP.md)

![DotGothic16-Regular](./image_DotGothic16.png)

## ドットゴシック16-Regular

昔のドット文字のゲーム画面や、携帯、パソコン画面の雰囲気を印刷物で表現できる書体です。ドット文字ながらも16×16のゴシック体のビットマップをベースに開発された書体なので、可読性が高いことが特徴です。 近年のドット絵人気も相まって、需要がますます高まっています。
このフォントについての詳しい情報は[こちら](https://fontworks.co.jp/fontsearch/dotgothic16std-m/)をご覧ください。


### フォントのダウンロード

以下のページより、ビルド済みのTrueTypeフォントをダウンロードできます。

[最終リリース](https://github.com/fontworks-fonts/DotGothic16/tree/master/fonts/ttf)


### ソースからのフォントのビルド手順

#### 要件

* [python3](https://www.python.org/)
* [fontmake](https://github.com/googlefonts/fontmake/)
* [fonttools](https://github.com/fonttools/fonttools/)
* [ttfautohint](https://www.freetype.org/ttfautohint/doc/ttfautohint.html)


#### フォントのビルド

ワーキングディレクトリ(カレントディレクトリ)を「DotGothic16」フォルダへ変更し、**build.py**を実行します。

$ python build.py


### ライセンス

* 個人利用・商用利用にかかわらずどなたでも無料でお使いいただけます。
* ゲームやアプリなどへの組み込みやwebフォントとしての利用も可能です。
* このフォントを使用し、派生フォントを作ることもできます。ただし、配布の際はSIL Open Font Licenseに基づいてリリースする必要があります。
* SILライセンスについて詳しくは[SIL Open Font License 1.1 日本語訳](https://licenses.opensource.jp/OFL-1.1/OFL-1.1.html)または同梱の「OFL.txt」(英語)をご確認ください。


### 収録文字

* [Adobe-Japan1-3](https://github.com/adobe-type-tools/Adobe-Japan1)の全グリフ
* [GF Latin Core](https://github.com/googlefonts/gftools/tree/master/Lib/gftools/encodings/GF%20Glyph%20Sets#gf-latin-core)


### 禁止行為

* 「SIL Open Font License Version 1.1」以外のライセンスで再配布すること。
* フォントファイル自体を単体で販売すること。
49 changes: 49 additions & 0 deletions Test/App/example/font/DotGothic16/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[English](https://github.com/fontworks-fonts/DotGothic16) /[日本語](README-JP.md)

![DotGothic16-Regular](./image_DotGothic16.png)

## DotGothic16-Regular

Dotgothic 16 is based on the old 16x16 Gothic bitmap font that can best recreate the feel of pixel fonts from old video games, cell phones and computer screens on print. With its high readability, this font has become more popular in recent years due to the growing popularity of pixel art.
[Learn more](https://fontworks.co.jp/fontsearch/dotgothic16std-m/).


### Download the font

You can download pre-built the TrueType font from the following page.

[Latest release](https://github.com/fontworks-fonts/DotGothic16/tree/master/fonts/ttf)


### Building the font from source

#### Requirements

* [python3](https://www.python.org/)
* [fontmake](https://github.com/googlefonts/fontmake/)
* [fonttools](https://github.com/fonttools/fonttools/)
* [ttfautohint](https://www.freetype.org/ttfautohint/doc/ttfautohint.html)


#### Build the font

Change the current working directory to 'DotGothic16' folder and run **build.py** .

$ python build.py


### Licence

This font is licensed under the [SIL Open Font License](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL).


### Characters

* All glyphs in [Adobe-Japan1-3](https://github.com/adobe-type-tools/Adobe-Japan1)
* [GF Latin Core](https://github.com/googlefonts/gftools/tree/master/Lib/gftools/encodings/GF%20Glyph%20Sets#gf-latin-core)


### Prohibited acts

* Redistribute under license except 'SIL Open Font License Version 1.1'.
* Selling ​​the font file itself.
93 changes: 93 additions & 0 deletions Test/App/example/font/RocknRoll/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2020 The RocknRoll Project Authors (https://github.com/fontworks-fonts/RocknRoll)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
52 changes: 52 additions & 0 deletions Test/App/example/font/RocknRoll/README-JP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[English](https://github.com/fontworks-fonts/RocknRoll) /[日本語](README-JP.md)

![RocknRollOne-Regular](./image_RocknRoll.png)

## ロックンロール One-Regular

線の強弱が勢いを感じさせてくれる、ポップスタイルに仕上げたユニークなオリジナル書体です。ところどころ点の部分を丸くしているデザインが特徴的で、生き生きと軽快で、躍動感を持った書体です。
このフォントについての詳しい情報は[こちら](https://fontworks.co.jp/fontsearch/rocknrollstd-db/)をご覧ください。


### フォントのダウンロード

以下のページより、ビルド済みのTrueTypeフォントをダウンロードできます。

[最終リリース](https://github.com/fontworks-fonts/RocknRoll/tree/master/fonts/ttf)


### ソースからのフォントのビルド手順

#### 要件

* [python3](https://www.python.org/)
* [fontmake](https://github.com/googlefonts/fontmake/)
* [fonttools](https://github.com/fonttools/fonttools/)
* [ttfautohint](https://www.freetype.org/ttfautohint/doc/ttfautohint.html)


#### フォントのビルド

ワーキングディレクトリ(カレントディレクトリ)を「RocknRoll」フォルダへ変更し、**build.py**を実行します。

$ python build.py


### ライセンス

* 個人利用・商用利用にかかわらずどなたでも無料でお使いいただけます。
* ゲームやアプリなどへの組み込みやwebフォントとしての利用も可能です。
* このフォントを使用し、派生フォントを作ることもできます。ただし、配布の際はSIL Open Font Licenseに基づいてリリースする必要があります。
* SILライセンスについて詳しくは[SIL Open Font License 1.1 日本語訳](https://licenses.opensource.jp/OFL-1.1/OFL-1.1.html)または同梱の「OFL.txt」(英語)をご確認ください。


### 収録文字

* [Adobe-Japan1-3](https://github.com/adobe-type-tools/Adobe-Japan1)の全グリフ
* [GF Latin Core](https://github.com/googlefonts/gftools/tree/master/Lib/gftools/encodings/GF%20Glyph%20Sets#gf-latin-core)


### 禁止行為

* 「SIL Open Font License Version 1.1」以外のライセンスで再配布すること。
* フォントファイル自体を単体で販売すること。
Loading

0 comments on commit 27c672c

Please sign in to comment.