Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

#1 2021-12-18 12:10:20

chris
Member
From: USA
Registered: 2016-11-27
Posts: 142
Website

Help me with window stuff

Is there a way to make the printed text (text printed on the screen with "printf") be in the window instead of the background? If so, how? I'm stuck using C because assembly seems to be too hard for me.


My avatar is from Nintendo Power. I miss those days, so I decided to bring them back.

Offline

 

#2 2021-12-19 07:20:20

0x7f
Member
Registered: 2019-11-24
Posts: 65

Re: Help me with window stuff

Sorry, I can't answer your question but when you want to develp a game its better to use set_bkg_tiles or set_win_tiles instead of printf. You can arrange letter and number tiles according to their ASCII code and then easily display a string on the background or window.

Offline

 

#3 2021-12-24 13:32:28

chris
Member
From: USA
Registered: 2016-11-27
Posts: 142
Website

Re: Help me with window stuff


My avatar is from Nintendo Power. I miss those days, so I decided to bring them back.

Offline

 

#4 2022-01-03 19:07:16

LaroldsJubilantJunkyard
New member
From: United States
Registered: 2022-01-01
Posts: 2

Re: Help me with window stuff

I usually just manually map c-string chracters to their VRAM tiles. What did you end up doing to make it work?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson