This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> //v0.2.8 | |
//OpenSiv3D | |
//https://scrapbox.io/Siv3D | |
//Siv3D テキスト表示 | |
//https://github.com/Siv3D/Reference-JP/wiki/%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E8%A1%A8%E7%A4%BA | |
//OpenSiv3D の新機能 Glyph を使う | |
//https://qiita.com/Reputeless/items/97cd248fb37ca6e7725d | |
//Created by Akira Koizumi 2018. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> //v0.2.5 | |
//OpenSiv3D | |
//https://scrapbox.io/Siv3D | |
//Created by Akira Koizumi 2018. | |
//this code is licensed under cc0. | |
//雨ニモマケズ 宮沢賢治 | |
//https://www.aozora.gr.jp/cards/000081/files/45630_23908.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> //v0.2.5 | |
//OpenSiv3D | |
//https://scrapbox.io/Siv3D | |
//Created by Akira Koizumi 2018. | |
//this code is licensed under cc0. | |
//左右移動入力 | |
//右キーが押されていれば1、左キーが押されていれば-1を返す | |
//どちらも押していない、または同時押しなら0を返す |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> //ver 0.2.5 | |
//OpenSiv3D | |
//https://scrapbox.io/Siv3D | |
// | |
//base code from | |
//https://github.com/Siv3D/Reference-JP/wiki/%E3%82%B9%E3%82%AF%E3%83%AD%E3%83%BC%E3%83%AB%E3%81%AE%E5%AE%9F%E8%A3%85 | |
//サンプル改造 | |
//左右移動入力 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> //ver 0.2.3 | |
//OpenSiv3D | |
//https://scrapbox.io/Siv3D | |
// | |
//base code from | |
//https://github.com/Siv3D/Reference-JP/wiki/%E3%82%B9%E3%82%AF%E3%83%AD%E3%83%BC%E3%83%AB%E3%81%AE%E5%AE%9F%E8%A3%85 | |
//サンプル改造 | |
//左右移動入力 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Created by Akira Koizumi 2018. | |
// | |
//Image/salamandraFire.png from http://game-hikidashi.com/game_tkolminence/ | |
// | |
//this code is licensed under cc0. | |
# include <Siv3D.hpp> //OpenSiv3D Ver0.2.3 | |
class animeDraw { | |
private: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Created by Akira Koizumi 2018. | |
// | |
//this code is licensed under cc0. | |
# include <Siv3D.hpp> //OpenSiv3D Ver0.2.3 | |
void Main() | |
{ | |
Graphics::SetBackground(Color(197, 236, 143)); | |
const Texture textureA(Emoji(U"🐤"), TextureDesc::Mipped); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Created by Akira Koizumi 2018. | |
//http://movement.hatenablog.jp/entry/siv3dtransiton | |
// | |
//this code is licensed under cc0. | |
# include <Siv3D.hpp> //OpenSiv3D Ver0.2.0 | |
void Main() | |
{ | |
const Texture sun(Emoji(U"🌞"), TextureDesc::Mipped); | |
const Texture moon(Emoji(U"🌝"), TextureDesc::Mipped); | |
const Texture tree(Emoji(U"🌳"), TextureDesc::Mipped); |