├── CRT_Shader.yyz ├── blender_isometric_script.txt ├── gui_orbs.yyz ├── isotile_render └── sloped_tile_polygon_collision.yyz /CRT_Shader.yyz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/badwrongg/GameMakerProjects/a3f2c9e7468fe5a92235c08cce8b4c5cd6d0c21d/CRT_Shader.yyz -------------------------------------------------------------------------------- /blender_isometric_script.txt: -------------------------------------------------------------------------------- 1 | import bpy 2 | from math import radians 3 | from os.path import join 4 | 5 | S = bpy.context.scene 6 | 7 | renderFolder = "E:/Blender_output/" 8 | 9 | camParent = bpy.data.objects['cam_rotate'] 10 | 11 | animLen = 4 # frames 12 | numAngles = 32 13 | rotAngle = 360 / numAngles 14 | 15 | for i in range(numAngles): 16 | # Set camera angle via parent 17 | angle = i * rotAngle 18 | camParent.rotation_euler.z = -radians( angle ) 19 | 20 | # Render animation 21 | for f in range(1,animLen + 1): 22 | S.frame_set( f ) # Set frame 23 | 24 | frmNum = str( f ).zfill(3) # Formats 5 --> 005 25 | fileName = "{cnt}_death_{f}".format( cnt = i, f = frmNum ) 26 | fileName += S.render.file_extension 27 | bpy.context.scene.render.filepath = join( renderFolder, fileName ) 28 | 29 | bpy.ops.render.render(write_still = True) -------------------------------------------------------------------------------- /gui_orbs.yyz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/badwrongg/GameMakerProjects/a3f2c9e7468fe5a92235c08cce8b4c5cd6d0c21d/gui_orbs.yyz -------------------------------------------------------------------------------- /isotile_render: -------------------------------------------------------------------------------- 1 | import bpy 2 | from os.path import join 3 | 4 | t = bpy.data.objects 5 | tiles = bpy.data.collections['tiles'] 6 | render_folder = "D:/Blender Output/" 7 | S = bpy.context.scene 8 | 9 | def tile_reset(col): 10 | for tile in col.objects: 11 | tile.location.x = 10 12 | tile.location.y = 10 13 | return 14 | 15 | def tile_home(tl): 16 | tl['n'].location.x = 10 17 | tl['n'].location.y = 14 18 | tl['s'].location.x = 14 19 | tl['s'].location.y = 10 20 | tl['e'].location.x = 14 21 | tl['e'].location.y = 14 22 | tl['w'].location.x = 10 23 | tl['w'].location.y = 10 24 | tl['nw1'].location.x = 10 25 | tl['nw1'].location.y = 12 26 | tl['ne1'].location.x = 12 27 | tl['ne1'].location.y = 14 28 | tl['sw1'].location.x = 12 29 | tl['sw1'].location.y = 10 30 | tl['se1'].location.x = 14 31 | tl['se1'].location.y = 12 32 | tl['nw2'].location.x = 8 33 | tl['nw2'].location.y = 12 34 | tl['ne2'].location.x = 12 35 | tl['ne2'].location.y = 16 36 | tl['sw2'].location.x = 12 37 | tl['sw2'].location.y = 8 38 | tl['se2'].location.x = 16 39 | tl['se2'].location.y = 12 40 | tl['cn'].location.x = 20 41 | tl['cn'].location.y = 18 42 | tl['cs'].location.x = 22 43 | tl['cs'].location.y = 16 44 | tl['cw'].location.x = 20 45 | tl['cw'].location.y = 16 46 | tl['ce'].location.x = 22 47 | tl['ce'].location.y = 18 48 | tl['mn'].location.x = 20 49 | tl['mn'].location.y = 6 50 | tl['ms'].location.x = 22 51 | tl['ms'].location.y = 4 52 | tl['me'].location.x = 22 53 | tl['me'].location.y = 6 54 | tl['mw'].location.x = 20 55 | tl['mw'].location.y = 4 56 | return 57 | 58 | def tile_move(n, s, e, w): 59 | #north 60 | n.location.x = -2 61 | n.location.y = 2 62 | #south 63 | s.location.x = 0 64 | s.location.y = 0 65 | #east 66 | e.location.x = 0 67 | e.location.y = 2 68 | #west 69 | w.location.x = -2 70 | w.location.y = 0 71 | return 72 | 73 | def tile_render(i): 74 | index = str(i).zfill(3) 75 | file_name = "isotile_{f}".format(f = index) 76 | file_name += S.render.file_extension 77 | bpy.context.scene.render.filepath = join(render_folder, file_name) 78 | bpy.ops.render.render(write_still = True) 79 | return 80 | 81 | #index_1 82 | tile_move(t['cn'], t['ms'], t['me'], t['mw']) 83 | tile_render(1) 84 | tile_reset(tiles) 85 | 86 | #index_2 87 | tile_move(t['mn'], t['ms'], t['ce'], t['mw']) 88 | tile_render(2) 89 | tile_reset(tiles) 90 | 91 | #index_3 92 | tile_move(t['cn'], t['ms'], t['ce'], t['mw']) 93 | tile_render(3) 94 | tile_reset(tiles) 95 | 96 | #index_4 97 | tile_move(t['mn'], t['cs'], t['me'], t['mw']) 98 | tile_render(4) 99 | tile_reset(tiles) 100 | 101 | #index_5 102 | tile_move(t['cn'], t['cs'], t['me'], t['mw']) 103 | tile_render(5) 104 | tile_reset(tiles) 105 | 106 | #index_6 107 | tile_move(t['mn'], t['cs'], t['ce'], t['mw']) 108 | tile_render(6) 109 | tile_reset(tiles) 110 | 111 | #index_7 112 | tile_move(t['cn'], t['cs'], t['ce'], t['mw']) 113 | tile_render(7) 114 | tile_reset(tiles) 115 | 116 | #index_8 117 | tile_move(t['mn'], t['ms'], t['me'], t['cw']) 118 | tile_render(8) 119 | tile_reset(tiles) 120 | 121 | #index_9 122 | tile_move(t['cn'], t['ms'], t['me'], t['cw']) 123 | tile_render(9) 124 | tile_reset(tiles) 125 | 126 | #index_10 127 | tile_move(t['mn'], t['ms'], t['ce'], t['cw']) 128 | tile_render(10) 129 | tile_reset(tiles) 130 | 131 | #index_11 132 | tile_move(t['cn'], t['ms'], t['ce'], t['cw']) 133 | tile_render(11) 134 | tile_reset(tiles) 135 | 136 | #index_12 137 | tile_move(t['mn'], t['cs'], t['me'], t['cw']) 138 | tile_render(12) 139 | tile_reset(tiles) 140 | 141 | #index_13 142 | tile_move(t['cn'], t['cs'], t['me'], t['cw']) 143 | tile_render(13) 144 | tile_reset(tiles) 145 | 146 | #index_14 147 | tile_move(t['mn'], t['cs'], t['ce'], t['cw']) 148 | tile_render(14) 149 | tile_reset(tiles) 150 | 151 | #index_15 152 | tile_move(t['cn'], t['cs'], t['ce'], t['cw']) 153 | tile_render(15) 154 | tile_reset(tiles) 155 | 156 | #index_16 157 | tile_move(t['nw1'], t['ms'], t['me'], t['nw2']) 158 | tile_render(16) 159 | tile_reset(tiles) 160 | 161 | #index_17 162 | tile_move(t['nw1'], t['ms'], t['ce'], t['nw2']) 163 | tile_render(17) 164 | tile_reset(tiles) 165 | 166 | #index_18 167 | tile_move(t['nw1'], t['cs'], t['me'], t['nw2']) 168 | tile_render(18) 169 | tile_reset(tiles) 170 | 171 | #index_19 172 | tile_move(t['nw1'], t['cs'], t['ce'], t['nw2']) 173 | tile_render(19) 174 | tile_reset(tiles) 175 | 176 | #index_20 177 | tile_move(t['ne1'], t['ms'], t['ne2'], t['mw']) 178 | tile_render(20) 179 | tile_reset(tiles) 180 | 181 | #index_21 182 | tile_move(t['ne1'], t['cs'], t['ne2'], t['mw']) 183 | tile_render(21) 184 | tile_reset(tiles) 185 | 186 | #index_22 187 | tile_move(t['ne1'], t['ms'], t['ne2'], t['cw']) 188 | tile_render(22) 189 | tile_reset(tiles) 190 | 191 | #index_23 192 | tile_move(t['ne1'], t['cs'], t['ne2'], t['cw']) 193 | tile_render(23) 194 | tile_reset(tiles) 195 | 196 | #index_24 197 | tile_move(t['mn'], t['se1'], t['se2'], t['mw']) 198 | tile_render(24) 199 | tile_reset(tiles) 200 | 201 | #index_25 202 | tile_move(t['mn'], t['se1'], t['se2'], t['cw']) 203 | tile_render(25) 204 | tile_reset(tiles) 205 | 206 | #index_26 207 | tile_move(t['cn'], t['se1'], t['se2'], t['mw']) 208 | tile_render(26) 209 | tile_reset(tiles) 210 | 211 | #index_27 212 | tile_move(t['cn'], t['se1'], t['se2'], t['cw']) 213 | tile_render(27) 214 | tile_reset(tiles) 215 | 216 | #index_28 217 | tile_move(t['mn'], t['sw1'], t['me'], t['sw2']) 218 | tile_render(28) 219 | tile_reset(tiles) 220 | 221 | #index_29 222 | tile_move(t['cn'], t['sw1'], t['me'], t['sw2']) 223 | tile_render(29) 224 | tile_reset(tiles) 225 | 226 | #index_30 227 | tile_move(t['mn'], t['sw1'], t['ce'], t['sw2']) 228 | tile_render(30) 229 | tile_reset(tiles) 230 | 231 | #index_31 232 | tile_move(t['cn'], t['sw1'], t['ce'], t['sw2']) 233 | tile_render(31) 234 | tile_reset(tiles) 235 | 236 | #index_32 237 | tile_move(t['nw1'], t['se1'], t['se2'], t['nw2']) 238 | tile_render(32) 239 | tile_reset(tiles) 240 | 241 | #index_33 242 | tile_move(t['ne1'], t['sw1'], t['ne2'], t['sw2']) 243 | tile_render(33) 244 | tile_reset(tiles) 245 | 246 | #index_34 247 | tile_move(t['n'], t['ms'], t['ne2'], t['nw1']) 248 | tile_render(34) 249 | tile_reset(tiles) 250 | 251 | #index_35 252 | tile_move(t['n'], t['cs'], t['ne2'], t['nw1']) 253 | tile_render(35) 254 | tile_reset(tiles) 255 | 256 | #index_36 257 | tile_move(t['ne1'], t['se1'], t['e'], t['mw']) 258 | tile_render(36) 259 | tile_reset(tiles) 260 | 261 | #index_37 262 | tile_move(t['ne1'], t['se1'], t['e'], t['cw']) 263 | tile_render(37) 264 | tile_reset(tiles) 265 | 266 | #index_38 267 | tile_move(t['mn'], t['s'], t['se1'], t['sw1']) 268 | tile_render(38) 269 | tile_reset(tiles) 270 | 271 | #index_39 272 | tile_move(t['cn'], t['s'], t['se1'], t['sw1']) 273 | tile_render(39) 274 | tile_reset(tiles) 275 | 276 | #index_40 277 | tile_move(t['nw1'], t['sw1'], t['me'], t['w']) 278 | tile_render(40) 279 | tile_reset(tiles) 280 | 281 | #index_41 282 | tile_move(t['nw1'], t['sw1'], t['ce'], t['w']) 283 | tile_render(41) 284 | tile_reset(tiles) 285 | 286 | #index_42 287 | tile_move(t['n'], t['se1'], t['e'], t['nw1']) 288 | tile_render(42) 289 | tile_reset(tiles) 290 | 291 | #index_43 292 | tile_move(t['n'], t['sw1'], t['ne1'], t['w']) 293 | tile_render(43) 294 | tile_reset(tiles) 295 | 296 | #index_44 297 | tile_move(t['nw1'], t['s'], t['se1'], t['w']) 298 | tile_render(44) 299 | tile_reset(tiles) 300 | 301 | #index_45 302 | tile_move(t['ne1'], t['s'], t['e'], t['sw1']) 303 | tile_render(45) 304 | tile_reset(tiles) 305 | 306 | #index_46 307 | tile_move(t['n'], t['s'], t['e'], t['w']) 308 | tile_render(46) 309 | tile_reset(tiles) 310 | 311 | #index_47 312 | tile_move(t['mn'], t['ms'], t['me'], t['mw']) 313 | tile_render(47) 314 | tile_reset(tiles) 315 | 316 | tile_home(t) 317 | -------------------------------------------------------------------------------- /sloped_tile_polygon_collision.yyz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/badwrongg/GameMakerProjects/a3f2c9e7468fe5a92235c08cce8b4c5cd6d0c21d/sloped_tile_polygon_collision.yyz --------------------------------------------------------------------------------