Erik_
I finally released the code to this unfinished QB engine.
Sat Jul 31, 2021 2:13am
68.129.13.241

I've been meaning to update the website with the code for this since I switched over to working on COBOL Roguelike instead of continuing on with this original Qbasic version.

Link to download if interested: http://nukementerprises.puckdroppersplace.us/files/qbasic/index.html#ne_scroll_demo

It comes with the test level seen in the video and screenshot of the post I'm replying to. I'm guessing there's maybe a bit more work done on the editor since that post but nothing major. According to the change.log, I only really worked on this thing for like two weeks total.

  • Scrolling ASCII tile based QB game in the "works". - Erik_, Tue Mar 02 2021 4:39am
    I started messing with a Qbasic tile based scrolling game using DOS ASCII graphics. I've been sort of on a retro QB binge lately and ran across "QBasic - The RPG" which sort of reminded me of something that would have popped up here back in the day but much more polished. Anyway, I really dug the ... more
    • I finally released the code to this unfinished QB engine.- Erik_, Sat Jul 31 2021 2:13am
    • I always liked this style of game... - Retna, Sun Mar 07 2021 8:24pm
      I think at some point I had a demo that did something similar, but mine wasn't a seemless scroll. So for instance, imagine you were in "the forest" area and that area was 100x100 tiles (like a 100x100 block of numbers) And the viewport could only show a 10x10 area. So you could explore the forest... more
      • Kind of got something working... - Retna, Sun Mar 07 2021 10:12pm
        Still need to figure out how to move the viewport based on the characters position. And also how to stitch the two areas together. Should be able to copy and paste this into your browser console on newer browsers. document.write(` <html> <head> <style> body { overflow:hid... more
        • Started working on the same game using COBOL... - Erik_, Sun Mar 14 2021 3:32am
          Being that COBOL is more my programming language of interest outside of work lately, I decided I'd try to make the QB game in GnuCOBOL instead. So far, I don't have the area scrolling like I do in the QB version. It's just a full map view for now. (I'll be working on that next). This is defini... more
          • Got the scrolling working now. - Erik_, Wed Mar 17 2021 5:28pm
            Looping gif example:
            • Sweet! - Retna, Wed Mar 17 2021 9:43pm
              Do you scroll the viewport and the player position at the same time when they press the direction? I might try doing that too...
              • This is the second time of me writing this after clearing... I guess that's definitely a sign it needs to be rewritten. :) * Player position holds x/y coordinates on the tile map. * Screen is drawn based on player xy as the starting point and drawn until it reaches the defined screen width and ... more
                • I removed the "if player's position in the x/y is less than so and so" and just made the player's screen position constant. I was having a weird issue where as you approached 1,1 on the map, you would move 2 tiles instead of one. The new way fixes this. To get the player's map position, I just ne... more
        • Nice! That worked in Firefox. - Erik_, Mon Mar 08 2021 6:29pm
          That's really cool! I never would have thought to make a ASCII style game like this in Javascript. I would totally play a full fledged game that was done like that. Your screen drawing is similar to how I'm doing it. My 2d array just is a TILE type instead of straight integers so it can ho... more
          • Having a tile type could be a good way to define define more things the player can interact with. Like a chest or a door that can be open or closed.
            • and then having some TileHandler or something that defines the action based performed based on the tile type. I guess you would also need some sort of id or something to specify that it was, for example, a specific treasure chest on this specific map? Currently, the only different tile type I hav... more
Click here to receive daily updates
"Forces act when not restrained" - Puckdropper