gdquest-demos / godot-3-demos

Dozens of free and open source demos for the Godot game engine, version 3. Head to the link below for newer demos for Godot 4+
https://github.com/gdquest-demos/
MIT License
1.85k stars 975 forks source link

Error in enum in project from 2018 #58

Open paulocoutinhox opened 4 years ago

paulocoutinhox commented 4 years ago

In the example 2018/screen-size you need change enum code to:

enum DIRECTIONS { TOP_BOTTOM, BOTTOM_TOP, LEFT_RIGHT, RIGHT_LEFT } 
export(DIRECTIONS) var direction

You left put DIRECTIONS before the values.