News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Move text position in a game  (Read 1247 times)

Jate

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Move text position in a game
« on: December 22, 2020, 07:14:11 am »
Hi

I wanted to know if it is possible to move the position of the intro text in the game Golden Axe Warrior (Master System)




The text is aligned to the left and I would like to move it all to the right so that it is more centered

FAST6191

  • Hero Member
  • *****
  • Posts: 3089
    • View Profile
Re: Move text position in a game
« Reply #1 on: December 22, 2020, 04:46:28 pm »
Assuming it is text and not graphics
Four main things, though arguably three.

1) Use spaces and hope it goes across.
2) Use spaces and just make it in the middle.

2a) I don't know what causes a new line in that (whether it is auto wrapping or manually new lined) but you might be able to fit a bit more in, and maybe jiggle the words a bit to fit lines.

For both of these then fitting everything in and memory issues tend to arise. That said difficulty is basic text hacking.

3) You get to play assembly hacker with the position of the text layer (don't know if it will be sprite or BG, BG tends to be traditional one but a few intro scenes to an action game might be sprites)
4) You play assembly hacker but find it is one of those games that sets an initial position and works from that for the subsequent lines. Bit easier than making it do a new location calculation for every line if so, I note it here just so you are thinking of it as a possibility when you are playing assembly hacker.

The SMS graphics are handled by the VDP
https://www.smspower.org/uploads/Development/msvdp-20021112.txt
Found on https://www.smspower.org/Development/Documents

Probably start by figuring out what mode it is and then how to manipulate it to do what you want. There are some combined text and graphics options so I would lean towards those.