mirror of
https://github.com/csd4ni3l/loginween.git
synced 2026-01-01 12:33:49 +01:00
I forgot to commit, but yeah i started learning kaplay and made UI for it, and added settings, no game done yet.
This commit is contained in:
12
static/pumpkin_memory.js
Normal file
12
static/pumpkin_memory.js
Normal file
@@ -0,0 +1,12 @@
|
||||
scene("game", (pumpkin_pairs) => {
|
||||
})
|
||||
|
||||
scene("play", () => {
|
||||
create_label(WIDTH / 2 - 16 * "Difficulty Selector".length, HEIGHT / 8, "Difficulty Selector", 56);
|
||||
vertical_buttons(WIDTH / 4, HEIGHT / 4, [
|
||||
["Easy", color(127, 127, 127), color(0, 0, 0, 0), scene_lambda("game", 6)],
|
||||
["Medium", color(127, 127, 127), color(0, 0, 0, 0), scene_lambda("game", 9)],
|
||||
["Hard", color(127, 127, 127), color(0, 0, 0, 0), scene_lambda("game", 12)],
|
||||
["Extra Hard", color(127, 127, 127), color(0, 0, 0, 0), scene_lambda("game", 15)]
|
||||
], WIDTH / 2, HEIGHT / 8, HEIGHT / 50)
|
||||
})
|
||||
Reference in New Issue
Block a user