View 01_gl_bound_ball.c
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
/* Last updated: <2022/09/18 11:40:29 +0900> */ | |
/* | |
OpenGL Bound Ball by mieki256 | |
ESC, q, key : Exit | |
f key : Display FPS ON/OFF | |
Use Windows10 x64 21H2 + MinGW(gcc 9.2.0) + freeglut 3.0.0 (freeglut-MinGW-3.0.0-1.mp.zip) | |
Build: |
View 01_bound_ball.py
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
#!python | |
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*- | |
# Last updated: <2022/09/18 21:40:32 +0900> | |
""" | |
GL bound ball by mieki256. | |
License: CC0 / Public Domain. | |
ESC, q : Exit | |
f : Display FPS |
View all-layers-process-serial-number_m256.scm
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
;; | |
;; 全レイヤーに対し、以下のどちらかを行う Script-fu スクリプト | |
;; ・レイヤー名を連番でリネーム | |
;; ・連番テキストを描画 | |
;; | |
;; * レイヤーメニューに追加される | |
;; * 連番文字列を描画する際に使用するフォント種類は、 | |
;; 事前にフォントタブ内などで選択しておく。 | |
;; また、現在の前景色で描画される。 | |
;; |
View m256_layers_offsets_dump_0.0.1.py
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# -*- mode: python; Encoding: utf8n -*- | |
u""" | |
全レイヤーの、左上座標、幅、高さ、をテキスト出力保存する. | |
by mieki256 | |
0.0.1 2012.08.06 GIMP2.8、GIMP2.6用に作成。 |
View fullscrpyglet.py
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# -*- mode: python;Encoding: utf8n -*- | |
""" | |
Pygletサンプル | |
BG表示、スプライト表示、oggのループ再生を行う | |
- 座標は、左下が(0,0)になってることに注意 |
View pygameopengltest2.py
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
u""" | |
PyGame + OpenGLのテストサンプル | |
- Pキー : 平行投影/透視投影の切り替え | |
- Wキー : ワイヤーフレーム/ソリッド表示の切り替え | |
- Lキー : 照明のon/off | |
- Tキー : テクスチャ設定の切り替え(3種類) |
View yliluoma_ordered_dither.py
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
#!python | |
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*- | |
# Last updated: <2022/07/13 01:32:08 +0900> | |
""" | |
Yliluoma's ordered dithering algorithm 1, 2, 3 and adobe like | |
Arbitrary-palette positional dithering algorithm | |
https://bisqwit.iki.fi/story/howto/dither/jy/ | |
Usage: |
View gpl2aco.py
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
#!python | |
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*- | |
# Last updated: <2021/07/08 04:18:55 +0900> | |
""" | |
Convert GIMP palette (.gpl) to Photoshop color swatch (.aco). | |
usage: python gpl2aco.py GPL_FILE ACO_FILE | |
Windows10 x64 20H2 + Python 3.9.5 64bit | |
""" |
View stgsample6.lua
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
-- title: WCQ No.6 - Worst Cheap Quality Shoot 'em up exapmle No.6 - | |
-- author: mieki256 | |
-- desc: short description | |
-- script: lua | |
scrw,scrh=240,136 | |
-- -------------------- | |
-- sprite class |
View stgsample5.lua
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
-- title: stg sample 5 | |
-- author: mieki256 | |
-- desc: short description | |
-- script: lua | |
scrw,scrh=240,136 | |
-- -------------------- | |
-- Player class |
NewerOlder