Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Help with my minigame - scrolling of the top rows is not smooth

Reply to topic
Author Message
  • Joined: 21 Aug 2021
  • Posts: 41
Reply with quote
Help with my minigame - scrolling of the top rows is not smooth
Post Posted: Sat Jun 11, 2022 6:01 pm
Hi, we're writing a mini game for the SMS.
We've leaned a lot since we begun working on it.

No we have added the tilemap to the game and it works - mostly.

But we are getting this "jumpy"/"shaky" problem at the top rows of the screen.
The whole screen is updated in one single loop, but the first rows behave differently - the bottom rows ork perfectly.

The problem happens whenever e move the soldier, in any direction.
In other words, the problem is not caused by horiontal scroll itself.
The exact same problem happens, even if we move the soldire vertically.

The problem can be seen in the videos below:



https://youtu.be/0ProlHbGFFA

https://youtu.be/jZYMhIWve0I

Thanks a lot!
  View user's profile Send private message
  • Joined: 09 May 2008
  • Posts: 24
Reply with quote
Post Posted: Sat Jun 11, 2022 7:00 pm
Have you tried running the game in Emulicious? You can use the debugger there and check what's happening.
  View user's profile Send private message Visit poster's website
  • Joined: 04 Jul 2010
  • Posts: 539
  • Location: Angers, France
Reply with quote
Post Posted: Sat Jun 11, 2022 7:44 pm
how do you refresh your map ?

you need to update/push only a col / row at a time not the full map
as its impossible because too big to fit in 1 vblank ; 32x24x2 = 1536 bytes, max i s around 1000 on SMS ntsc 60hz.
  View user's profile Send private message
  • Joined: 21 Aug 2021
  • Posts: 41
Reply with quote
Post Posted: Sat Jun 11, 2022 7:46 pm
Thanks for the replies.

Yes, I was trying to push the hole map on every vblank.
Now I broke it don and it works beautifully

Thanks again!
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!