Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #68 from spaceack/main
Browse files Browse the repository at this point in the history
[UPDATE]作品1:增加落子音效,作品2;增加典型参数图;作品3;优化程序逻辑
  • Loading branch information
bzy-debug authored Nov 12, 2024
2 parents 10f4937 + 8c4253c commit 592084f
Show file tree
Hide file tree
Showing 21 changed files with 38 additions and 1 deletion.
Binary file modified teams/CS赏金猎手-作品1/game.wasm
Binary file not shown.
6 changes: 6 additions & 0 deletions teams/CS赏金猎手-作品1/src/top.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ pub fn game_start(self : GameStat) -> Unit {
} else if butRel(gp1.button_down, prevgp1.button_down) {
moveDown(self)
} else if butRel(gp1.button_1, prevgp1.button_1) {
@wasm4.tone(
(300, 20),
@wasm4.ADSR::new(4),
@wasm4.ADSRVolume::new(80),
@wasm4.ToneFlag::new(channel=@wasm4.ToneChannel::Triangle),
)
let x = self.player_x
let y = self.player_y
if self.gamemap[x][y] == '0' {
Expand Down
Binary file added teams/CS赏金猎手-作品2/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/5叶花-小.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/5叶花.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions teams/CS赏金猎手-作品2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,37 @@
- br: 大圆的半径
- ti: 旋转次数

## 典型参数
- 五角星
![五角星](5.png)
- 五角星-小
![五角星-小](五角星-小.png)
- 七角星
![七角星](七角星.png)
- 八角星
![八角星](八角星.png)
- 三角形
![三角形](3.png)
- 四叶草
![四叶草](四叶草.png)
- 五叶花-小
![五叶花-小](5叶花-小.png)
- 五叶花
![五叶花](5叶花.png)
- 六叶草
![六叶草](六叶草.png)
- 七叶草
![七叶草](七叶草.png)
- 雏菊-小
![雏菊-小](雏菊-小.png)
- 雏菊
![雏菊-大](雏菊-大.png)
- 甜甜圈
![甜甜圈](甜甜圈.png)
- 太阳
![太阳](sun.png)

-
## 编译及运行

```bash
Expand Down
Binary file added teams/CS赏金猎手-作品2/sun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/七叶草.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/七角星.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/三叶草.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/五角星-小.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/八角星.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/六叶草.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/四叶草.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/甜甜圈.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/雏菊-大.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/CS赏金猎手-作品2/雏菊-小.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified teams/CS赏金猎手-作品3/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified teams/CS赏金猎手-作品3/game.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion teams/CS赏金猎手-作品3/title
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Lindenmayer系统模拟器(L-System Emulator)
分形树模拟器(L-System Tree Emulator)

0 comments on commit 592084f

Please sign in to comment.