EDITING: Adding background graphics (v0.28)

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

EDITING: Adding background graphics (v0.28)

Post 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?
User avatar
cowsmanaut
Moo Master
Posts: 4380
Joined: Fri Jun 30, 2000 12:53 am
Location: canada

Post by cowsmanaut »

you mean I can make a new look for the interface????
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

Post by andyboy_uk »

Couldnt you do that anyway by adding new bitmaps and specifying them as replacements in teh [Graphics - Interface] section?

Cheers,

A
Regards,

Andy
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post 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.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

I assume its a one-off change, not a per-level designation for the background interface
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post 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..... ;)
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post 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...
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Fixed for V0.29
Post Reply