TEXAS_JOE Posted February 12, 2012 Share Posted February 12, 2012 (edited) Using keys S and D to navigate left and right, select any brick type by pressing the corresponding key shown on screen. to drop the brick press the Space bar. If you go wrong, simply press U to undo. Pressing C key will clear the screen. More brick types have been added, there's even a chimney pot thrown in, and there's a couple of different blue door tiles too. ti 99 lego.bmpLEGO2.zip Edited February 13, 2012 by TEXAS_JOE 3 Quote Link to comment Share on other sites More sharing options...
sometimes99er Posted February 12, 2012 Share Posted February 12, 2012 Very nice. Quote Link to comment Share on other sites More sharing options...
TEXAS_JOE Posted February 12, 2012 Author Share Posted February 12, 2012 Thankyou, Sometimes . I'm really enjoying coding on the TI again, and I'm experimenting with Willhelm's Compiler, which is what I used to speed up this program. 1 Quote Link to comment Share on other sites More sharing options...
sometimes99er Posted February 12, 2012 Share Posted February 12, 2012 That's actually quite a nice picture with houses you made there. If you can forget about the lack of sprites, then Wilhelm's Compiler is actually quite slick. Also it wouldn't be totally impossible to extend the package (the source is there) to take more commands, and maybe even make a cross compiler and linker (like taking a file from a Classic99 directory and putting a new file there in a split second). 1 Quote Link to comment Share on other sites More sharing options...
Willsy Posted February 13, 2012 Share Posted February 13, 2012 Where's the source? Perhaps I can add sprites to it? Heck, all it needs is VPOKE & VPEEK. I presume the vdp tables are in their default BASIC locations? 1 Quote Link to comment Share on other sites More sharing options...
TEXAS_JOE Posted February 13, 2012 Author Share Posted February 13, 2012 (edited) Where's the source? Perhaps I can add sprites to it? Heck, all it needs is VPOKE & VPEEK. I presume the vdp tables are in their default BASIC locations? Forgive me, I assumed you meant my source. Ah well ... hehe Edited February 14, 2012 by TEXAS_JOE Quote Link to comment Share on other sites More sharing options...
TEXAS_JOE Posted February 13, 2012 Author Share Posted February 13, 2012 (edited) Edited February 14, 2012 by TEXAS_JOE Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted February 13, 2012 Share Posted February 13, 2012 Using keys S and D to navigate left and right, select any brick type by pressing the corresponding key shown on screen. to drop the brick press the Space bar. If you go wrong, simply press U to undo. Pressing C key will clear the screen. This is perhaps as far as I can go with this project, maybe others can add to it, improve it, hack it to death but mainly just have fun with it! ti 99 lego.bmpLEGO2.zip Very nice idea One suggestion though: it would be easier if one could move the bricks in all directions instead of just right and left. This will facilitate the placement of the bricks. I don't think you really need sprites with this program especially since you are compiling it and therefore have a lot of speed available. One way to handle the situation where one brick overlaps another is to save the underlying brick in a temporary variable and then restore it when the overlapping brick moves away. If you want to get fancy, you can even have a small window in a corner that will show the content of the area under the overlapping brick for reference. With this set up, then one will have the option of replacing one brick with another, making for easy editing. You really can get very creative with this program! Just like Legos 1 Quote Link to comment Share on other sites More sharing options...
sometimes99er Posted February 13, 2012 Share Posted February 13, 2012 (edited) Where's the source? Perhaps I can add sprites to it? Heck, all it needs is VPOKE & VPEEK. I presume the vdp tables are in their default BASIC locations? Guess you were asking about the source for Wilhelm's Compiler. It's in the compiler section in the pinned Development Resources thread. It's all XB, except only a subset, similar to TI-Basic, multi statements on a line though, integers only, and then something like INT(RND*6) will workaround and give you random numbers between 0 and 5 (or was it thereabout). Use the INT to have the original and the compiled version behave much the same. The idea of just adding VPOKE and VPEEK is actually not bad, only XB does not have these. TI Basic with Mini Memory has the commands but a different VDP layout. Resulting program is XB program with compiled code in memory above XB program (I have to assume TI allowed this wonderful trick on purpose). Edited February 14, 2012 by sometimes99er Quote Link to comment Share on other sites More sharing options...
Scott_B Posted July 21, 2014 Share Posted July 21, 2014 (edited) I made a Classic99 "Macro" for it. 2 OLD DSK1.LEGO2.BIN RUN 7 D 2 7 D DJ 7 D D 2 7 D SSSSSS1 D D D D D D SSSSSS8 D3 D D D D D9 SSSSS8 D3 D D D9 SSS8 D3 D9 S0 SSSSV Copy the text, make sure you loaded "LEGO2.BIN" into "DSK1", and do Edit>Copy (don't use DX) Make sure you do this at startup, because that's why " 2" is there and "2" is for loading Extended Basic (must load Extended Basic cartridge too) then "OLD DSK1.LEGO2.BIN" loads it, "RUN" runs it. The rest is for controlling the program. I hope I explained it good enough for most people to understand it Edit: Here is another (It has a border this time, and the other instructions above this text apply.) 2 OLD DSK1.LEGO2.BIN RUN 7 D 2 7 D DJ 7 D D 2 7 D SSSSSS1 D D D D D D SSSSSS8 D3 D D D D D9 SSSSS8 D3 D D D9 SSS8 D3 D9 S0 SSSSZ D D D D D D D D VSSSSSSSSS Edited July 22, 2014 by Scott_B 3 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted July 21, 2014 Share Posted July 21, 2014 (edited) Cute I never thought of controlling the program that way. Makes for an interesting demo. This is one of my favorite programs from Retrospect. Edited July 21, 2014 by Vorticon 1 Quote Link to comment Share on other sites More sharing options...
Scott_B Posted July 21, 2014 Share Posted July 21, 2014 Cute That part, just... . Quote Link to comment Share on other sites More sharing options...
Scott_B Posted July 21, 2014 Share Posted July 21, 2014 Also how about save data? I think it would be like Data > Letters/Numbers and you had to write it down, and to put it back in, type what is in the paper Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.