mirror of
https://github.com/Dariasteam/Cows-Revenge.git
synced 2026-01-23 02:15:17 +00:00
Restore makefile
This commit is contained in:
parent
fe65838b2c
commit
e249f15e13
4 changed files with 27 additions and 1 deletions
17
Scenes/Events/enemy_3.gd
Normal file
17
Scenes/Events/enemy_3.gd
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
extends Node2D
|
||||
|
||||
onready var hand_1 = get_node("Hand_Back/End")
|
||||
onready var hand_2 = get_node("Hand_Front/End")
|
||||
|
||||
func _ready():
|
||||
set_process(true)
|
||||
|
||||
func _process(delta):
|
||||
var player = get_tree().get_nodes_in_group("player")[0]
|
||||
|
||||
if (player.get_global_pos().distance_to(get_global_pos()) < 100):
|
||||
hand_1.set_global_pos(player.get_global_pos())
|
||||
|
||||
if (player.get_global_pos().distance_to(get_global_pos()) < 100):
|
||||
hand_2.set_global_pos(player.get_global_pos())
|
||||
|
||||
BIN
Sound/buy.ogg
Normal file
BIN
Sound/buy.ogg
Normal file
Binary file not shown.
BIN
Sound/buy.wav
Normal file
BIN
Sound/buy.wav
Normal file
Binary file not shown.
|
|
@ -1,6 +1,15 @@
|
|||
# Makefile: A standard Makefile for hello.c
|
||||
|
||||
all: cowsrevenge
|
||||
all:
|
||||
echo "making"
|
||||
mkdir -p build
|
||||
cd build; git clone -b 2.1 --single-branch https://github.com/godotengine/godot || true
|
||||
cd build/godot; git reset --hard a524cc92e7cccd012d028d870e4648c59473d04e
|
||||
cd build/godot; scons -j `nproc` platform=server use_llvm=yes unix_global_settings=".."
|
||||
cd build/godot; scons platform=x11 tools=no target=release_debug bits=64 use_llvm=yes -j `nproc`
|
||||
mkdir -p build/templates/
|
||||
cp build/godot/bin/godot.x11.opt.debug.64.llvm build/templates/linux_x11_64_release
|
||||
build/godot/bin/godot_server.server.tools.64 -export "Linux X11" build/cowsrevenge
|
||||
|
||||
install:
|
||||
cp cowsrevenge /usr/local/bin/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue