Simple game made with 500 characters for 

TweetTweetJam 8

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




Comments

Log in with itch.io to leave a comment.

(+1)

Great work! Really cool to see what's possible with different engine. :)

(+1)

Thanks, at first I thought it would be easy, but I found out that it was difficult after I crossed 517 characters, so I tried to shorten some commands, this is the first contest I participated in, and it was a very interesting experience

Translated by Google