Pac-Man Classic #A Game

复制链接 & 嵌入
链接
复制链接
嵌入网页
复制嵌入代码
进入全屏模式
载入作品
正在创建积木……
载入角色……
载入声音……
加载扩展……
正在创建积木……
呼唤小猫……
传送Nano……
给Gobo充气 …
准备表情……
还没有人打赏!
最后修改于2025年04月13日

操作说明

操作
不要碰到幽灵
吃掉大豆子以获得1UP
获得更高的分数!
制作不易,喜欢就请点个关注吧呃呃呃~~

备注与谢志

感谢@Bandai Namco

开发日志

变量

X [Inky]

Y [Inky]

Direction [Clyde]

Direction [Inky]

XListPos [Pac-Man]

NewDirection [Clyde]

NewDirection [Inky]

Var1 [Blinky]

ListVar [Pinky]

ListVar [Clyde]

ListVar [Inky]

Var1 [Inky]

Var1 [Pinky]

Var1 [Clyde]

YDist [Inky]

XDist [Pinky]

YDist [Pinky]

YDist [Clyde]

XDist [Clyde]

XDist [Blinky]

YDist [Blinky]

Speed [Blinky]

X [Pinky]

Y [Pinky]

NewDirection [Pinky]

Direction [Pinky]

ListVar [Blinky]

NewDirection [Blinky]

Status [Blinky]

Chomp [Pellets]

Intermission

BlinkTimer

NewDirection [Pac-Man]

X [Clyde]

Y [Clyde]

Direction [Blinky]

Var2 [Pellets]

Var1 [Pellets]

XDist [Inky]

BackVar1

BackVar2

Var3 [Pellets]

Mode

BackVar3

Level

Timer [Pellets]

Var1 [Fruits]

Setback [Pellets]

Setback [Fruits]

Var2 [Fruits]

Var3 [Fruits]

Pellets

YListPos [Pac-Man]

ExtraLives

1UP

Scale

Y [Blinky]

Multiplier

Death

Count

Stop [Pinky]

Stop [Blinky]

Speed [Pac-Man]

TurnAround [Blinky]

X [Blinky]

BlinkBlink [Pellets]

Blink

Open

OpenChange

Stop [Inky]

Status [Inky]

Status [Pinky]

Power

Status [Clyde]

Y [Menu]

Leave

Pellet

BackSetback

Offset

Lives

NewName

Var1 [Scorekeeper]

Var2 [Scorekeeper]

Var3 [Scorekeeper]

Volume

Wiggle

Wait

Turn

Stuck [Pac-Man]

Song

Var2 [Pac-Man]

Direction [Pac-Man]

XPos

YPos

Var1 [Pac-Man]

云变量 10.

云变量 3.

云变量 4.

云变量 5.

云变量 6.

云变量 7.

云变量 8.

云变量 9.

Score

Game

TEST

云变量 1.

云变量 2.

 

列表

Values [Fruits]

Distances [Inky]

Directions [Inky]

Grid

GhostValues

High Scores

Names

Name

Scores

 

角色

Stage

造型

背景1

Black

 

声音

Intro

Background 1

Background 2

Power

Alarm

Intermission

Extra Life

 

代码

当 绿旗 被点击

重复执行

如果 (按下 m 键? 与 ({Game} = Scoreboard) 不成立) 那么

如果 ({Volume} = 0) 那么

将 {Volume} 设为 100

否则

将 {Volume} 设为 0

等待 按下 m 键? 不成立

 

当 绿旗 被点击

将 {Volume} 设为 100

将 {Death} 设为 False

将 {Score} 设为 0

重复执行

将音量设为 {Volume}%

如果 ({Power} > 4) 那么

将 {Blink} 设为 False

如果 (({Game} = Play) 与 ({Pellets} = 0)) 那么

广播 next

将 {Game} 设为 Pause

如果 (((({Score} + 1) / 10000) - 1) > {ExtraLives}) 那么

将 {ExtraLives} 增加 1

播放声音 Extra Life 等待播完

 

当 绿旗 被点击

重复执行

如果 (({Game} = Play) 与 ({Power} > 0)) 那么

如果 ((Inky 的 Status = Dead) 或 ((Blinky 的 Status = Dead) 或 ((Pinky 的 Status = Dead) 或 (Clyde 的 Status = Dead)))) 那么

播放声音 Alarm

等待 0.2 秒

否则

播放声音 Power

等待 0.1 秒

 

当 绿旗 被点击

重复执行

如果 (({Game} = Play) 与 ({Power} > 0) 不成立) 那么

如果 ({Pellets} < 122) 那么

播放声音 Background 2

等待 0.25 秒

否则

播放声音 Background 1

等待 0.35 秒

 

当 绿旗 被点击

将 {Wiggle} 设为 1

重复执行

等待 0.1 秒

将 {Wiggle} 设为 ({Wiggle} + 1) 除以 2 的余数

 

当接收到 start

如果 ({Song} = True) 那么

播放声音 Intro 等待播完

将 {Game} 设为 Play

将 {Song} 设为 False

 

当接收到 main menu

计时器归零

 

当接收到 start

将 {Pellet} 设为 0

将 {Game} 设为 Idle

将 {Power} 设为 0

将 {Blink} 设为 False

将 {Blink} 设为 2

将 {Chomp} 设为 2

将 {Leave} 设为 0

等待 ({Game} = Play)

计时器归零

将 {BackSetback} 设为 0

将 {BackVar3} 设为 0

将 {Mode} 设为 Scatter

如果 ({Level} < 5) 那么

执行 ModeBlock

否则

执行 ModeBlock

执行 ModeBlock

如果 ({Level} < 5) 那么

执行 ModeBlock

否则

执行 ModeBlock

执行 ModeBlock

执行 ModeBlock

如果 ({Level} = 1) 那么

执行 ModeBlock

否则

如果 ({Level} < 5) 那么

执行 ModeBlock

否则

执行 ModeBlock

如果 ({Level} = 1) 那么

执行 ModeBlock

否则

执行 ModeBlock

 

当接收到 play

将 {Level} 设为 1

将 {Score} 设为 0

将 {Lives} 设为 3

将 {ExtraLives} 设为 0

将 {Intermission} 设为 1

将 {Pellets} 设为 244

等待 ({Wait} = 0)

将 {Song} 设为 True

广播 start

 

当接收到 next

等待 4 秒

将 {Level} 增加 1

将 {Game} 设为 Interchange

将 {Pellets} 设为 244

如果 (({Level} = 3) 或 (({Level} = 6) 或 (({Level} = 10) 或 (({Level} > 10) 与 ({Level} 除以 5 的余数 = 0))))) 那么

将 {Game} 设为 Intermission

广播 intermission

播放声音 Intermission 等待播完

播放声音 Intermission 等待播完

等待 0.3 秒

否则

等待 0.5 秒

等待 ({Wait} = 0)

将 {Song} 设为 True

广播 start

 

定义 ModeBlock {number1} {string1}

重复执行直到 ((计时器 - {BackSetback}) > ({number1} + {BackVar3}))

如果 ({Power} > 0) 那么

将 {BackVar1} 设为 计时器

将 {BackVar2} 设为 {BackSetback}

重复执行直到 ({Power} > 0) 不成立

将 {BackSetback} 设为 ((计时器 + {BackVar2}) - {BackVar1})

如果 (({Game} = Play) 或 ({Game} = Pause)) 不成立 那么

停止 这个脚本

广播 change

将 {Mode} 设为 {string1}

将 {BackVar3} 增加 {number1}

 

角色1

 

Pac-Man

 

Blinky

 

Pinky

 

Inky

 

Clyde

 

Pellets

 

Fruits

 

Board

 

Menu

 

Frame

 

Scorekeeper

 

Thumbnail