Point of Action

Started by DCillusion, Sat 13/12/2003 17:40:33

Previous topic - Next topic

DCillusion

How do I show the point where my Icon functions with a hotspot on the screen.  Old games used to do it, and the King's Quest remakes managed it.

The point doesn't appear until the player selects it.

MCF

I'm not 100% sure what you're asking, but I'll try.

I'm assuming you want to make it clear which part of your cursor is the actual part that spurs an interaction.  

If you go to the cursors menu, you can change the hotspot very easily.  It's represented by a red dot on the icon display window.  Move that to wherever seems most convenient.  You can also make it easier on your player by adding some highlight to the hotspot in the actual icon image file.

Then again, this may not be what you were looking for.

DCillusion

Thanks, but what I mean is..............

In king's quest VGA
When you click on the interact icon, a white dot appears where the point of action.

In your inventory, the item doesn't have a white dot.
When you click on the item, the white dot representing the point of action appears.

I hope that's more specific

Scummbuddy

SetInvItemPic
SetInvItemPic (int inv, int sprite_slot)

Changes inventory item INV's graphic to be slot number SPRITE_SLOT from the Sprite Manager. This allows you to dynamically adjust an item's picture in the inventory window during the game.
Example:

SetInvItemPic(10,120);

will change the number 10 inventory item’s graphic, to the picture imported in slot 120 (sprite manager’s slot).

---------------

Would this work? Use this when you click on the inventory item?

You can also set an objects picture.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Ben

I think I know what you mean..

At the bottom of the screen, there's a checkbox labeled "Draw hotspot dot on inventory cursors." If you check this box, the game will draw a dot on all inventory items when you select them. You can also change the color of the dot.

DCillusion

Thanks, that worked perfectly

SMF spam blocked by CleanTalk