Coder Social home page Coder Social logo

ligen131 / equal_to_p Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 3.0 37.28 MB

A puzzle game inspired by {Boolean expressions} =P. Created by Team 玩一个四字音游导致的 during Global Game Jam 2024.

Home Page: https://ligen131.github.io/equal_to_p/

License: GNU General Public License v3.0

GDScript 97.77% Shell 2.23%
game ggj2024 puzzle-game

equal_to_p's Introduction

:3

Equal to P (=P)

Try our online demo at https://ligen131.github.io/equal_to_p/ now!

A game made by Team 玩一个四字音游导致的 during Global Game Jam 2024. Participated onsite at ChillyRoom, Shenzhen, China.

Introduction

A puzzle game inspired by {Boolean expressions} =P

Players solve the game by filling in different elements in the arithmetic expression, making the expression always true while also creating a smiley face emoticon with a part of the equation. ;-)

由{布尔运算式}启发的解谜游戏 =P 玩家通过在算数式中填入不同的元素 ;-) 让表达式恒为真的同时 :-> 式子中的某个部分能够构成一个笑脸的颜文字。

Try Demo

The latest built artifacts can be found at the latest actions.

Windows: Download

Linux: Download

MacOS: Download

You can also try our online demo at https://ligen131.github.io/ggj2024-game/. Due to the rendering process requiring time to load, the webpage may take a while to load.

TODO

UI

  • 场景切换的过场动画
  • 配色问题?
  • 选关页面优化

程序

  • 卡牌替换交互逻辑

关卡设计

  • 更多关卡设计

Build

# Windows
$ godot --headless --verbose --export-release "Windows Desktop" equal_to_p.exe

# Linux
$ godot --headless --verbose --export-release "Linux/X11" equal_to_p.x86_64

# MacOS
$ godot --headless --verbose --export-release "mac" equal_to_p.zip

# Web
$ mkdir -v -p build/web
$ godot --headless --verbose --export-release "Web" build/web/index.html
$ cd build/web/
$ curl https://raw.githubusercontent.com/josephrocca/clip-image-sorter/92b108dc670d0b56bd6b72963b0e86c4c862412e/enable-threads.js --output enable-threads.js
$ sed -i 's|headers.set("Cross-Origin-Embedder-Policy", "credentialless")|headers.set("Cross-Origin-Embedder-Policy", "require-corp")|g'  enable-threads.js
$ sed -i 's|<script src="index.js"></script>|<script src="enable-threads.js"></script><script src="index.js"></script>|g' index.html

Engine

Godot 4.2

LICENSE

GNU General Public License v3.0

equal_to_p's People

Contributors

cutekibry avatar ligen131 avatar bunnycxk avatar isaacthemouse avatar github-actions[bot] avatar

Stargazers

 avatar 高山之上的沼泽 avatar Polaris_Light avatar Tokamak Sullivan avatar  avatar LU XIUYUAN avatar Redlight avatar  avatar Nan Huang avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

equal_to_p's Issues

项目规范征求建议

项目规范

规范约束并不强制,有疑惑情况下自行决定

Commit 规范

参照约定式提交 v1.0.0-beta.4约定式提交 v1.0.0 的规范。若二者冲突,以 v1.0.0-beta.4 为准。

Header 不超过 50 个字符,Body 不超过 72 个字符。1 个汉字视为 2 个字符。

美术素材更新使用 feat 类型。

不能main 分支直接提交 commit。

具体选用 featfixrefactor 的区别,可以参照 Git Commit Message 這樣寫會更好,替專案引入規範與範例

分支命名规范

分支命名遵循 [type]-[yyyymmdd]-[description] 格式。

其中,type 是修改类型,yyyymmdd 是创建分支时的日期,description 是分支简述。

PR 规范

标题必填,说明选填。

由于人手不足,所以允许经过 Code Review 的代码直接合并 PR 到 main 分支。如果这么做,在合并前请认真检查。

合并到其他分支则需要原分支所有者同意。

版本号规范

版本号遵循 v[major].[minor].[patch] 格式。其中:

  • major 表示里程碑更新,如果有重大更新才可能增加。一般地,在游戏上线、游戏退出 Early Access 状态时再加 1
  • minor 表示功能更新,包括视觉上的更新、关卡更新、机制更新等。
  • patch 表示补丁更新,仅修复 Bug 而不影响功能。
    • docsrefactorstyle 等不视为补丁更新,故不应当更新。
  • major 更新时后二者置 0,当 minor 更新时 patch0

发布规范

应当通过合并 Release-please bot 维护的 Release PR,让 bot 自动发布。

一般在有一定修改后再发布新版本,不需要每次合并一个小 PR 就发布一次。

发布前必须检查版本号是否满足规范。若不满足规范,必须通过下列方式更新版本号。

方法一:使用脚本(推荐)

在 Windows 的 Git bash 或 Linux 的 Bash 环境下,切换到根目录,运行 release.sh

bash release.sh [major].[minor].[patch]

脚本会自动创建一个用于更改版本号的分支,并打开浏览器进入提交合并该分支到 main 分支的 PR 的页面,确定提交即可。

合并 PR 后 Release-please bot 会自动更新维护的 Release PR 的版本号。

方法二:手动更新

新建一个名为 chore-[date]-release-[major].[minor].[patch] 的分支,仅提交一个 commit,commit 信息为:

chore: release [major].[minor].[patch]

Release-As: [major].[minor].[patch]

在 Windows 的 Git bash 或 Linux 的 Bash 环境下,你可以输入 Bash 命令:

git commit --allow-empty -m "chore: release [major].[minor].[patch]" -m "Release-As: [major].[minor].[patch]"

提交合并该分支到 main 分支的 PR,合并 PR 后 Release-please bot 会自动更新维护的 Release PR 的版本号。

Issue 规范

暂无。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.