Commit Graph

202 Commits

Author SHA1 Message Date
Martin Haye
783c011b53 Implemented the rest of the render API for the tile engine. 2015-04-15 10:22:05 -07:00
Martin Haye
7142365ed7 Okay, I think I finally have teleport code that might work. 2015-04-14 07:45:02 -07:00
Martin Haye
9739fb34e9 Working on 2D teleportation. 2015-04-14 07:19:42 -07:00
Martin Haye
9e94928f0a More refactoring. 2015-04-09 10:31:36 -07:00
Martin Haye
efe2415098 More refactoring. 2015-04-05 09:52:38 -07:00
Martin Haye
4227042b11 More work refactoring API to rendering engines. 2015-03-31 12:02:48 -07:00
Martin Haye
58da79a805 Working on standardized API to 2d and 3d engines. 2015-03-25 11:51:29 -07:00
Martin Haye
a835321b5f Implemented printf for handy debugging, and now generating a map index for the 2D sections. 2015-03-25 07:40:46 -07:00
Martin Haye
56897dd67d Implementing printf-like family of functions. 2015-03-05 09:34:42 -08:00
Martin Haye
315c6b6936 More work on 2D script triggers. 2015-03-03 09:03:22 -08:00
Martin Haye
2b686a8629 More work on script triggers. 2015-02-27 05:33:11 -08:00
Martin Haye
5109fcf41a Now calculating avatar X and Y offsets within current map section. 2015-02-23 08:39:10 -08:00
Martin Haye
abd63d0481 Now loading scripts for 2D maps, and registering the new trigger table. 2015-02-23 08:01:47 -08:00
Martin Haye
3376930f85 Rearranged 2D map section checks to add a 'calculate' mode, which will be used to check flags under the avatar. 2015-02-20 08:17:35 -08:00
Martin Haye
430ee9ce65 Now packing scripts for 2D map sections. 2015-02-19 10:44:17 -08:00
Martin Haye
792b8854ac More 2d work: tileset division, show avatar in center, fix load bug. 2015-02-16 16:18:00 -08:00
Martin Haye
cc23a96a09 Full map scrolling now works. 2015-02-03 09:16:24 -08:00
Martin Haye
ea10bfcdae Jump over debug support code, to avoid accidental problems when adding debugging. 2015-02-03 09:16:12 -08:00
Martin Haye
6ee15e1d9a Needed ability to free same block more than once. 2015-02-03 09:15:38 -08:00
Martin Haye
3549f8635f Fixed exploding bug. 2015-01-27 08:47:07 -08:00
Martin Haye
b9a4caba1f Fixed tile address calculation and tileset numbering. 2015-01-27 08:36:05 -08:00
Martin Haye
dc194d44f7 Simplified section math. 2015-01-18 08:59:56 -08:00
Martin Haye
aa1c662d04 Simplified section math. 2015-01-18 08:49:45 -08:00
Martin Haye
4dec52a4d2 Got some tiles to display\! 2015-01-17 16:38:52 -08:00
Martin Haye
09583ce1ce Now loading the initial 4 map sections in the tile engine. 2015-01-10 13:17:56 -08:00
Martin Haye
4e4892381f Now splitting maps up into sections. Refactored game loop to make room for 2D variant. 2015-01-07 14:48:04 -08:00
Brendan Robert
bcd2e6c83e Started adding tile engine support to the build/pack -- still have to pack maps and tilesets and create a test stub for the tile engine 2014-09-05 09:44:14 -05:00
Martin Haye
e82f75009d Updated comment style for new PLASMA. 2014-08-21 08:17:50 -07:00
Brendan Robert
a6ebac6b5e Added logic to set tileset memory location prior to drawing 2014-08-13 01:01:15 -05:00
Brendan Robert
5c9c04f794 Added logic to load tilesets when moving across map 2014-08-13 00:59:05 -05:00
Brendan Robert
de57fc238d Got the compile kinks out of the tile code but it is still untested 2014-08-12 23:10:35 -05:00
Brendan Robert
bc47e0bc04 Finished outer drawing loop, now to get the code working... :-) 2014-08-11 22:47:42 -05:00
Martin Haye
f1f00fff4b Merge branch 'master' of https://github.com/badvision/lawless-legends 2014-08-10 17:23:50 -07:00
Brendan Robert
8f49e482c5 Closer to having a workable first draft of tile rendering but not done yet 2014-08-08 01:24:55 -05:00
Brendan Robert
9dbe9a9656 Inching my way towards a full drawing routine 2014-08-07 11:00:35 -05:00
Martin Haye
c7c969d2d0 Fixed bug where println wasn't recognized. 2014-07-25 18:33:44 -05:00
Martin Haye
d66d6acf97 Fixed horrible bug in the memory manager. 2014-07-25 17:05:34 -05:00
Martin Haye
d6d6dbf718 Was fooling around with scrolling. 2014-07-25 13:23:27 -05:00
Martin Haye
f7655e6c79 Fixed scrolling. 2014-07-23 15:39:43 -05:00
Martin Haye
760cccbb80 Fixed mem coalesce bug, and made return to wilderness resume the old position. 2014-07-23 14:50:16 -05:00
Martin Haye
e849051afd Implemented loading screen, fixed a bunch of bugs. 2014-07-21 18:28:39 -07:00
Martin Haye
45c0ccf6c3 Splitting strings into words. 2014-07-20 15:52:51 -07:00
Martin Haye
02116fad3c Merge branch 'master' of https://github.com/badvision/lawless-legends 2014-07-20 14:44:02 -07:00
Martin Haye
a2830e9828 More work on init scripts, and proper redrawing after teleport. 2014-07-20 14:43:48 -07:00
Brendan Robert
542d0b2589 Clarifications in the comments 2014-07-20 11:23:32 -05:00
Martin Haye
c4e5e84461 Scripted transitions between maps work now. 2014-07-20 07:01:21 -07:00
Martin Haye
1e04d813a8 Merge branch 'master' of https://github.com/badvision/lawless-legends 2014-07-20 06:02:15 -07:00
Martin Haye
97b942036f Added blocks for setting sky and ground colors, and teleporting the player. Added support for init scripts using Blockly. 2014-07-20 06:02:10 -07:00
Brendan Robert
1a2f49a117 Indicate which section is drawn with draw_section pointer now 2014-07-20 01:56:59 -05:00
Brendan Robert
04fff67eea Updated thoughts on what the upper 3 bits should be for (visible obstructions indicated in high-bit)
Updated main geometry calculation macro for the drawing routine (should be mostly ok now)
Allocated variables for main loop drawing routine
Conjured up use of memory holes for tracking drawing (clever?) with address calculation notes
2014-07-20 01:52:57 -05:00