+SmittyB Posted February 23 Author Share Posted February 23 Just for you I've had a look to see what I might be able to do and this is what I've come up with on the mockup I use for testing ideas. By moving one of the greens from palette 0 to 2 I was able to give the clouds an extra colour for shading, and as the clouds and bushes share graphics it's improved both. I've adjusted the shades of green to allow the green player markers to stand out a bit more, and with 2 shades of green in palette 2 I was able to make a rough pattern that could be considered grass. In my old proof of concept version I had some brown areas that was intended to be the dirt the vegetables were grown in so I had a go at drawing some dirt mounds using the existing orangey palette but I'm not sure if I like them yet. 6 2 Quote Link to comment Share on other sites More sharing options...
KrunchyTC Posted February 24 Share Posted February 24 That looks quite beautiful to me! and the grass pattern looks like the grass in Animal Crossing, which I have always loved lol 1 1 Quote Link to comment Share on other sites More sharing options...
SlidellMan Posted March 8 Share Posted March 8 This just keeps getting better and better. 1 1 Quote Link to comment Share on other sites More sharing options...
+SmittyB Posted March 10 Author Share Posted March 10 Experiments in parallax. I need to adjust the speed of each layer but this goes to show it's not going to be a problem scrolling the grass texture. 9 Quote Link to comment Share on other sites More sharing options...
KrunchyTC Posted March 12 Share Posted March 12 Now THAT looks amazing! 1 Quote Link to comment Share on other sites More sharing options...
doug0909 Posted March 12 Share Posted March 12 It'd be great if this could work with 2-4 analog and/or digital 2600 trackballs, or mice with db9 adapters... 1 Quote Link to comment Share on other sites More sharing options...
KrunchyTC Posted March 13 Share Posted March 13 (edited) Are you using one layer, or multiple layers there for the whole screen? Edited March 13 by KrunchyTC Quote Link to comment Share on other sites More sharing options...
+SmittyB Posted March 13 Author Share Posted March 13 To get the most action on screen with the fewest glitches and slowdowns I can manage I'm making a big effort to minimise the amount of objects used to build the background. In that gif everything is zone-aligned so doesn't need to be drawn twice, and it's all 160A to give MARIA more time to process the 160B ducks and dogs. The clouds and bushes are separate objects, but each section is only as wide as it needs to be, and the scrolling is done by updating the position of the existing objects rather than re-adding them to the display list each frame. Objects can't be as wide as the screen on the 7800 so the wall is 6 objects (2 halves across 3 zones), and the scrolling is achieved by reducing the width of the left half while increasing the width of the right half and shifting it across using the same method as the clouds. Once it gets far enough for the pattern to repeat it's all reset. The grass is also 6 objects (2 halves across 3 zones) but each zone has its own copy of the graphics in RAM. 6502 assembly conveniently has a 'rotate left' command for shifting multiple bytes of data, only in this case it's graphics data and by rotating a line twice to account for 2 bits per pixel it'll move that line. If I move some lines more than others I'll get the effect and all without MARIA having to do more work. I'm in the process of moving where these graphics sit in RAM to free up room for the player graphics alongside the ducks. The benefit is that when things aren't zone aligned I only have to draw 2 objects instead of 3 and it all adds up. 4 Quote Link to comment Share on other sites More sharing options...
KrunchyTC Posted March 13 Share Posted March 13 Awesome 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.