public override void EvtCreate() { Sprite.Texture = sprite_get("george"); // Sprite.change_color_bypixel(Color.Red, 189, 132, 51); frameManager.AddAnimation("george", new[] { 0, 1, 2, 3 }, "south"); frameManager.AddAnimation("george", new[] { 4, 5, 6, 7 }, "west"); frameManager.AddAnimation("george", new[] { 8, 9, 10, 11 }, "north"); frameManager.AddAnimation("george", new[] { 12, 13, 14, 15 }, "east"); mp_grid_create(new System.Drawing.Rectangle(0, 0, 1024, 768), new Size(32, 32)); //show_message(darcsin(-1).ToString()); // int k = system_get_ram(); // video_play(video_get("MyVideo")); /* surface = surface_create(16, 16); * surface_set_target(surface); * draw_sprite(sprite_get("Gem"), -2, new Vector2(0, 0)); * surface_reset_target(); * * surface_save_ext(surface, "kokot", 64, 64);*/ //alarm_set(0, 100); // video_play(video_get("MyVideo")); }