This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| repeat (10000) { | |
| instance_create(0, 0, obj_some); // (blank) | |
| } | |
| var t, r, this; | |
| r = ds_list_create(); | |
| this = 1000; | |
| // | |
| t = current_time; | |
| with (all) if (id != this) ds_list_add(r, id); | |
| show_debug_message(string(current_time - t) + "ms"); // 4ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import flash.display.Bitmap; | |
| import flash.display.BitmapData; | |
| import flash.display.Graphics; | |
| import flash.display.Sprite; | |
| import flash.events.KeyboardEvent; | |
| import flash.events.TimerEvent; | |
| import flash.geom.Rectangle; | |
| import flash.Lib; | |
| import flash.text.TextField; | |
| import flash.utils.Timer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Turn 1: | |
| o | |
| o o | |
| o . o | |
| o o o o | |
| o o o o o | |
| Turn 2: | |
| o | |
| o o | |
| o x o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Main.Smartxin; | |
| class A { | |
| public var width:Int; | |
| public function new() { } | |
| } | |
| class B extends A { | |
| public var height:Int; | |
| public function new() super(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| объявить поле(4)(4)(4) % поле с номерами пятнашек | |
| объявить стр(2), стл(2) % строка, столбец | |
| объявить симв(128) % массив символов | |
| объявить а(8), б(8), к(8) % временные переменные | |
| симв = #" 123456789ABCDEF" | |
| поле(0)(0)= 0; поле(0)(1)= 1; поле(0)(2)= 2; поле(0)(3)= 3; | |
| поле(1)(0)= 4; поле(1)(1)= 5; поле(1)(2)= 6; поле(1)(3)= 7; | |
| поле(2)(0)= 8; поле(2)(1)= 9; поле(2)(2)=10; поле(2)(3)=11; | |
| поле(3)(0)=12; поле(3)(1)=13; поле(3)(2)=14; поле(3)(3)=15; | |
| игра: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dllx char* file_text_get(char* file) { | |
| FILE *f; | |
| char *r; | |
| long fl; | |
| fopen_s(&f, file, "r"); | |
| if (f) { | |
| fseek(f, 0L, SEEK_END); | |
| fl = ftell(f); | |
| rewind(f); | |
| if (r = (char*)calloc(1, fl + 1)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case "intro": | |
| map([ | |
| [ 000, 031, 031, 031, 000, ], | |
| [ 031, 014, 014, 031, ], | |
| [ 031, 014, 184, 014, 184, ], | |
| [ 031, 014, 014, 042, ], | |
| [ 000, 031, 031, 031, 000, ], | |
| [ 312, 000, 000, 000, ], | |
| ], 4); | |
| put(2, 2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| 1.118 | |
| 1.411 | |
| 5.35 | |
| ]]-- | |
| function set_field(t, f, v) | |
| t[f] = v | |
| return v | |
| end | |
| local n = 10000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import haxe.io.Path; | |
| import sys.FileSystem; | |
| import sys.io.File; | |
| class Main { | |
| static function remap(from:String, to:String, pkg:String = "") { | |
| for (file in FileSystem.readDirectory(from)) { | |
| if (FileSystem.isDirectory('$from/$file')) { | |
| if (!FileSystem.exists('$to/$file')) { | |
| FileSystem.createDirectory('$to/$file'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /********************************************* | |
| * Tululoo Game Maker //TULULOO_VERSION | |
| * | |
| * Creators | |
| * Zoltan Percsich | |
| * Vadim "YellowAfterlife" Dyachenko | |
| * | |
| * (c) SilentWorks 2011 - 2014 | |
| * All rights reserved. | |
| * www.tululoo.com |
OlderNewer