Page 1 of 1

EDITING: Adding background graphics (v0.28)

Posted: Wed Jan 14, 2004 4:31 am
by Gambit37
Ver: 0.28

I thought I'd try adding a new background graphic to the main viewport of the game.

Previously, you could only add a bitmap of 640x400. Now RTC tells me that it is expecting a bitmap of 640x480. I remember requesting this ages ago, so thanks for adding that George.

However, the image is still drawn at (0,40) when I really want it to be drawn at the true (0,0). Even if I specify the coordinates as (0,-40) it doesn't make any difference.

This is especially odd, as I tried replacing the Hint Oracle bitmap, and specified it's position as (0,-40). I was surprised and delighted to see that everything shifted acordingly (including the text -- nice one George!).

Can you fix it so that the main game view works the same way as the Hint Oracle?

Posted: Wed Jan 14, 2004 6:19 am
by cowsmanaut
you mean I can make a new look for the interface????

Posted: Wed Jan 14, 2004 11:22 am
by andyboy_uk
Couldnt you do that anyway by adding new bitmaps and specifying them as replacements in teh [Graphics - Interface] section?

Cheers,

A

Posted: Wed Jan 14, 2004 12:41 pm
by Gambit37
@Cow: Yes, it's been possible to add a background graphic for several versions, since at least v0.17. Keep up, dear boy!

@Andy: Like all graphics replacements, you simply do something like this:

Code: Select all

[New - Bitmaps]
ADD		BITMAP_FULLBACK				FILE=(..\dev\NEW\Img\SOURCE\interface\interface3.bmp)	SIZE=(640,480)	POSITION=(0,0)	SCALINGS=(1)	TRANSPARENT=(FALSE)
...............
[Graphics - Interface]
BACKGROUND...=(BITMAP_FULLBACK)
By looking at the RTC.EXE I think that George has now made it possible to change *every* element to whatever we want. *YES* Thank you George, you are a God among men!

I've been messing about and have already got the Amiga hint oracle background in there instead of the Atari one.... great fun!

@Cow: Contact me for more info on changing the interface.

Posted: Wed Jan 14, 2004 2:47 pm
by beowuuf
I assume its a one-off change, not a per-level designation for the background interface

Posted: Wed Jan 14, 2004 3:02 pm
by Gambit37
Yup, just once off. If George can change it so that the full 640x480 image can be used, it would be possible to do some quite nifty organic style interfaces

The only problem is that the semi-transparent boxes that are used to dim out parts of the interface (when sleeping for example) are all used fixed sizes/positions, so you can't be too clever. I'd prefer it if these used bitmaps..... ;)

Posted: Wed Jan 14, 2004 3:26 pm
by beowuuf
Sounds like some of these points should be moved to a suggetsion post...I'll do it when I get home if no one else has...

Posted: Mon Jul 05, 2004 10:33 am
by George Gilbert
Fixed for V0.29