Files
Pong/README.md
2025-11-25 20:04:17 +09:00

38 lines
721 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# pong
初めてSDLだけでゲームを作りました。\
2時間以内で完成しました。
このpongゲームはレベルアップシステムがあり、レベルが上がると徐々に難しくなります。\
また、NPCが10ポイントを獲得すると、ゲームオーバーになります。
## 勉強点
* C++、超ひさしぶりですから(´・ω・`)
* SDL2今まではC言語だけで座ったことがある
* フォントライブラリ
* スコア
* プレイヤーの移動
* NPCの移動
* レベルアップ
* ゲームオーバー
* ゲームループ
## ソフト
* SDL2
* SDL2_ttf
## Linux
```sh
make
```
## \*BSD
```sh
gmake
```
## Illumos
```sh
gmake PREFIX=/usr
```