Commit graph

608 commits

Author SHA1 Message Date
John Alanbrook 70e4105e1b bucket renamed to edge2d and saves now; proper input blocking with reversed() 2023-09-27 22:40:04 +00:00
John Alanbrook 98ba229c9c correct polygon2d saving and editing 2023-09-27 17:36:32 +00:00
John Alanbrook 7984c90140 remove ur from components 2023-09-27 14:37:20 +00:00
John Alanbrook 1143b9b3dc circle and sprites work with saves 2023-09-26 22:07:51 +00:00
John Alanbrook fe21b84785 Ur saving, ur subtyping 2023-09-26 18:34:02 +00:00
John Alanbrook db8e59a8eb improved UR loading 2023-09-26 13:37:19 +00:00
John Alanbrook 9a1f1408a6 Simplify reparenting; fix deleting objects and copying objects 2023-09-25 21:34:48 +00:00
John Alanbrook 58d4132f4d add c64 font 2023-09-25 17:29:49 +00:00
John Alanbrook 3c43a1fad8 D3D11 build for windows; gif making works everywhere & gif names are now dates 2023-09-25 17:29:04 +00:00
John Alanbrook d52b15e1be aseprite importer 2023-09-25 13:21:02 +00:00
John Alanbrook 0256f4cd15 add gif for animations; unique anim types 2023-09-24 16:26:44 +00:00
John Alanbrook 174a9ed586 Fix Object.merge; add many color palettes, normalize color fns 2023-09-23 17:35:02 +00:00
John Alanbrook 721abd6a8f Add color maps 2023-09-22 14:44:58 +00:00
John Alanbrook a8eb444991 add object merging 2023-09-22 00:51:38 +00:00
John Alanbrook 14d743e704 added colors; repl works 2023-09-21 17:50:39 +00:00
John Alanbrook 47dc6aa1fe flip, scale, angle works for subobject movement 2023-09-21 13:38:23 +00:00
John Alanbrook 81875c3436 objects now correctly register components and subobjects 2023-09-20 22:58:18 +00:00
John Alanbrook f6d491b142 tojson for ur and entity separation 2023-09-20 18:33:11 +00:00
John Alanbrook 31331af57d merge made functions into original prototype 2023-09-20 13:11:14 +00:00
John Alanbrook 266ad65ba7 Removed more Javascript "features"; simplified ur with closures 2023-09-19 22:37:54 +00:00
John Alanbrook a57aaeb5d5 Windows now compiles with directx; separated out ur and entity methods 2023-09-19 17:35:12 +00:00
John Alanbrook 45a1b2dfb3 Add config.c for all implementations of headers 2023-09-19 13:36:39 +00:00
John Alanbrook 24a3ee20c6 Add simple macos window cmds; add moon.gif app icon; add editor mode for low power editing 2023-09-19 06:10:00 +00:00
John Alanbrook 27aaa8e05d Metal rendering works; high dpi rendering works; fix sokol_gfx_ext to work with metal without SDL 2023-09-19 02:55:37 +00:00
John Alanbrook 03c9f0c93d Fix web build; make all file searching fns look through slurp/the CDBs first 2023-09-18 17:35:40 +00:00
John Alanbrook 60d078321c Fix Linux and Windows build issues; texture looks in CDBs first 2023-09-18 15:45:51 +00:00
John Alanbrook c9c05d931d JSO compiler; packer; update CDB to 0.80; assets now packed into binary 2023-09-18 12:36:07 +00:00
John Alanbrook 97483d4ce5 Add touchpad controls to editor; move dup to entity after spawned 2023-09-16 03:40:19 +00:00
John Alanbrook d15c4ec6d1 Fix rendering regressions; update image and screen pixel pulling 2023-09-15 17:31:31 +00:00
John Alanbrook d86133a317 Compiles on MacOS; use sokol shader converter for shader x-compilation; update sokol 2023-09-15 08:37:07 +00:00
John Alanbrook e392f65485 Vastly simplified entity stringifying and diffing 2023-09-14 22:37:04 +00:00
John Alanbrook 772c12af0e Editor rotation, scale, grabbing fixed and simplified 2023-09-14 17:49:29 +00:00
John Alanbrook 513a9ac618 Fix gui texture rendering; add input post callback; editor bugs 2023-09-13 21:49:22 +00:00
John Alanbrook 681fb27ae4 Removed global scope static variables; ad-hoc way so timers can function in app or timescaled mode 2023-09-13 12:31:00 +00:00
John Alanbrook 94c2a3c143 JS globbing; remove glob b/c windows; pregame script hooks 2023-09-13 06:08:32 +00:00
John Alanbrook 009609458b Add compile flags to remove bits of engine; sokol_gfx_ext works on windows; remove glad/gl 2023-09-13 04:32:14 +00:00
John Alanbrook e6ef147c40 Editor camera zoom and pan; fix mouse input signals; tex editor to own file; fix grid drawing 2023-09-12 22:19:46 +00:00
John Alanbrook ef95b233e2 gif creation time limit; stretch or scale option 2023-09-12 17:45:54 +00:00
John Alanbrook 0763783284 Gif making controllable from script 2023-09-12 12:56:40 +00:00
John Alanbrook 1ac0c7693d GPU gif creation 2023-09-12 05:02:57 +00:00
John Alanbrook b9316dbbe6 Editor mouse works; remove level.js 2023-09-11 22:09:21 +00:00
John Alanbrook 6b73624c12 Extremely slow gif rendering 2023-09-11 20:07:36 +00:00
John Alanbrook 35c0337837 proper CPU timing; ur type extensions 2023-09-11 07:46:12 +00:00
John Alanbrook b5b7f3f0e2 Merge levels and entities 2023-09-08 17:35:06 +00:00
John Alanbrook cc879746e3 Add ur prototype idea 2023-09-08 06:26:48 +00:00
John Alanbrook a4111b01a5 Prototype duplication fixes; split out engine.js into multiple components 2023-09-07 21:46:35 +00:00
John Alanbrook acecf2fde9 Fix grid drawing; add energy efficient editing; add input down detection 2023-09-06 22:48:08 +00:00
John Alanbrook e78e673576 Quicjs optimizes similar to engine; objects lerp from their prototype 2023-09-06 17:17:16 +00:00
John Alanbrook 7ddf807efd Command line arguments, err messages, help; remove Proxy functions from JS 2023-09-05 22:09:25 +00:00
John Alanbrook 4d577dadb7 Constrained nuklear.h to nuke.c 2023-09-05 14:38:52 +00:00