From f62f270de05ebe5a71ef2e66a1a0f54b4ed9dc61 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 30 Dec 2016 09:38:02 +0100 Subject: Working sprites and instance_create --- src/objects/obj_hoi.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/objects/obj_hoi.cpp') diff --git a/src/objects/obj_hoi.cpp b/src/objects/obj_hoi.cpp index fe3c3f1..314b734 100644 --- a/src/objects/obj_hoi.cpp +++ b/src/objects/obj_hoi.cpp @@ -1,11 +1,12 @@ EVENT(create){ x=y=10; + sprite_index=spr_hoi; } EVENT(step){ x++; } -EVENT(draw){ +/*EVENT(draw){ draw_text(x,y,"yay!"); -} +}*/ -- cgit v1.2.3-70-g09d2