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
David Schmenk
7d6860b1d5
Bring PLASMA up-to-date
2015-01-02 17:29:02 -08:00
Martin Haye
bc73588a20
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-12-21 08:17:26 -08:00
Martin Haye
14193fb73d
Working on splitting 2D maps into sections.
2014-12-21 08:17:21 -08:00
David Schmenk
dee30787b4
Add structures to PLASMA
2014-12-07 20:59:24 -08:00
David Schmenk
700b85280d
Don't output module dependencies if not a module
2014-11-18 12:55:38 -08:00
David Schmenk
f2debb1b4d
Add syntax sugar for array define and improve enter/leave sequence
2014-11-17 17:57:07 -08:00
Martin Haye
c43f381296
Much better error and warning pinpointing during pack process.
2014-09-11 08:54:37 -07:00
Martin Haye
a480dc8c96
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-09-11 06:48:04 -07:00
Martin Haye
c1f0cdab58
Added partial code to pack 126x128 images.
2014-09-11 06:48:01 -07: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
David Schmenk
d62f499c31
Update comment and multiple statements
...
Update comment symbol to "//" and allow multiple statements per line with ";"
2014-08-14 20:01:52 -07:00
David Schmenk
fb3f6722cf
Convert comment symbol to '//' and allow multiple statements per line
...
with ';'
2014-08-14 19:28:31 -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
Martin Haye
ebe228d15f
Now processing IF statements with GETYN triggers, and SETMAP events.
2014-07-19 15:55:27 -07:00
Martin Haye
69026ed705
Now scripts have a flag of their own on the map, for speedy detection.
2014-07-19 14:22:31 -07:00
Martin Haye
f4342b12c1
Now scripts have a flag of their own on the map, for speedy detection.
2014-07-19 14:17:40 -07:00
Martin Haye
d6815eab05
Fixes for lots of scripts, and for empty script blocks.
2014-07-19 13:54:41 -07:00
Martin Haye
6084d6764e
Added loading code, and fixed a typo in CROSS_SOUTH.
2014-07-17 09:34:34 -07:00
Brendan Robert
7901dba5f3
Removed extra lazy fetch stuff because it would complicate things down the line a lot (it can be added back to reduce/defer loads later if desired.) Started on the drawing routine, just trying to sort out all the geometry to feed in to the main loop.
2014-07-17 00:34:05 -05:00
Brendan Robert
50b64ab2a5
Removed extra, unnecessary label
2014-07-15 23:21:50 -05:00
Brendan Robert
2fe992370d
Changed move_zp_word to move_word and got rid of indirect/jsr stuff (it saved a byte per call but was much slower, not worth it.)
2014-07-15 23:17:23 -05:00
Brendan Robert
68d9767947
Started on 2D tile routines, starting with the loading and boundary crossing logic
2014-07-15 23:11:28 -05:00
Martin Haye
278d769ade
Now packing tilesets, but not yet segmenting 2D maps.
2014-07-15 13:09:36 -07:00
Martin Haye
3bbcc7ed92
Rearranged things a bit in preparation for segmented 2D map packing.
2014-07-15 09:52:58 -07:00
Martin Haye
df246c40c6
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-07-08 19:11:11 -07:00
Martin Haye
e56ad5e7da
Really running scripts on the map now.
2014-07-08 19:11:03 -07:00
David Schmenk
695fef7a15
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-07-08 17:55:56 -07:00
David Schmenk
63da278ce3
Turn off DblHRes
2014-07-08 17:55:22 -07:00
Martin Haye
d06884c0e9
Kinda loading scripts module, but it appears to be trashing memory.
2014-07-08 16:02:10 -07:00
Martin Haye
8a8204ec77
Now packing very simple game scripts.
2014-07-08 15:43:12 -07:00
Martin Haye
a330b395fe
Working on text functions and scripting in Outlaw.
2014-07-08 09:39:31 -07:00
Martin Haye
7961be3272
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-07-08 09:34:07 -07:00
Martin Haye
15c118fe62
Hi-bit/lo-bit fix.
2014-07-08 09:34:02 -07:00
David Schmenk
3ebf9f11dd
Use new when/is/otherwise with break
2014-07-07 22:18:42 -07:00
Martin Haye
3af48520a1
Implemented blocker sprites the right way.
2014-07-06 18:22:31 -07:00
Martin Haye
02cccb1270
Working on blocker sprites.
2014-07-06 17:25:48 -07:00
Martin Haye
af0c26944f
Can now cycle through sky and ground colors.
2014-07-06 17:04:26 -07:00
Martin Haye
655fe7946f
Lots of fixes.
2014-07-06 16:45:27 -07:00
Martin Haye
89d8721afd
Added strafing.
2014-07-06 16:13:44 -07:00
Martin Haye
6ca538f33f
Can now navigate using the plasma main loop.
2014-07-06 16:09:10 -07:00
Martin Haye
ca45c71605
Can now navigate using the plasma main loop.
2014-07-06 16:02:52 -07:00
Martin Haye
a399d81478
Converting main loop to PLASMA.
2014-07-06 14:40:35 -07:00
Martin Haye
0950b9357e
Moved PLASMA compiler to be alongside other Apple platform tools.
2014-07-06 10:21:03 -07:00
Martin Haye
b28b7200fb
More work on game loop.
2014-07-06 07:40:57 -07:00
Martin Haye
f43c51dd74
Really loading and running PLASMA code now.
2014-07-03 16:56:26 -07:00
Martin Haye
0f3c02f662
Fixed coalescing.
2014-07-03 15:17:50 -07:00
Martin Haye
269770da90
Debugging PLASMA loader.
2014-07-03 10:51:24 -07:00
Martin Haye
64c3c8298f
More work on PLASMA loading.
2014-07-03 08:53:50 -07:00
Martin Haye
1dc4756d0c
Added more looading for PLASMA modules.
2014-07-02 15:50:04 -07:00
Martin Haye
d4b90e32f8
Working on module loading in mem manager.
2014-06-29 14:32:51 -07:00
Martin Haye
68c70a3ec6
Working on parsing and compressing PLASMA modules.
2014-06-29 11:40:51 -07:00
Martin Haye
786853a4a7
Now runs PLASMA code\!
2014-06-25 08:47:28 -07:00
Martin Haye
10f9d8640b
Getting Plasma running in the game.
2014-06-25 06:37:10 -07:00
Martin Haye
7c00d7272a
More bit hacking, added collision detection, playing with blocker sprites.
2014-06-16 09:03:24 -07:00
Martin Haye
d9a203c522
Sprite fixes, and workaround for Outlaw NPE.
2014-06-13 13:10:38 -07:00
Martin Haye
a6db0f3d41
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-06-10 08:25:24 -07:00
Brendan Robert
04b9a40a7b
Offically requiring Java 8 now. (sorry!)
2014-06-07 13:27:00 -05:00
Martin Haye
fa1bb0bd3c
Hacked high-bits on tree sprite graphic.
2014-06-02 10:28:50 -07:00
Martin Haye
c9d84d11b5
Fixed raycaster going past the edge of the map.
2014-06-01 07:22:07 -07:00
Martin Haye
5bd7a7c1ed
Fixed another sprite bug.
2014-06-01 07:10:12 -07:00
Martin Haye
c5182fb624
Fixed one sprite bug.
2014-06-01 07:04:37 -07:00
Martin Haye
bbac1ea183
Fix edge detection in II raycaster.
2014-05-30 09:10:20 -07:00
Martin Haye
c8d8c22478
Use real map data in Javascript raycaster, so I can more closely simulate the Apple II and thus debug problems more easily.
2014-05-30 08:33:11 -07:00
Martin Haye
25335cca9a
Sprite debugging.
2014-05-29 07:20:34 -07:00
Martin Haye
2395e8e610
Wow, first sprite is like totally working.
2014-05-22 09:16:18 -07:00
Martin Haye
9902773b35
First sprite that actually appears where it's supposed to be. Sometimes at lest.
2014-05-22 08:15:20 -07:00
Martin Haye
3c1aa135f2
Math for first sprite finally generating all the right numbers.
2014-05-22 07:50:26 -07:00
Martin Haye
933fd769e7
Actually started debugging the sprite math.
2014-05-15 10:25:39 -07:00
Martin Haye
8c8ac40e32
Sprite math essentially complete, and actually assembles now.
2014-05-15 09:06:13 -07:00
Martin Haye
03a07270d9
Needed to calculate clipping and texture bump, for Apple II version. The javascript version didn't need these coordinates, because it renders differently, but it's still productive to do the math first in Javascript.
2014-05-08 18:51:10 -07:00
Martin Haye
0f3e840ec3
Fix tabs.
2014-05-08 11:43:46 -07:00
Martin Haye
9f7d551fd0
More work on sprite math in 6502.
2014-05-08 10:41:15 -07:00
Martin Haye
53318fc2cd
Math fixes, and started on 6502 sprite math code.
2014-05-06 07:08:02 -07:00
Martin Haye
b060d37bb1
Hacked together first sprite compositing.
2014-05-01 10:15:02 -07:00
Martin Haye
7bf43d38a1
Making progress on compositing multiple shapes in the same column.
2014-04-23 09:37:39 -07:00