Impaler_26 Posted July 30, 2008 Share Posted July 30, 2008 (edited) I wanna make a game with an up-scrolling playfield and made a few tests. With a normal sprite my test-file works fine but when i use the "player1color" option i get a display-glitch in the lower area of the playfield. It disappears when you move the sprite to the bottom. So my question is can i use "player1color" and "pfscroll up" together or is it too much to handle for bB? Maybe i just made a stupid mistake i overlooked? I hope someone here can help me with this! chim.bas chim.bas.bin Edited July 30, 2008 by Impaler_26 Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 30, 2008 Share Posted July 30, 2008 I want you to know that I have a fix for your problem that I yanked out of another program I'm working on, but I have to adjust the code for it to look right. It's on the way. Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted July 30, 2008 Author Share Posted July 30, 2008 That's good to know! Thanks in advance! Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 30, 2008 Share Posted July 30, 2008 Sorry it took so long. I had to go to the dentist and get some sleep, but here is my version with the glitch removed: chim_2008y_07m_30d_1817t.bin chim_2008y_07m_30d_1817t.bas 1 Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted July 30, 2008 Author Share Posted July 30, 2008 Sorry it took so long. I had to go to the dentist and get some sleep, but here is my version with the glitch removed: chim_2008y_07m_30d_1817t.bin chim_2008y_07m_30d_1817t.bas Thanks for your help, it's very much appreciated!! Your version also answered a few other questions for me so now i can finally start making this game! Yep, no more fooling around - time to make some games (or at least try and fail )! Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted July 31, 2008 Author Share Posted July 31, 2008 (edited) I played around a bit more with RT's example and while it's a big help it unfortunately didn't really fix the display-glitch in the last line. I didn't notice the glitch during scrolling but sometimes when the sprite hits the wall and the scrolling stops it shows up like in the screenshot below. I slowed down my test-files with another drawscreen so you can see the glitch better. Again this only happens when i use player1colors, it doesn't happen in the file with a single-color sprite. Meanwhile i saw in other games like Primate Plunge that you can use player1colors and pfscroll together without any problems. So now i wonder if this is a bug in bB or if something is wrong with my environment? I'm using the latest fixes posted by SeaGtGruff here. I also think i'm calling drawscreen at the wrong time.... Has anyone any idea what's going on here? I'm confused.... slow_colors.bas slow_colors.bas.bin slow.bas slow.bas.bin Edited July 31, 2008 by Impaler_26 Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 31, 2008 Share Posted July 31, 2008 If you add an extra drawscreen, that will totally screw it up. To slow down the whole thing for testing, it's better to use something like this: slowdown drawscreen m=m+1: if m<10 then goto slowdown m=0 Here it is with the extra drawscreen removed and the code above added, and the line that removes the glitch in the main part of the game also added under hitwall: chim_slow_colors_2008y_07m_31d_1723t.bas.bin chim_slow_colors_2008y_07m_31d_1723t.bas 1 Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted July 31, 2008 Author Share Posted July 31, 2008 If you add an extra drawscreen, that will totally screw it up. To slow down the whole thing for testing, it's better to use something like this: slowdown drawscreen m=m+1: if m<10 then goto slowdown m=0 Here it is with the extra drawscreen removed and the code above added, and the line that removes the glitch in the main part of the game also added under hitwall: chim_slow_colors_2008y_07m_31d_1723t.bas.bin chim_slow_colors_2008y_07m_31d_1723t.bas Oh boy, am i stupid! But i think i got it now... So this glitch always happens if you don't clear the hidden line before drawscreen... Another thing i noticed is that your example uses too many cycles but i guess i can find a solution for this. So after all i learned something today, thanx again! Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted August 1, 2008 Share Posted August 1, 2008 Another thing i noticed is that your example uses too many cycles but i guess i can find a solution for this. Are you just talking the quick and dirty code that slows down the whole game for testing or the other stuff when that slow down code is removed? Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted August 1, 2008 Author Share Posted August 1, 2008 Another thing i noticed is that your example uses too many cycles but i guess i can find a solution for this. Are you just talking the quick and dirty code that slows down the whole game for testing or the other stuff when that slow down code is removed? It's not the slow down code, it's the other stuff you added in your first example. Just thought i'll let you know so you can check if it's the same with your game. Here's a version of your example from post#4 with debug cyclescore.... Seems like something's not right here..? chim_2008y_cyclescore.bas.bin Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted August 1, 2008 Share Posted August 1, 2008 It's not the slow down code, it's the other stuff you added in your first example. Just thought i'll let you know so you can check if it's the same with your game.Here's a version of your example from post#4 with debug cyclescore.... Seems like something's not right here..? Thanks. When I did your version, I switched to pfhline instead of using playfield variables. I did that so it would use less code and would be less confusing. I'll switch it over to playfield variables tonight and see if that makes a big enough difference in the number of cycles. Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted August 1, 2008 Author Share Posted August 1, 2008 .....I did that so it would use less code...... Don't worry about that, i just set the romsize to 2k to keep the sample-files small. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted August 2, 2008 Share Posted August 2, 2008 I was trying to find ways to crunch this down, but since it has already taken too long, I'll just post the bloated version: chim_2008y_08m_02d_0456t.bin chim_2008y_08m_02d_0456t.bas This is similar to what I am using in another program that I'm working on where I make a solid line, make the hole on the left side, then slide the hole over into position. I think this wastes fewer cycles. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted August 2, 2008 Share Posted August 2, 2008 OK, I finally figured out that I could change a number and that would allow the program to skip more code until it's needed, so this should waste even fewer cycles: chim_2008y_08m_02d_1852t.bin chim_2008y_08m_02d_1852t.bas 1 Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted August 3, 2008 Author Share Posted August 3, 2008 OK, I finally figured out that I could change a number and that would allow the program to skip more code until it's needed, so this should waste even fewer cycles: chim_2008y_08m_02d_1852t.bin chim_2008y_08m_02d_1852t.bas That's much better, thanks! I'll spend the next few weeks with "learning by doing" and see if i can come up with something... Quote Link to comment Share on other sites More sharing options...
yuppicide Posted August 5, 2008 Share Posted August 5, 2008 Nice game so far. I had the idea that it should be Alice in Wonderland falling.. like this: http://www.alice-in-wonderland.net/alicepi...bbit-hole-1.jpg Maybe some sprites of chairs and lamps and whatever could fly around also that you have to avoid. Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted August 5, 2008 Author Share Posted August 5, 2008 Nice game so far. I had the idea that it should be Alice in Wonderland falling.. like this: http://www.alice-in-wonderland.net/alicepi...bbit-hole-1.jpg Maybe some sprites of chairs and lamps and whatever could fly around also that you have to avoid. Actually this is supposed to become a port of a neat little C64 basic-game called Down The Chimney. I'm planning to add a few more things to it like a falling brick (ball sprite) and maybe a cloud of soot (player0) you have to avoid. Also it should start with slow scrolling and become faster each level and the gaps should become narrower each level. But i like your idea about Alice in Wonderland, this would also be a nice theme for the game... Hmm... maybe i'll have to make 2 games then... But remember that i'm still a bloody beginner with bB so don't expect anything playable before X-Mas.... 2009. Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted December 20, 2018 Author Share Posted December 20, 2018 Rise from the grave! After 10 years i forgot most of what i knew about bB so that's a perfect opportunity to try my hands at Down the Chimney once more. I'm looking forward to learn bB again and implement some improvements and new elements i have on my mind. Maybe i can make it a fun to play game this time? Find out one day in 2019 only here at AtariAge. I'll post a new thread in the bB forums once i have a playable demo. For starters here's the last version from 2009 as featured on ZeroPage Homebrew: Down The Chimney Test (2009) (Christian Giegerich, Duane Alan Hahn) (WIP).bin 6 Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted July 1, 2020 Author Share Posted July 1, 2020 (edited) I found a forgotten USB stick today with a stupid old version of DTC. Press fire while playing and Santa drops his pants... ain't it great? ? chim-2009-ct-032e-down-pants.bas.bin Edited July 1, 2020 by Impaler_26 spelling 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.