+Atarius Maximus Posted June 12, 2014 Share 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 28 Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted June 12, 2014 Share 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 7 Quote Link to comment Share on other sites More sharing options...
+Trebor Posted June 12, 2014 Share 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 Link to comment Share on other sites More sharing options...
RevEng Posted June 12, 2014 Share 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 Link to comment Share on other sites More sharing options...
+Gemintronic Posted June 12, 2014 Share 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 Link to comment Share on other sites More sharing options...
+Atarius Maximus Posted June 12, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Jinks Posted June 12, 2014 Share Posted June 12, 2014 Niiice!! 1 Quote Link to comment Share on other sites More sharing options...
DracIsBack Posted June 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
MAC-42 Posted June 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
+Atarius Maximus Posted June 13, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
+Atarius Maximus Posted June 13, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Andromeda Stardust Posted June 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
+Atarius Maximus Posted June 13, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
RevEng Posted June 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
DracIsBack Posted June 14, 2014 Share Posted June 14, 2014 I am drooling. Just drooling Quote Link to comment Share on other sites More sharing options...
Jinks Posted June 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
PacManPlus Posted June 14, 2014 Share Posted June 14, 2014 (edited) I AM LOVING THIS! Bentley who? Edited June 14, 2014 by PacManPlus Quote Link to comment Share on other sites More sharing options...
Jinks Posted June 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
+Trebor Posted June 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
+Mitch Posted June 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
Jinks Posted June 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
TrekMD Posted June 14, 2014 Share Posted June 14, 2014 This looks fantastic! Quote Link to comment Share on other sites More sharing options...
DracIsBack Posted June 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
+Gemintronic Posted June 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
+Atarius Maximus Posted June 14, 2014 Author Share 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 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.