Author Topic: couple questions  (Read 5085 times)

Quazi

  • Guest
couple questions
« on: 2005-09-02, 02:58:17 AM »
1. I'm trying to make a HUD layer that is displayed infront of the inventory display.  Not sure if this is possible without scripting but maybey I'm just missing something easy in the SGDK editor.

2. Is it possible to change the input key from the spacebar, so that a message/image will disapear after it has been crated with a special function?

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
couple questions
« Reply #1 on: 2005-09-02, 06:05:35 AM »
1. You can use inventory display for this too, I think.  Items defined later in the inventory will draw in front of items defined earlier in the inventory.
2. Change the buttons that are configured in the controller configuration window.  I think pressing any button defined in this window clears the message.

Quazi

  • Guest
couple questions
« Reply #2 on: 2005-09-03, 02:31:21 PM »
I dont think you understood what I was trying to say Ben. What I'm trying to do is make a layer that would go over the top of the inventory display.  Basically so  I can have a design over the top of the quantity bars and have circles around the inventory icons instead of squares.  Also the inventory displays on all maps so this would allow a start up menu and an end screen without displaying the inventory. I could create sprites for the inventory display and asign the locations manually in script, but I want to limit the # of sprites on screen so the game doesn't get bogged down. So maybe there's a better way to ask the question. Is there a way to assign the inventory display to a specific layer so it can be moved backwords or forword in the layer list like normal layers?

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
couple questions
« Reply #3 on: 2005-09-03, 07:40:40 PM »
There is no way to draw over the inventory without scripting.  It may not even be possible with scripting.  There are alternatives, however, for drawing the actual inventory.  Like, for example, have sprites that show up if a certain inventory is a certain way.  This is done in Super Happy Funland, but I don't believe that has been released to the public.
Edward Dassmesser

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
couple questions
« Reply #4 on: 2005-09-04, 07:00:53 AM »
Yes, I understood what you were asking.  Unfortunately I forgot that tiles in the inventory are drawn non-transparently, so my idea won't work.  I think Durnurd's answer is correct in that case.