Atarius Maximus #1 Posted June 12, 2014 I put this together in the last few days. It is based on and builds on RevEng's adventurer sample. You can walk around 255 different screens on the map, and there are currently only 15 unique screen definitions. There is nothing to do in this demo but walk around. There is also no collision detection so you can walk through walls. If you stay with the openings the screens do connect properly. I don't know how to do collision detection with the background and haven't tried yet. I'm also sure there is a way to use the screenmap command in the main loop to change background colors during the game, right now I can only have three colors for the background. Since I haven't figured out how to change it during the game, I'm including two samples. The "green" sample shows what the first screen would look like with that color, it makes the rock sprites look like trees. The code "adventurer4.bas" is the brown version. You may be able to guess what game I based the sprites & background on. adventurer_brown.a78 adventurer_green.a78 adventurer4.bas 27 Quote Share this post Link to post Share on other sites
PacManPlus #2 Posted June 12, 2014 (edited) If I could like this 15 times I would. There's 'Adventure III' being built right there. Edited June 12, 2014 by PacManPlus 6 Quote Share this post Link to post Share on other sites
+Trebor #3 Posted June 12, 2014 Equipped with the Valkyrie Thyra's weaponry skills, the Wizard Merlin's magic, and the might of Thor the Warrior, the quick moving Elf is on his own epic adventure in.... Adventure III: Questor's Quest Quote Share this post Link to post Share on other sites
RevEng #4 Posted June 12, 2014 (edited) If I could like this 15 times I would. There's 'Adventure III' being built right there. Totally agreed. I like where this demo is going. Edited June 12, 2014 by RevEng 1 Quote Share this post Link to post Share on other sites
+Gemintronic #5 Posted June 12, 2014 There is also no collision detection so you can walk through walls. If you stay with the openings the screens do connect properly. I don't know how to do collision detection with the background and haven't tried yet. I wonder if there's a way to use the individual screen layout data as an array. Sort of re-purpose it as a collision map. 0 values being OK to walk on. Quote Share this post Link to post Share on other sites
Atarius Maximus #6 Posted June 12, 2014 Thanks to all for the likes and the kind words. I talked to RevEng via PM, he's going to give me some assistance with collision detection. And yeah, loon, I think that's going to be how it's done. Character locations will need to be mapped into a variable array for each room. 4 Quote Share this post Link to post Share on other sites
DracIsBack #8 Posted June 13, 2014 If I could like this 15 times I would. There's 'Adventure III' being built right there. I'd like it 25 times if I could get a .bin file to play it on a real Atari 7800. 1 Quote Share this post Link to post Share on other sites
MAC-42 #9 Posted June 13, 2014 Holy crap! This is absolutely incredible! Absolutely splendid work, and to think it's just the beginning (I hope)! 1 Quote Share this post Link to post Share on other sites
Atarius Maximus #10 Posted June 13, 2014 I'd like it 25 times if I could get a .bin file to play it on a real Atari 7800. Thanks. I can post a bin tomorrow and with each new update moving forward. It's saved on my computer at work and I'm home for the evening. 1 Quote Share this post Link to post Share on other sites
Atarius Maximus #11 Posted June 13, 2014 Holy crap! This is absolutely incredible! Absolutely splendid work, and to think it's just the beginning (I hope)! Thanks. I'm not done yet. 6 Quote Share this post Link to post Share on other sites
Andromeda Stardust #12 Posted June 13, 2014 Ledgend of Zzzzzzz... I like what I am seeing here. As for the background graphics, I like both the green and brown. Try to use them in different areas of the map. It will give the player the impression that there is different terrains to explore in different areas. Quote Share this post Link to post Share on other sites
Atarius Maximus #13 Posted June 13, 2014 This updated version has working collision detection, an updated map, and new water screens added. The map was updated to an 8x16 grid for 128 screens. You start in the top left corner. There's still nothing to do in this demo but walk around the map. Many thanks to RevEng for helping with collision detection. adventurer8.bas adventurer8.bas.a78 adventurer8.bas.bin gfx_v8.zip 6 Quote Share this post Link to post Share on other sites
RevEng #14 Posted June 13, 2014 I wonder if there's a way to use the individual screen layout data as an array. Sort of re-purpose it as a collision map. 0 values being OK to walk on. Yep, that's pretty much what the existing code does. Before moving the hero, two points in front of him are converted to character coordinates, and we look up the character at either point and see if it represents an obstacle. We even added some logic to smoothly move the player past corners and jutting pieces. If one of the points we check is clear, and the other is an obstacle, we slide the player sideways toward the cleared point. This allows him to move around some tight spaces without forcing the player to carefully align him first. Quote Share this post Link to post Share on other sites
DracIsBack #15 Posted June 14, 2014 I am drooling. Just drooling Quote Share this post Link to post Share on other sites
Jinks #16 Posted June 14, 2014 (edited) Yep, that's pretty much what the existing code does. Before moving the hero, two points in front of him are converted to character coordinates, and we look up the character at either point and see if it represents an obstacle. We even added some logic to smoothly move the player past corners and jutting pieces. If one of the points we check is clear, and the other is an obstacle, we slide the player sideways toward the cleared point. This allows him to move around some tight spaces without forcing the player to carefully align him first. Thats a grest feature. How many times was my last piece of heart is lost and I wound up dead due to an escape being hung up on a object. It looks better than zelda already! Edited June 14, 2014 by Jinks Quote Share this post Link to post Share on other sites
PacManPlus #17 Posted June 14, 2014 (edited) I AM LOVING THIS! Bentley who? Edited June 14, 2014 by PacManPlus Quote Share this post Link to post Share on other sites
Jinks #18 Posted June 14, 2014 I AM LOVING THIS! Bentley who? We will never forget all your contributions to 7800 gaming. It is amazing to see these new developments in basic. Would you guys say a game can be made easier and faster than in assembly? But yes it is amazing. Atari 7800.. doing what nintendon't. Quote Share this post Link to post Share on other sites
+Trebor #19 Posted June 14, 2014 Atarius Maximus, highly impressive. This is not to take a thing a thing away from you, though I have to thank and express my appreciation to RevEng, as well as all other contributors that has led to the tools and documentation to make development on the 7800 so much more approachable. Blown away by the community here at AtariAge once again, and back to Maximus...Absolutely brilliant. It looks great already. Thank you for sharing it. 1 Quote Share this post Link to post Share on other sites
+Mitch #20 Posted June 14, 2014 I AM LOVING THIS! Bentley who? Maybe an old looking Bently will hand you your weapon at the start. Mitch Quote Share this post Link to post Share on other sites
Jinks #21 Posted June 14, 2014 Maybe an old looking Bently will hand you your weapon at the start. Mitch He will be in the weapons shop maybe? 1 Quote Share this post Link to post Share on other sites
+TrekMD #22 Posted June 14, 2014 This looks fantastic! Quote Share this post Link to post Share on other sites
DracIsBack #23 Posted June 14, 2014 I'm going to have to see if I can learn even a few limited things with 7800 basic. This thread is so inspiring. 3 Quote Share this post Link to post Share on other sites
+Gemintronic #24 Posted June 14, 2014 The added collision is very exciting me to me as this has been my greatest nemesis since I started programming. One thing I noticed is that on some corners you can be forced into the next screen like so: Quote Share this post Link to post Share on other sites
Atarius Maximus #25 Posted June 14, 2014 The added collision is very exciting me to me as this has been my greatest nemesis since I started programming. One thing I noticed is that on some corners you can be forced into the next screen like so: cornerpush.jpg It's likely because the x/y values I have set to move to the next screen aren't set quite right. Should be an easy fix. 1 Quote Share this post Link to post Share on other sites