Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

run gameView game page

Submitted by aniso-dev-studio — 4 days, 11 hours before the deadline
Add to collection

Play game

run game's itch.io page

How many characters of code did you use?
482

Include your code here, if you'd like to show it off!
player code:

extends KinematicBody2D

var move=Vector2()

func _physics_process(delta):

move=Vector2()

if Input.is_action_pressed("ui_up"):move.y-=1

if Input.is_action_pressed("ui_down"):move.y+=1

move=move.normalized()*100;move_and_slide(move)

func _on_Area2D_body_entered(body):if body.is_in_group("enemy"):get_tree().reload_current_scene();pass

enemy code:

extends KinematicBody2D

var move=Vector2()

func _physics_process(delta):

move=Vector2();move.x-=1;move=move.normalized()*100;move_and_slide(move)

the total: 482 character

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet