Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Srb František
Cpp-Game
Commits
2e7b439a
Commit
2e7b439a
authored
May 28, 2021
by
Srb František
Browse files
Update README.md
parent
d3244ee0
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
2e7b439a
Cílem hry je proklouznout mezi hlídači a najít cíl (žlutý kříž)
Ovládání:
*
W/S - pohyb dopředu/dozadu
*
A/D - točení do leva/prava
*
Space - položení sonaru (položení nového odstraní starý)
Vlastní mapy v .txt:
(všechny čísla jsou zadávána celočíselně, složky barev pak čísel v rozmezi [0,255])
1.
map_width map_height
2.
player_start_x player_start_y
3.
goal_x goal_y
4.
_(optional/multiple - Enemies)_
1.
E
2.
Red Green Blue
3.
_(multiple - path by points)_
1.
point_x point_y
2.
wait_time _(in tenth of seconds)_
5.
--- _(triple dashes - start of building objects)_
6.
_(optional/multiple - Walls/Buildings)_
1.
--- _(triple dashes - start of new building)_
2.
Red Green Blue
3.
_(multiple(min=2) - walls by points)_
1.
point_x point_y
Příklad je v CppGame/map1.txt
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment