Skip to content

Commit

Permalink
Merge pull request #111 from nishihi6/develop
Browse files Browse the repository at this point in the history
Posted devlog-027
  • Loading branch information
nishihi6 authored Mar 7, 2024
2 parents d15c460 + a648150 commit e6e22c9
Show file tree
Hide file tree
Showing 6 changed files with 361 additions and 21 deletions.
24 changes: 12 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,18 @@ <h3 class="posts-item-note" aria-label="Recent Posts">Recent Posts</h3>



<article class="post-item">
<h4 class="post-item-title">
<a href="/blog/posts/devlog_gl_11/">GameDev #11 ユーザーインターフェース [Devlog #027]</a>
</h4>


<time class="post-item-meta" datetime="2024-02-07T23:03:50&#43;0900">
7 Feb 2024
</time>
</article>


<article class="post-item">
<h4 class="post-item-title">
<a href="/blog/posts/devlog_gl_10/">GameDev #10 衝突検知 [Devlog #026]</a>
Expand Down Expand Up @@ -203,18 +215,6 @@ <h4 class="post-item-title">
</article>


<article class="post-item">
<h4 class="post-item-title">
<a href="/blog/posts/devlog_gl_06/">GameDev #6 3Dグラフィクス [Devlog #022]</a>
</h4>


<time class="post-item-meta" datetime="2024-01-20T18:25:03&#43;0900">
20 Jan 2024
</time>
</article>



<p>

Expand Down
13 changes: 12 additions & 1 deletion index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@
<description>Recent content in Home on nishihi6</description>
<generator>Hugo -- gohugo.io</generator>
<language>ja-jp</language>
<lastBuildDate>Sun, 04 Feb 2024 11:23:58 +0900</lastBuildDate><atom:link href="https://nishihi6.github.io/blog/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Wed, 07 Feb 2024 23:03:50 +0900</lastBuildDate><atom:link href="https://nishihi6.github.io/blog/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>GameDev #11 ユーザーインターフェース [Devlog #027]</title>
<link>https://nishihi6.github.io/blog/posts/devlog_gl_11/</link>
<pubDate>Wed, 07 Feb 2024 23:03:50 +0900</pubDate>

<guid>https://nishihi6.github.io/blog/posts/devlog_gl_11/</guid>
<description>ゲーム開発者の教科書:Game Programming in C++ を読んで理解したことについてを要約します(内容の転載を避け、詳しく説明しすぎないように配慮します)
ゲームプログラミング in C++ ユーザーインターフェース ここでは、フォントを指定して行うテキストのレンダリング、UI画面用のシステム、各言語へのローカライゼーション、HUDにいれる要素の実装を行う
フォントレンダリング UI画面 </description>
</item>

<item>
<title>GameDev #10 衝突検知 [Devlog #026]</title>
<link>https://nishihi6.github.io/blog/posts/devlog_gl_10/</link>
Expand Down
301 changes: 301 additions & 0 deletions posts/devlog_gl_11/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
<!DOCTYPE html>
<html lang="ja-jp"><head><meta charset="utf-8">
<meta http-equiv="content-type" content="text/html">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title itemprop="name">GameDev #11 ユーザーインターフェース [Devlog #027] | nishihi6</title>
<meta property="og:title" content="GameDev #11 ユーザーインターフェース [Devlog #027] | nishihi6" />
<meta name="twitter:title" content="GameDev #11 ユーザーインターフェース [Devlog #027] | nishihi6" />
<meta itemprop="name" content="GameDev #11 ユーザーインターフェース [Devlog #027] | nishihi6" />
<meta name="application-name" content="GameDev #11 ユーザーインターフェース [Devlog #027] | nishihi6" />
<meta property="og:site_name" content="nishihi6" />

<meta name="description" content="Minimal Hugo blog theme with light and dark mode support">
<meta itemprop="description" content="Minimal Hugo blog theme with light and dark mode support" />
<meta property="og:description" content="Minimal Hugo blog theme with light and dark mode support" />
<meta name="twitter:description" content="Minimal Hugo blog theme with light and dark mode support" />

<meta property="og:locale" content="ja-jp" />
<meta name="language" content="ja-jp" />



<meta itemprop="image" content="https://nishihi6.github.io/blog/" />
<meta property="og:image" content="https://nishihi6.github.io/blog/" />
<meta name="twitter:image" content="https://nishihi6.github.io/blog/" />
<meta name="twitter:image:src" content="https://nishihi6.github.io/blog/" />









<meta property="og:type" content="article" />
<meta property="og:article:published_time" content=2024-02-07T23:03:50&#43;0900 />
<meta property="article:published_time" content=2024-02-07T23:03:50&#43;0900 />





<script defer type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Article",
"headline": "GameDev #11 ユーザーインターフェース [Devlog #027]",
"author": {
"@type": "Person",
"name": ""
},
"datePublished": "2024-02-07",
"description": "",
"wordCount": 12 ,
"mainEntityOfPage": "True",
"dateModified": "2024-02-07",
"image": {
"@type": "imageObject",
"url": ""
},
"publisher": {
"@type": "Organization",
"name": "nishihi6"
}
}
</script>


<meta name="generator" content="Hugo 0.117.0">



<link rel="canonical" href="https://nishihi6.github.io/blog/posts/devlog_gl_11/">
<link href="/blog/style.min.840eada6dfddec7b8ccfcf867f039bf80b1f16a265ec6e01dc553a3dddc9d509.css" rel="stylesheet">
<link href="/blog/code-highlight.min.706d31975fec544a864cb7f0d847a73ea55ca1df91bf495fd12a177138d807cf.css" rel="stylesheet">


<link rel="apple-touch-icon" sizes="180x180" href="/blog/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/blog/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/blog/icons/favicon-16x16.png">
<link rel="mask-icon" href="/blog/icons/safari-pinned-tab.svg">
<link rel="shortcut icon" href="/blog/favicon.ico">




<link rel="manifest" href="https://nishihi6.github.io/blog/site.webmanifest">

<meta name="msapplication-config" content="/blog/browserconfig.xml">
<meta name="msapplication-TileColor" content="#2d89ef">
<meta name="theme-color" content="#434648">


<link rel="icon" type="image/svg+xml" href="/blog/icons/favicon.svg">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css"
integrity="sha384-vKruj+a13U8yHIkAyGgK1J3ArTLzrFGBbBc0tDp4ad/EyewESeXE/Iv67Aj8gKZ0" crossorigin="anonymous" />


<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js"
integrity="sha384-PwRUT/YqbnEjkZO0zZxNqcxACrXe+j766U2amXcgMg5457rve2Y7I6ZJSm2A0mS4"
crossorigin="anonymous"></script>


<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js"
integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous" onload="renderMathInElement(document.body, {
delimiters: [
{left: '$$', right: '$$', display: true},
{left: '$', right: '$', display: false}
]
});"></script>

</head>
<body data-theme = "dark" class="notransition">

<script src="/blog/js/theme.min.8961c317c5b88b953fe27525839672c9343f1058ab044696ca225656c8ba2ab0.js" integrity="sha256-iWHDF8W4i5U/4nUlg5ZyyTQ/EFirBEaWyiJWVsi6KrA="></script>

<div class="navbar" role="navigation">
<nav class="menu" aria-label="Main Navigation">
<a href="https://nishihi6.github.io/blog/" class="logo">
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25"
viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="feather feather-home">
<title>Home</title>
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
<polyline points="9 22 9 12 15 12 15 22"></polyline>
</svg>
</a>
<input type="checkbox" id="menu-trigger" class="menu-trigger" />
<label for="menu-trigger">
<span class="menu-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" stroke="currentColor" fill="none" viewBox="0 0 14 14"><title>Menu</title><path stroke-linecap="round" stroke-linejoin="round" d="M10.595 7L3.40726 7"></path><path stroke-linecap="round" stroke-linejoin="round" d="M10.5096 3.51488L3.49301 3.51488"></path><path stroke-linecap="round" stroke-linejoin="round" d="M10.5096 10.4851H3.49301"></path><path stroke-linecap="round" stroke-linejoin="round" d="M0.5 12.5V1.5C0.5 0.947715 0.947715 0.5 1.5 0.5H12.5C13.0523 0.5 13.5 0.947715 13.5 1.5V12.5C13.5 13.0523 13.0523 13.5 12.5 13.5H1.5C0.947715 13.5 0.5 13.0523 0.5 12.5Z"></path></svg>
</span>
</label>

<div class="trigger">
<ul class="trigger-container">


<li>
<a class="menu-link " href="/blog/">
Home
</a>

</li>

<li>
<a class="menu-link active" href="/blog/posts/">
Posts
</a>

</li>

<li>
<a class="menu-link " href="/blog/pages/about/">
About
</a>

</li>

<li class="menu-separator">
<span>|</span>
</li>
</ul>
<a id="mode" href="#">
<svg xmlns="http://www.w3.org/2000/svg" class="mode-sunny" width="21" height="21" viewBox="0 0 14 14" stroke-width="1">
<title>LIGHT</title><g><circle cx="7" cy="7" r="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></circle><line x1="7" y1="0.5" x2="7" y2="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="2.4" y1="2.4" x2="3.82" y2="3.82" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="7" x2="2.5" y2="7" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="2.4" y1="11.6" x2="3.82" y2="10.18" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="13.5" x2="7" y2="11.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="11.6" y1="11.6" x2="10.18" y2="10.18" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="7" x2="11.5" y2="7" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="11.6" y1="2.4" x2="10.18" y2="3.82" fill="none" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" class="mode-moon" width="21" height="21" viewBox="0 0 14 14" stroke-width="1">
<title>DARK</title><g><circle cx="7" cy="7" r="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></circle><line x1="7" y1="0.5" x2="7" y2="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="2.4" y1="2.4" x2="3.82" y2="3.82" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="7" x2="2.5" y2="7" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="2.4" y1="11.6" x2="3.82" y2="10.18" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="13.5" x2="7" y2="11.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="11.6" y1="11.6" x2="10.18" y2="10.18" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="7" x2="11.5" y2="7" fill="none" stroke-linecap="round" stroke-linejoin="round"></line><line x1="11.6" y1="2.4" x2="10.18" y2="3.82" fill="none" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
</a>
</div>
</nav>
</div>

<div class="wrapper post">
<main class="page-content" aria-label="Content">
<article>
<header class="header">
<h1 class="header-title">GameDev #11 ユーザーインターフェース [Devlog #027]</h1>


<div class="post-meta">
<time datetime="2024-02-07T23:03:50&#43;09:00" itemprop="datePublished"> 7 Feb 2024 </time>
</div>

</header>
<details class="toc">
<summary><b>Table of Contents</b></summary>
<nav id="TableOfContents">
<ul>
<li><a href="#ユーザーインターフェース">ユーザーインターフェース</a>
<ul>
<li><a href="#フォントレンダリング">フォントレンダリング</a></li>
<li><a href="#ui画面">UI画面</a></li>
</ul>
</li>
</ul>
</nav>
</details><div class="page-content">
<p>ゲーム開発者の教科書:<a href="https://www.shoeisha.co.jp/book/detail/9784798157610">Game Programming in C++</a> を読んで理解したことについてを要約します(内容の転載を避け、詳しく説明しすぎないように配慮します)</p>
<h1 id="ゲームプログラミング-in-c">ゲームプログラミング in C++</h1>
<hr>
<h2 id="ユーザーインターフェース">ユーザーインターフェース</h2>
<p>ここでは、<strong>フォントを指定して行うテキストのレンダリング、UI画面用のシステム、各言語へのローカライゼーション、HUDにいれる要素</strong>の実装を行う</p>
<h3 id="フォントレンダリング">フォントレンダリング</h3>
<h3 id="ui画面">UI画面</h3>

</div>
</article></main>
</div>
<footer class="footer">
<span class="footer_item"> </span>
&nbsp;

<div class="footer_social-icons">
<a href="https://github.com/nishihi6" target="_blank" rel="noopener noreferrer me"
title="Github">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path
d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22">
</path>
</svg>
</a>
<a href="https://www.facebook.com/profile.php?id=100034856812491" target="_blank" rel="noopener noreferrer me"
title="Facebook">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path>
</svg>
</a>
<a href="https://twitter.com" target="_blank" rel="noopener noreferrer me"
title="X">
<svg viewBox="0 0 1200 1227" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path
d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"/>
</svg>
</a>
<a href="https://connpass.com/user/nishihi6/" target="_blank" rel="noopener noreferrer me"
title="Connpass">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path>
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>
</svg>
</a>
<a href="http://www.igl.ise.shibaura-it.ac.jp/" target="_blank" rel="noopener noreferrer me"
title="Lab">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path>
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>
</svg>
</a>
<a href="index.xml" target="_blank" rel="noopener noreferrer me"
title="Rss">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M4 11a9 9 0 0 1 9 9" />
<path d="M4 4a16 16 0 0 1 16 16" />
<circle cx="5" cy="19" r="1" />
</svg>
</a>
</div>
<small class="footer_copyright">
© 2024 nishihi6.
</small>

</footer><a href="#" title="Go to top" id="totop">
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" stroke="currentColor" viewBox="0 96 960 960">
<path d="M283 704.739 234.261 656 480 410.261 725.739 656 677 704.739l-197-197-197 197Z"/>
</svg>

</a>




















<script src="https://nishihi6.github.io/blog/js/main.min.35f435a5d8eac613c52daa28d8af544a4512337d3e95236e4a4978417b8dcb2f.js" integrity="sha256-NfQ1pdjqxhPFLaoo2K9USkUSM30&#43;lSNuSkl4QXuNyy8="></script>



</body>
</html>
Loading

0 comments on commit e6e22c9

Please sign in to comment.