Opry99er Posted June 23, 2013 Share Posted June 23, 2013 You can track via screen location or by engine data, the latter of which is preferable for expediency of execution. Set your data up in quadrants and do one or two checks per loop for the PC. A series of IF THEN statements to determine NPC movement can be called once certain criteria are met. If you're using SPRITEs, CALL LOCATE is your best friend. As far as "footprints" go, that's a fairly easy one. Check out Dark Maze by Adamantyr for some cool "following" code. Quote Link to comment Share on other sites More sharing options...
RXB Posted June 23, 2013 Author Share Posted June 23, 2013 Not using Sprites as most of the work is not going on the screen but in the SAMS memory by CALL PEEKs and CALL LOADs as the Enemy that stalks me is not displayed. Doing it that way, then moving the entire screen into RAM or from RAM to Screen works much faster then CALL GCHAR or CALL HCHAR. As many things have changed instantly all at once per the view of the player. (Also I can then upgrade this to do it with Assembly instead of GPL for the slower parts) And then you can see the trail disappear but it runs quick that way. I was just wondering how to track back from a dead end to the last branch it went wrong. It goes back but misses the turns. I found a listing on how to do it but it is all written in C so making it work in XB is not really helpful. Quote Link to comment Share on other sites More sharing options...
RXB Posted June 25, 2013 Author Share Posted June 25, 2013 So I have a tracker that works now: http://www.youtube.com/watch?v=cQI7hq3sYpk&feature=youtu.be Quote Link to comment Share on other sites More sharing options...
OX. Posted June 25, 2013 Share Posted June 25, 2013 So I have a tracker that works now: http://www.youtube.com/watch?v=cQI7hq3sYpk&feature=youtu.be Can't see the video Rich, it comes up as private. Quote Link to comment Share on other sites More sharing options...
RobertLM78 Posted June 25, 2013 Share Posted June 25, 2013 Can't see the video Rich, it comes up as private. Same here Quote Link to comment Share on other sites More sharing options...
RXB Posted June 26, 2013 Author Share Posted June 26, 2013 Yea for some reason freaking Youtube does not have it in my channel or profile? I have no idea where it is so uploading another to my channel. Here is the results of Chase In the Dark: http://www.youtube.com/watch?v=cQI7hq3sYpk&feature=c4-overview&list=UUULwPKqrRFCtNv5_xMuOqQw Quote Link to comment Share on other sites More sharing options...
RXB Posted July 21, 2013 Author Share Posted July 21, 2013 In the Dark game is done with Assembly support included. http://www.youtube.com/watch?v=uguDCY1_-SQ The source video is here: INTHEDARK.zip 1 Quote Link to comment Share on other sites More sharing options...
OX. Posted July 21, 2013 Share Posted July 21, 2013 Thanks Rich Quote Link to comment Share on other sites More sharing options...
Retrospect Posted August 6, 2013 Share Posted August 6, 2013 (edited) Think it's my setup tbh, I'm tryin to get this thing running in FIAD mode in Gamebase and it's just not having it. Ox, Classic99 is set up to recognize, by default, 3 disk folders , DSK1, DSK2 and DSK3 ... this game comes zipped in a folder called DSK5. So, inzip the game (folder and all) to Classic99 main folder, go into Classic, see that DISKS tab, click that and SET DISK for number 5, set it to FIAD because it will say NONE , as it is not regularly used. Then you have to point it at something (to set it) so click on the file IN THE DARK. Then, using RXB obviously , type in the load command RUN "DSK5.INTHEDARK" Ahh just read your trying to get it running in Gamebase .... shit sorry mate, I'm tired I skip-read that bit ... hope you got it sorted ,.... Edited August 6, 2013 by Retrospect Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted August 7, 2013 Share Posted August 7, 2013 (edited) For anyone who wants to play Rich's game on a real TI..... This here 1 meg SAMS CARD: http://rover.ebay.co...m20d605f9b9 is up for sale on Ebay! Who knows how expensive it will get? Edited August 7, 2013 by Kevan Quote Link to comment Share on other sites More sharing options...
RobertLM78 Posted August 18, 2013 Share Posted August 18, 2013 For anyone who wants to play Rich's game on a real TI..... This here 1 meg SAMS CARD: http://rover.ebay.co...m20d605f9b9 is up for sale on Ebay! Who knows how expensive it will get? I wonder if we could get enough people together to do a run of SAMS cards . (It would be awesome to have more memory, even if it's paged ). Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted August 18, 2013 Share Posted August 18, 2013 I wonder if we could get enough people together to do a run of SAMS cards . (It would be awesome to have more memory, even if it's paged ). I suppose, anything is possible. You might want to start a thread and see where it goes. Since my TI is hooked to a Nano-PEB, it's not really an option for me. If I want to do anything that requires a SAMS card, I'll boot up Classic99 as it's built-in and only needs to switched on! (Praise be to Tursi, the CREATOR of Classic99) Options>Options> "SAMS Support" and click on your option (I picked 1024k) 1 Quote Link to comment Share on other sites More sharing options...
RXB Posted August 18, 2013 Author Share Posted August 18, 2013 I got a free AMS card from Asgard to write routines into RXB. Originally received a 128K AMS. Within a few weeks I replaced the chips in it to make it a 512K AMS. Then when they came out with the 1Meg SAMS I bought one and sold the 512K AMS to a buddy. I thought I might write a RXB program that uses Classic99 .DSK pathfile and the SAMS to load almost ANYTHING, Basic, XB, or EA as RXB will run any of them. Only exceptions are Supercart and Basic with EA support, but I did come out with the Basic EA support built into TI Basic GROMs for people to use in Classic99 or anything else. Maybe I should upgrade IN THE DARK to Bitmapped Graphics. 1 Quote Link to comment Share on other sites More sharing options...
RXB Posted August 19, 2013 Author Share Posted August 19, 2013 Well after all day attempting to use Bit Mapped Mode in RXB I have found it is possible but more effort then it is worth without fully using Assembly instead. XB is slooow at making the graphics look good so with Bit Mapped Mode Assembly is the only real way to go. 1 Quote Link to comment Share on other sites More sharing options...
slinkeey Posted October 16, 2013 Share Posted October 16, 2013 I dug this up for Kevan! Quote Link to comment Share on other sites More sharing options...
RobertLM78 Posted June 18, 2014 Share Posted June 18, 2014 <Bump> Can't wait to check this one out now . Quote Link to comment Share on other sites More sharing options...
twoodland Posted March 14, 2019 Share Posted March 14, 2019 Rich, is it normal to see on the intro screen "IN T" instead of "IN THE DARK"? I have tried unzipping the zip file from post #32 and ran it on classic 99 and real iron and get the same result. I also tried downloading the game from TI Game Shelf and extracted the DSK5.ZIP, however, the INTHEDARK file shows as a DOS file not a ti program. What am I doing wrong? I love this game and would like to know that I have a good copy. Thank you in advance. Quote Link to comment Share on other sites More sharing options...
RXB Posted March 14, 2019 Author Share Posted March 14, 2019 No it is my fault, on a real TI you see IN THE DARK and it does do this as the files load overwriting character definitions. On Classic99 it is very very brief so this is just my fault, if I had put loading character definition last instead of first this would not be a issue. But I made last minute changes and should have watched for results. Quote Link to comment Share on other sites More sharing options...
RXB Posted March 14, 2019 Author Share Posted March 14, 2019 After release of next RXB version I am making a IN THE DARK 2 or something similar. Want to used SAMS 960K of memory in next one and with new SAMS routines can switch out any memory 4K boundy. 6 Quote Link to comment Share on other sites More sharing options...
twoodland Posted March 14, 2019 Share Posted March 14, 2019 I am glad to know that I do not have a corrupted copy or something. I really appreciate that you created the game and shared it with us! After getting the SAMS board, I was looking for something to run that would take advantage of it and am so glad that you had this available. I look forward to your next version not to mention the next version of RXB! I am trying to learn how to use it and it is like drinking from a fire hose! I also appreciate the videos and comments in the forum that explain how RXB can be applied in certain situations. Thanks again for all of your hard work! 3 Quote Link to comment Share on other sites More sharing options...
sometimes99er Posted March 15, 2019 Share Posted March 15, 2019 5 Quote Link to comment Share on other sites More sharing options...
+mizapf Posted March 15, 2019 Share Posted March 15, 2019 Sorry, but how is this supposed to work? 1190 FOR Z=1 TO 12 :: READ K :: CALL SPRITE(#Z,K,15,29,Z*21) :: NEXT Z :: CALL MAGNIFY(2) We surely did not forget about the 4 sprite-per-line limitation? Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted March 15, 2019 Share Posted March 15, 2019 We surely did not forget about the 4 sprite-per-line limitation? That's exactly what it is. Rich corrected his program like so: It's on the tigameshelf.net 4 Quote Link to comment Share on other sites More sharing options...
RXB Posted March 15, 2019 Author Share Posted March 15, 2019 Sorry, but how is this supposed to work? 1190 FOR Z=1 TO 12 :: READ K :: CALL SPRITE(#Z,K,15,29,Z*21) :: NEXT Z :: CALL MAGNIFY(2) We surely did not forget about the 4 sprite-per-line limitation? I corrected this in later release, rushed project. 1 Quote Link to comment Share on other sites More sharing options...
+mizapf Posted March 15, 2019 Share Posted March 15, 2019 I remember I did a similar thing long ago, when I just learnt Extended Basic, trying to create a Parsec landscape. Boy, was that a disappointing experience. 1 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.