diff --git a/eastern flames/eastern flames.yyp b/eastern flames/eastern flames.yyp index fbc77f6..50f1c3d 100644 --- a/eastern flames/eastern flames.yyp +++ b/eastern flames/eastern flames.yyp @@ -3,6 +3,7 @@ {"id":{"name":"c_loadstageone","path":"scripts/c_loadstageone/c_loadstageone.yy",},"order":20,}, {"id":{"name":"draw_sprite_at","path":"scripts/draw_sprite_at/draw_sprite_at.yy",},"order":8,}, {"id":{"name":"c_inheritunit","path":"scripts/c_inheritunit/c_inheritunit.yy",},"order":5,}, + {"id":{"name":"vertex_format_create_simple","path":"scripts/vertex_format_create_simple/vertex_format_create_simple.yy",},"order":5,}, {"id":{"name":"array_sum","path":"scripts/array_sum/array_sum.yy",},"order":7,}, {"id":{"name":"c_doenemyai","path":"scripts/c_doenemyai/c_doenemyai.yy",},"order":23,}, {"id":{"name":"clampneg","path":"scripts/clampneg/clampneg.yy",},"order":8,}, @@ -31,6 +32,7 @@ {"id":{"name":"draw_settings","path":"scripts/draw_settings/draw_settings.yy",},"order":3,}, {"id":{"name":"draw_circle_curve","path":"scripts/draw_circle_curve/draw_circle_curve.yy",},"order":2,}, {"id":{"name":"s_momijidown","path":"sprites/s_momijidown/s_momijidown.yy",},"order":2,}, + {"id":{"name":"camera_reset","path":"scripts/camera_reset/camera_reset.yy",},"order":0,}, {"id":{"name":"o_unit","path":"objects/o_unit/o_unit.yy",},"order":2,}, {"id":{"name":"combat","path":"scripts/combat/combat.yy",},"order":13,}, {"id":{"name":"mod_negative","path":"scripts/mod_negative/mod_negative.yy",},"order":11,}, @@ -41,6 +43,7 @@ {"id":{"name":"format_time","path":"scripts/format_time/format_time.yy",},"order":12,}, {"id":{"name":"o_screenshake","path":"objects/o_screenshake/o_screenshake.yy",},"order":0,}, {"id":{"name":"ncm","path":"scripts/ncm/ncm.yy",},"order":14,}, + {"id":{"name":"Model","path":"scripts/Model/Model.yy",},"order":2,}, {"id":{"name":"c_gettile","path":"scripts/c_gettile/c_gettile.yy",},"order":11,}, {"id":{"name":"sinmult","path":"scripts/sinmult/sinmult.yy",},"order":16,}, {"id":{"name":"munction","path":"scripts/munction/munction.yy",},"order":12,}, @@ -53,6 +56,7 @@ {"id":{"name":"linear_approach","path":"scripts/linear_approach/linear_approach.yy",},"order":18,}, {"id":{"name":"s_momijiup","path":"sprites/s_momijiup/s_momijiup.yy",},"order":1,}, {"id":{"name":"array_contains","path":"scripts/array_contains/array_contains.yy",},"order":0,}, + {"id":{"name":"model_transform","path":"scripts/model_transform/model_transform.yy",},"order":4,}, {"id":{"name":"song","path":"scripts/song/song.yy",},"order":1,}, {"id":{"name":"cpp","path":"scripts/cpp/cpp.yy",},"order":1,}, {"id":{"name":"log","path":"scripts/log/log.yy",},"order":10,}, @@ -77,7 +81,9 @@ {"id":{"name":"se_play","path":"scripts/se_play/se_play.yy",},"order":5,}, {"id":{"name":"msglang","path":"scripts/msglang/msglang.yy",},"order":15,}, {"id":{"name":"array_front","path":"scripts/array_front/array_front.yy",},"order":2,}, + {"id":{"name":"model_load","path":"scripts/model_load/model_load.yy",},"order":3,}, {"id":{"name":"with_array","path":"scripts/with_array/with_array.yy",},"order":17,}, + {"id":{"name":"matrux_transpose","path":"scripts/matrux_transpose/matrux_transpose.yy",},"order":1,}, {"id":{"name":"point_me","path":"scripts/point_me/point_me.yy",},"order":15,}, {"id":{"name":"draw_hitbox","path":"scripts/draw_hitbox/draw_hitbox.yy",},"order":4,}, {"id":{"name":"ARTICULATOR","path":"objects/ARTICULATOR/ARTICULATOR.yy",},"order":0,}, @@ -130,7 +136,11 @@ {"folderPath":"folders/Scripts/util/drawing/vlambeer.yy","order":1,"resourceVersion":"1.0","name":"vlambeer","tags":[],"resourceType":"GMFolder",}, {"folderPath":"folders/Scripts/util.yy","order":1,"resourceVersion":"1.0","name":"util","tags":[],"resourceType":"GMFolder",}, {"folderPath":"folders/Sprites/momiji.yy","order":2,"resourceVersion":"1.0","name":"momiji","tags":[],"resourceType":"GMFolder",}, +<<<<<<< HEAD {"folderPath":"folders/Sprites/wabbit.yy","order":3,"resourceVersion":"1.0","name":"wabbit","tags":[],"resourceType":"GMFolder",}, +======= + {"folderPath":"folders/Scripts/3d.yy","order":19,"resourceVersion":"1.0","name":"3d","tags":[],"resourceType":"GMFolder",}, +>>>>>>> a9003c47cacfdee8c6ba2588fdb26b55ad87617b ], "AudioGroups": [ {"targets":-1,"resourceVersion":"1.3","name":"audiogroup_default","resourceType":"GMAudioGroup",}, @@ -139,12 +149,17 @@ {"isScaled":true,"autocrop":true,"border":2,"mipsToGenerate":0,"groupParent":null,"targets":-1,"resourceVersion":"1.3","name":"Default","resourceType":"GMTextureGroup",}, ], "IncludedFiles": [ +<<<<<<< HEAD {"CopyToMask":-1,"filePath":"datafiles/Test Map","resourceVersion":"1.0","name":"GBA Test.dat","resourceType":"GMIncludedFile",}, {"CopyToMask":-1,"filePath":"datafiles/Test Map","resourceVersion":"1.0","name":"GBA Test.size","resourceType":"GMIncludedFile",}, {"CopyToMask":-1,"filePath":"datafiles/Test Map","resourceVersion":"1.0","name":"grass.png","resourceType":"GMIncludedFile",}, {"CopyToMask":-1,"filePath":"datafiles/Test Map","resourceVersion":"1.0","name":"koakuma.png","resourceType":"GMIncludedFile",}, {"CopyToMask":-1,"filePath":"datafiles","resourceVersion":"1.0","name":"shrine thing tex.png","resourceType":"GMIncludedFile",}, {"CopyToMask":-1,"filePath":"datafiles","resourceVersion":"1.0","name":"shrine thing.dat","resourceType":"GMIncludedFile",}, +======= + {"CopyToMask":-1,"filePath":"datafiles","resourceVersion":"1.0","name":"shrine thing.dat","resourceType":"GMIncludedFile",}, + {"CopyToMask":-1,"filePath":"datafiles","resourceVersion":"1.0","name":"shrine thing tex.png","resourceType":"GMIncludedFile",}, +>>>>>>> a9003c47cacfdee8c6ba2588fdb26b55ad87617b ], "MetaData": { "IDEVersion": "2.3.3.574", diff --git a/eastern flames/objects/ARTICULATOR/Create_0.gml b/eastern flames/objects/ARTICULATOR/Create_0.gml index 878bc85..4cf165f 100644 --- a/eastern flames/objects/ARTICULATOR/Create_0.gml +++ b/eastern flames/objects/ARTICULATOR/Create_0.gml @@ -23,8 +23,12 @@ function getProj(){ function getView(){ var _x = global.camerax; var _y = global.cameray; +<<<<<<< HEAD var half = (7.5*32)+40; return matrix_build_lookat(_x,_y+180,150,_x,_y,0,0,0,-1); +======= + return matrix_build_lookat(_x,_y+100,100,_x,_y,0,0,0,-1); +>>>>>>> a9003c47cacfdee8c6ba2588fdb26b55ad87617b } function setCam(){ @@ -33,4 +37,22 @@ function setCam(){ camera_set_view_mat(cam,getView()) camera_apply(cam); } -global.turn = ARMY.US; \ No newline at end of file +<<<<<<< HEAD +global.turn = ARMY.US; +======= + +function drawModels(){ + gpu_set_cullmode(cull_counterclockwise); + gpu_set_ztestenable(true); + for(var i = 0; i < array_length(models);i++){ + models[i].draw(); + } + gpu_set_cullmode(cull_noculling); + gpu_set_ztestenable(false); +} + +models = []; + +var spr = sprite_add("./shrine thing tex.png",0,false,false,0,0); +nu Model("./shrine thing.dat",spr); +>>>>>>> a9003c47cacfdee8c6ba2588fdb26b55ad87617b diff --git a/eastern flames/objects/ARTICULATOR/Draw_72.gml b/eastern flames/objects/ARTICULATOR/Draw_72.gml index 3c34e88..f887e85 100644 --- a/eastern flames/objects/ARTICULATOR/Draw_72.gml +++ b/eastern flames/objects/ARTICULATOR/Draw_72.gml @@ -44,4 +44,6 @@ for (i=0; i 0 && argument[0]){ + vertex_format_add_normal(); + } + if(argument_count > 1 && argument[1]){ + vertex_format_add_color(); + } + if(argument_count > 2 && argument[2]){ + vertex_format_add_texcoord(); + } + if(argument_count > 3 && argument[3]){ + vertex_format_add_custom(vertex_type_float3, vertex_usage_texcoord); + vertex_format_add_custom(vertex_type_float3, vertex_usage_texcoord); + } + + return vertex_format_end(); +} diff --git a/eastern flames/scripts/vertex_format_create_simple/vertex_format_create_simple.yy b/eastern flames/scripts/vertex_format_create_simple/vertex_format_create_simple.yy new file mode 100644 index 0000000..4cde8e0 --- /dev/null +++ b/eastern flames/scripts/vertex_format_create_simple/vertex_format_create_simple.yy @@ -0,0 +1,12 @@ +{ + "isDnD": false, + "isCompatibility": false, + "parent": { + "name": "3d", + "path": "folders/Scripts/3d.yy", + }, + "resourceVersion": "1.0", + "name": "vertex_format_create_simple", + "tags": [], + "resourceType": "GMScript", +} \ No newline at end of file