Commit Graph

92 Commits

Author SHA1 Message Date
giteaadmin 4be7be8be2 minigame 2 add more design 1.5 2026-05-04 15:20:33 +00:00
giteaadmin 5692ab21ad minigame 2 add more design 1.5 2026-05-04 15:20:32 +00:00
giteaadmin f6ec5f1742 minigame 2 add more design 1.2 2026-05-04 13:07:45 +00:00
giteaadmin c2acb0babe minigame 2 add more design 1.1 2026-05-04 12:59:57 +00:00
giteaadmin 97677e51aa minigame 1 add more design 1.5 2026-05-04 12:00:19 +00:00
giteaadmin 7e22b25cce minigame 1 add more design 1.4 2026-05-04 11:48:21 +00:00
giteaadmin ddbd937a0a minigame 1 add more design 1.3 2026-05-04 08:47:32 +00:00
giteaadmin 39b91fa81e minigame 1 add more design 1.2 2026-05-04 08:09:53 +00:00
giteaadmin 9e33dd0ca2 minigame 1 add more design 1.1 2026-05-04 07:37:25 +00:00
giteaadmin 7e3e935e2d minigame 7 Mega Virus 1.4 2026-05-04 04:20:56 +00:00
giteaadmin 4b5fc93aca minigame 7 Mega Virus 1.3 2026-05-03 12:53:43 +00:00
giteaadmin eb6d8c9891 minigame 7 Mega Virus 1.2 2026-05-03 11:12:02 +00:00
giteaadmin ab08e27bac minigame 7 Mega Virus 1.1 2026-05-03 08:48:59 +00:00
giteaadmin 296ee22f52 chore(assets): MegaVirus FTP dir (no space) + editor hints + deploy mkdir
Thai: แก้ 550 จาก MKD Mega Virus — ใช้ Game/public/img/MegaVirus
English: README + deploy 2775; editor help + balloon_boss hint bullet.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 08:27:01 +00:00
giteaadmin 45a071a1f6 feat(admin): Stack minigame tab icon (TowerBlock bar asset)
Thai: ไอคอนแท็บ Minigame-3 + CSS tab-heading-icon--stack-tab
English: /Game/img/TowerBlock/admin-tab-minigame-3.png, contain in 52×20 box.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 08:20:26 +00:00
giteaadmin 8481c0a12b feat(stack): stricter overlap + max drift from pad for realistic stacks
Thai: ทับขั้นต่ำสูงขึ้น, จำกัด |cx-land.cx|, perfect เข้ม, stable ratio 0.62
English: overlapMiss + driftMiss; constants STACK_* near tower map id.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 08:00:36 +00:00
giteaadmin defaa78377 minigame 3 Tower block 1.2 2026-05-03 07:59:06 +00:00
giteaadmin c5f1cd79f6 fix(stack): crisp sprite draw, no block strokes, stricter image gate
Thai: ปิด smoothing ตอนวาดบล็อก, เช็ค img.complete, เอา stroke รอบบล็อกออกทั้งหมด
English: pixel-style scaling; avoid stroke halo on fallback too.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 05:54:08 +00:00
giteaadmin c6dc6e1787 fix(stack): block sprites contain-fit, no stroke when using image
Thai: ไม่ยืดรูป, ไม่ขีดขอบเมื่อมีสไปรต์
English: letterbox inside tile rect; stroke only for hue fallback.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 05:48:27 +00:00
giteaadmin d7f7f0bc0a feat(stack): per-seat block sprites (normal/heavy) in game-timing + admin
Thai: Minigame-3 ตั้งรูปบล็อก P1–P6 ปกติ+ใหญ่, เปอร์เซ็นต์สุ่มใหญ่, เกมวาดสไปรต์ + fallback สี
English: stackBlockNormalImageUrls, stackBlockHeavyImageUrls, stackHeavyBlockPercent; play draws per layer/drop seat.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 05:39:40 +00:00
giteaadmin 6070a61432 fix(stack-tower): pan intro/loop strip BG with camera follow (zDraw)
Thai: แถบ BG intro+loop วาดเต็มจอเดิมไม่เลื่อนตามกล้อง — เลื่อนเพิ่มตาม boost*zoom ให้สอดคล้องบล็อก
English: Full-canvas scroll strip now offsets by stack camera follow in screen px.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 05:24:06 +00:00
giteaadmin adf0c72256 Game: Tower — always load strip images; loop fill above map; rope top unclamped
- Load intro/loop even when stackTowerBgScroll disabled (still no tick if off)
- Tile loop sky when mapBackground path and worldMinY<0
- Tower: cable/guide top no Math.max(0) so rope follows swing above map

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 05:16:56 +00:00
giteaadmin afc8d3b995 Game: Tower stack — raise swing/rope anchor after layer 9+ (mnn93hpi)
getStackTowerSwingLiftWorldPx tiers from layer 9; used in fall anim + draw.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 05:07:00 +00:00
giteaadmin 4a9755a4dc Game: stack tower — world camera follows height again (blocks move with scene)
Restore cy offset in getStackCameraCentersPx from stackTowerCameraFollow.
Remove duplicate BG-only offsets on strip S and mapBackgroundImg draw.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 05:01:36 +00:00
giteaadmin 01d801a8a5 Game: stack tower BG follow — scale strip offset + parallax mapBackgroundImg
World px/layer was too weak on intro/loop strip; scale boost into strip space.
When using editor map background image, shift BG sample window with effCamY only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 04:58:34 +00:00
giteaadmin f9b51fc7ce Game: stack tower height-follow applies to BG strip only, not world camera
Move stackTowerCameraFollow offset from getStackCameraCentersPx into
drawStackTowerScrollBgFullCanvas (S += height boost). Clarify editor copy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 04:49:32 +00:00
giteaadmin 6f401d4877 Game: mnn93hpi stack tower intro+loop scrolling BG (stackTowerBgScroll)
Bundled assets under img/editor-bg-mnn93hpi; editor controls + JSON save;
play.js mirrors space-shooter vertical strip; tick during stack + pregame.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 04:43:33 +00:00
giteaadmin b005d5f56e Game: stack tower camera follow (mnn93hpi) + editor controls
Persist stackTowerCameraFollow on map JSON; pan camera up with stack height in play.js. Editor UI only for map id mnn93hpi + gameType stack. Bump play/editor script cache versions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 04:37:08 +00:00
giteaadmin 16826d0c6e minigame 3 Tower block 1.2 2026-05-02 18:13:42 +00:00
giteaadmin 0a8debca15 minigame 3 Tower block 1.1 2026-05-02 16:59:09 +00:00
giteaadmin c1b4086f30 minigame 1 question 1.4 2026-05-02 16:07:50 +00:00
giteaadmin 0f50ea58b8 minigame 1 question 1.3 2026-05-02 06:56:22 +00:00
giteaadmin 39d3f8606e minigame 1 question 1.2 2026-05-02 06:51:21 +00:00
giteaadmin f2706e5318 minigame 1 question 1.1 2026-05-02 06:21:47 +00:00
giteaadmin e55dadf41c minigame 1 question 1.1 2026-05-02 06:21:45 +00:00
giteaadmin 306637996e minigame 6 rocker 1.8 2026-05-01 15:47:05 +00:00
giteaadmin b85cc3a4e5 minigame 6 rocker 1.7 2026-05-01 15:31:35 +00:00
giteaadmin e548b796fc minigame 6 rocker 1.4 2026-05-01 11:09:11 +00:00
giteaadmin ed0f24b344 minigame 6 rocker 1.3 2026-05-01 10:39:10 +00:00
giteaadmin 52eb6744bf minigame 6 rocker 1.2 2026-05-01 10:20:16 +00:00
giteaadmin c67ce56920 update menu admin and rocker 1.1 2026-05-01 10:08:01 +00:00
giteaadmin e2dcf6f678 minigame 5 jumper 1.4 2026-05-01 08:54:48 +00:00
giteaadmin 06a16bb837 minigame 5 jumper 1.3 2026-05-01 08:04:36 +00:00
giteaadmin a22f73ec5f minigame 5 jumper 1.2 2026-05-01 06:33:38 +00:00
giteaadmin 2f77cc1669 minigame 5 jumper 1.1 2026-05-01 06:03:06 +00:00
giteaadmin aacc7c6e08 minigame 2 just begin1.67 2026-04-30 21:03:58 +00:00
giteaadmin f04060c07c minigame 2 just begin1.66 2026-04-30 20:53:02 +00:00
giteaadmin c40b422a08 minigame 2 just begin1.65 2026-04-30 20:30:59 +00:00
giteaadmin 1aa90543ef minigame 2 just begin1.6 2026-04-30 20:24:47 +00:00
giteaadmin 53ee199a6d minigame 2 just begin1.5 2026-04-30 19:46:28 +00:00