fixed observers, added GameObserver
This commit is contained in:
17
assets/levels/0-own.lvl
Normal file
17
assets/levels/0-own.lvl
Normal file
@@ -0,0 +1,17 @@
|
||||
Description: win
|
||||
Background: background-lila
|
||||
|
||||
|
||||
|
||||
|
||||
########
|
||||
# #o#
|
||||
# S # #
|
||||
# #### #
|
||||
|
||||
|
||||
# #### #
|
||||
# #
|
||||
# o #
|
||||
########
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
width=$(grep "width int" ../main.go | awk '{print $4}')
|
||||
height=$(grep "height int" ../main.go | awk '{print $4}')
|
||||
#!/bin/bash
|
||||
width=$(grep "width " ../../main.go | awk '{print $4}')
|
||||
height=$(grep "height " ../../main.go | awk '{print $4}')
|
||||
|
||||
read -p " Enter level name: " name
|
||||
read -p " Enter background: " background
|
||||
@@ -14,11 +14,12 @@ if test -z "$bbackground"; then
|
||||
background="background-lila"
|
||||
fi
|
||||
|
||||
w=$(($width/32))
|
||||
h=$(($height/32))
|
||||
|
||||
(
|
||||
echo "Description: $des"
|
||||
echo "Background: $background"
|
||||
w=$(($width / 32))
|
||||
h=$(($height / 32))
|
||||
|
||||
for x in $(seq 1 $h); do
|
||||
for y in $(seq 1 $w); do
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
Description: Introduction: collect the goods by moving the ball onto them
|
||||
Background: background-lila
|
||||
####################
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# ######
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
####################
|
||||
Reference in New Issue
Block a user