Commit Graph

  • cd0d8cfdcb create some attack-projectile frames Humza Shahid 2025-08-28 13:58:09 +01:00
  • e016afd1d2 add attack discs Humza Shahid 2025-08-28 13:10:50 +01:00
  • f877806fb6 add alternate pattern for attack background (only in dsc files though) Humza Shahid 2025-08-28 12:30:32 +01:00
  • 2157536179 begin making attack files Humza Shahid 2025-08-28 11:38:19 +01:00
  • ab1c86b3c8 add attack pose Humza Shahid 2025-08-28 11:17:34 +01:00
  • cfec1ccdf8 finish walk cycle for dvd Humza Shahid 2025-08-28 10:16:46 +01:00
  • 832c1913d3 add walk3 and walk4 frames Humza Shahid 2025-08-28 01:44:32 +01:00
  • 1a61f03a5f add walk1 frame for dvd Humza Shahid 2025-08-26 23:23:33 +01:00
  • f306501a68 remove code that became dead as a result of the previous refactoring (to make files loadable from terminal) Humza Shahid 2025-08-26 16:29:11 +01:00
  • 4a8ff38a66 in generated export string, use structure name which is based on the name of the input file Humza Shahid 2025-08-26 16:21:52 +01:00
  • 2de690f325 done with functionality relating to performing file operations on terminal Humza Shahid 2025-08-26 16:15:40 +01:00
  • dcd3c3117e initialise app with a file path, for the functionality of loading different files from the terminal Humza Shahid 2025-08-26 15:56:52 +01:00
  • a98ca50cf5 remove browse mode and code that became dead as a result of its removal, because the new plan is to launch the program from the terminal (and terminal navigation is okay) Humza Shahid 2025-08-26 15:36:39 +01:00
  • 6c9149bfaa when converting file name from kebab case to pascal case, remove extension if there is any Humza Shahid 2025-08-26 15:21:59 +01:00
  • 060e3779f5 add a function to convert from kebab case (expectation for file names) to pascal case (convention used for structures) Humza Shahid 2025-08-26 15:17:10 +01:00
  • 8e4f2f4820 done with implementing conversion of each .dsc file in a directory, to an .sml export string (may need to adapt later) Humza Shahid 2025-08-26 14:53:19 +01:00
  • 2070b30c7d progress with converter, as we now visit each directory and file path recursively Humza Shahid 2025-08-26 14:35:35 +01:00
  • 2080118568 progress with conversion functionality Humza Shahid 2025-08-26 14:27:39 +01:00
  • 868e066295 progress parsing command line args Humza Shahid 2025-08-26 13:58:42 +01:00
  • d3d7955727 add install and uninstall options to Makefile Humza Shahid 2025-08-26 13:43:27 +01:00
  • 894cd50073 restructure a bit to make the GLFW-initialisation code its own separate structure/file, and so we can use shell.sml for running program in different ways Humza Shahid 2025-08-26 13:00:18 +01:00
  • 8f3250c514 done with jumping frames for dvd Humza Shahid 2025-08-26 11:41:53 +01:00
  • cb253c8a01 add jump4 frames to dvd Humza Shahid 2025-08-26 10:28:33 +01:00
  • e2c551ba59 move jump1/jump2 frames horizontally by 1 pixel, to align with jump3 frame Humza Shahid 2025-08-26 09:13:03 +01:00
  • a143faaf21 add jump3-left/right frames for dvd Humza Shahid 2025-08-26 09:07:57 +01:00
  • 54412a909c improve raster dvd jump frames Humza Shahid 2025-08-25 23:03:27 +01:00
  • b96f2712f1 add a couple of jump frames Humza Shahid 2025-08-25 16:24:11 +01:00
  • 127ab2fc70 begin converting dvd from png to dsc (only have standing pose converted right now) Humza Shahid 2025-08-25 14:12:54 +01:00
  • 2be6e1c9b1 add attack projectiles and background to dvd folder Humza Shahid 2025-08-25 13:34:05 +01:00
  • 7375182a23 added attack-projectile pieces (need to assemble next) Humza Shahid 2025-08-25 12:51:47 +01:00
  • 4113934010 add attack frame Humza Shahid 2025-08-25 12:07:16 +01:00
  • e2a9542b08 improve dvd's walk cycle by adding head bobbing Humza Shahid 2025-08-25 10:08:47 +01:00
  • b89dddcb9b add raster dvd sprites (stand, walk, jump) Humza Shahid 2025-08-24 11:45:51 +01:00
  • 9051717213 remove 'gl_samples' parameter (it was used from antialiasing, but we have a bitmap font, so we don't want antialiasing) Humza Shahid 2025-08-20 14:01:24 +01:00
  • cd21f87732 fix compile error in shell/shell.sml (had to pass an additional parameter: 'Time.now ()') Humza Shahid 2025-08-20 13:53:31 +01:00
  • 4d77aed6ef done refactoring tests Humza Shahid 2025-08-20 13:50:57 +01:00
  • 0dd7a69777 propagate 'time' value throughout normal mode updating Humza Shahid 2025-08-20 13:12:07 +01:00
  • f97a2944ae pass time parameter in normal-delete.sml Humza Shahid 2025-08-20 13:00:36 +01:00
  • c4f3e921a3 formating Humza Shahid 2025-08-20 12:51:31 +01:00
  • c21d1b8205 progress fixing compile errors resulting from adding 'bufferModifyTime' field (fixed normal-mode move expressions) Humza Shahid 2025-08-20 12:50:39 +01:00
  • 642814fb36 begin adding a 'bufferModifyTime' field to the app_type (lots of refactoring to do now) Humza Shahid 2025-08-20 12:17:07 +01:00
  • cdc8c0c734 more updates from cozette-sml Humza Shahid 2025-08-18 03:35:57 +01:00
  • daf79e8291 bring asterisk up by 1 pixel Humza Shahid 2025-08-18 03:33:08 +01:00
  • 714558a739 pull in further updates from cozette-sml librarfy Humza Shahid 2025-08-18 03:30:28 +01:00
  • d5231ebe36 bring other brackets (left/right-brace, left/right-bracket, left/right-paren) up by 1 pixel Humza Shahid 2025-08-18 03:28:45 +01:00
  • b7bc847e34 amend compile/type errors introduced in previous commit Humza Shahid 2025-08-18 03:19:59 +01:00
  • 7561573370 move left and right angle brackets up by 1 pixel Humza Shahid 2025-08-18 03:14:47 +01:00
  • 023136516e pull new version of cozette library, which fixes some odd-looking letters (lower-case-t, lower-case-j, upper-case-x) Humza Shahid 2025-08-18 02:59:50 +01:00
  • 2d43c69178 fix compiler errors (illegal tokens in two files) introduced in previous commit Humza Shahid 2025-08-18 02:56:25 +01:00
  • 5ca2806c01 make some adjustments to: lower-case-j, lower-case-t and upper-case-x Humza Shahid 2025-08-18 02:53:35 +01:00
  • 41153c32a1 create new rect which is adapted to new text, and use it in text-builder.sml Humza Shahid 2025-08-18 02:39:56 +01:00
  • af15b97400 pull in new version of cozette-ascii library, and fix resulting compile errors (which all occurred in text-builder.sml) Humza Shahid 2025-08-18 02:17:13 +01:00
  • 4ec3ba18fd add ability to set (r, g, b) colour values for font Humza Shahid 2025-08-18 01:31:22 +01:00
  • de92e8c2ac remove old font files Humza Shahid 2025-08-18 01:11:23 +01:00
  • 7a5dba3baa done scaffolding new fonts Humza Shahid 2025-08-18 01:06:54 +01:00
  • d9c7f71859 create folder for new fonts which should hopefully be easier to use (in progress) Humza Shahid 2025-08-18 00:48:59 +01:00
  • e0bc10fa8e add upper case characters to new-cozette Humza Shahid 2025-08-17 22:35:07 +01:00
  • 6b17af508a add numbers to new-cozette Humza Shahid 2025-08-17 22:13:22 +01:00
  • 2d0800b81a amend placement of some symbols Humza Shahid 2025-08-17 22:03:39 +01:00
  • cb5a51388d add symbols for new-cozette Humza Shahid 2025-08-17 21:51:55 +01:00
  • 5f9f1fab17 add lower case letters for new cozette drawings Humza Shahid 2025-08-17 21:00:43 +01:00
  • 850d3b7bcb done refactoring one text builder loop Humza Shahid 2025-08-17 19:32:46 +01:00
  • 845605aa48 fix compile error in make-text-builder.sml Humza Shahid 2025-08-17 17:30:51 +01:00
  • 3e67d90512 progress functorising text builder Humza Shahid 2025-08-17 17:15:15 +01:00
  • 953eaefb88 recolour gun Humza Shahid 2025-08-15 10:32:41 +01:00
  • a561b5c3e4 add some colour to drawing Humza Shahid 2025-08-15 09:43:29 +01:00
  • bcd9f9b7b1 add head to drawing Humza Shahid 2025-08-15 08:24:56 +01:00
  • a5bfa96269 add buster and shoulder to drawing Humza Shahid 2025-08-14 14:31:29 +01:00
  • 171c2d337f minor shoe changes in drawing Humza Shahid 2025-08-13 15:30:18 +01:00
  • 679d4c143f minor line adjustments in drawing Humza Shahid 2025-08-13 14:21:13 +01:00
  • 6541d66b18 drawing checkpoint Humza Shahid 2025-08-13 12:22:47 +01:00
  • 4a9b5947e7 add functionality to flip drawing horizontally Humza Shahid 2025-08-12 22:25:16 +01:00
  • 279b8a1482 forgot to add contents of walk-3.dsc in previous commit, so add in this commit Humza Shahid 2025-08-11 10:44:44 +01:00
  • 88756cadbd attempt a walk-3 frame Humza Shahid 2025-08-11 10:38:43 +01:00
  • 8b12020d0c minor changes to walk-1 frame Humza Shahid 2025-08-11 10:17:59 +01:00
  • 339fe12af4 add another walk frame Humza Shahid 2025-08-11 10:12:31 +01:00
  • e763442de7 add a walking frame Humza Shahid 2025-08-11 08:53:51 +01:00
  • ad4eee2de6 add stars in background for appa Humza Shahid 2025-08-09 17:25:01 +01:00
  • 38753427c5 add appa files (but no stars in background yet) Humza Shahid 2025-08-09 17:04:35 +01:00
  • 3b6e6783b9 use same shoes in attack-4.dsc frame as in other frames (attack-1 to attack-3, and stand.dsc), and change width to 22 pixels as well Humza Shahid 2025-08-09 14:51:35 +01:00
  • d667831cec use same shoes/legs in attack-3.dsc as stand.dsc, and change width to 22 pixels Humza Shahid 2025-08-09 14:47:36 +01:00
  • dc0faa12fb change stand.dsc frame to be 22 pixels wide Humza Shahid 2025-08-09 14:38:41 +01:00
  • 8e3b58eebc change attack-2.dsc frame to be 22 pixels wide Humza Shahid 2025-08-09 14:37:16 +01:00
  • a785f97c6a minor adjustments to attack-1.dsc frame Humza Shahid 2025-08-09 14:30:30 +01:00
  • 69992b5a8d convert whip-attack sprites to new dotscape format Humza Shahid 2025-08-09 14:22:04 +01:00
  • 55fe9b7605 a bit of formatting (code does same thing, but is expressed in a way that is a little clearer after the formatter has been run) Humza Shahid 2025-08-09 14:13:23 +01:00
  • a5b988d136 fix bug in LayerTree.map function: replace old value with new value (the result of applying the callback function) Humza Shahid 2025-08-09 14:01:55 +01:00
  • e160e997d3 fix bug: when loading a parsed layer tree, graph lines should be regenerated Humza Shahid 2025-08-09 13:50:31 +01:00
  • c29746dd5b in save string, add each layer to a new line. This helps with readability and text manipulation (if we want to edit the save file directly for whatever reason) Humza Shahid 2025-08-09 13:23:35 +01:00
  • 17a8885d77 fix exception that was previously triggered when trying to insert after loading a parsed tree, by making sure that the arrowX and arrowY fields are clamped by the new canvas width and height Humza Shahid 2025-08-09 13:08:26 +01:00
  • 6f91c6fc52 fix compile errors left in previous commit Humza Shahid 2025-08-09 12:48:56 +01:00
  • 143d02163b fix bugs related to parsing and loading file (did not implement new BNF grammar properly) Humza Shahid 2025-08-09 12:39:41 +01:00
  • d6f7583273 progress towards saving export string in correct format (but note there is currently an exception somewhere because of changes; need to fix) Humza Shahid 2025-08-09 11:56:18 +01:00
  • 99a47a410f fix loading to use and return layer tree Humza Shahid 2025-08-09 11:42:37 +01:00
  • 940e4429a7 reimplement parsing code (but program does not compile yet because I have to change type of 'USE_SQUARES' constructure) Humza Shahid 2025-08-09 11:29:36 +01:00
  • b765e406c7 change BNF (but not implementation of BNF) for parsing, to handle layers, and also change minimum key in layer tree to be 1 Humza Shahid 2025-08-09 11:10:34 +01:00
  • d3ace298d3 remove 'squares' field from app type, and refactor most functions in common-update.sml to use layer tree instead of squares vector Humza Shahid 2025-08-09 10:19:26 +01:00
  • ab888f8410 update 'changeCanvasWidth/Height' functions to use layer tree Humza Shahid 2025-08-09 10:11:37 +01:00
  • 21624aee0d change 'move-mode.sml' to use layer tree everywhere instead of squares Humza Shahid 2025-08-09 09:57:19 +01:00
  • 6a39f43916 remove some dead code Humza Shahid 2025-08-09 09:39:59 +01:00