jbs30000 Posted September 11, 2010 Share Posted September 11, 2010 (edited) So after a few days of ignoring my Super Mario Bros game, I decided to work on phase 2, put Mario in the game and let the user move him around. Everything is fine, unless you hit the fire button to let him jump. When that happens, the screen kind of splits. It's kind of like the 6 sprite kernel. There's a hole in the ground and then when you walk to the edge and the screen starts scrolling, you'll things scroll to the right, and then a second later a mirror image of things scrolling to the left. I guess the best way to explain is to see it yourself. You can jump right at the beginning or walk until you hit the first pipe (you won't be able to walk through it) and you can hit jump then. I'm not sure what's happening, so I don't know if I can fix it. But of course I'll try. default.bas.bin Also, while you can walk (for now) over a hole in the floor, if you jump you'll fall through and you'll have to reset the game. Edit to add, you can control the height of the jump depending on how long you hold the fire button down. Edited September 11, 2010 by jbs30000 Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted September 11, 2010 Share Posted September 11, 2010 The playfield is changing from "reflected" to "repeated" mode. Are you changing CTRLPF in your program? Michael Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted September 11, 2010 Share Posted September 11, 2010 (edited) The playfield is changing from "reflected" to "repeated" mode. Are you changing CTRLPF in your program? Note that if you're changing CTRLPF to set the ball size or the playfield priority, you'll want to be sure to set bit 0 at the same time, so the playfield remains in the reflected mode-- for example: CTRLPF = % 00110001 or CTRLPF = % 00000101 Michael Edited September 11, 2010 by SeaGtGruff Quote Link to comment Share on other sites More sharing options...
jbs30000 Posted September 11, 2010 Author Share Posted September 11, 2010 Of course. In one part I use CTRLPF=$20. Thank you for the quick and easy fix. 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.