Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: How to place the inventory or sprites on viewport?  (Read 3909 times)

0 Members and 1 Guest are viewing this topic.

benkovici

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
    • View Profile
How to place the inventory or sprites on viewport?
« on: January 24, 2009, 07:47:29 PM »

Hellow! I need to put an arrow (that if pressed will change the scene) on viewport. How can I do it?  Also I want the inventory to appear at the viewport's bottom line and actor speach at the upper viewport line like in "Black mirror" game.
Help me please!
« Last Edit: January 24, 2009, 07:49:32 PM by benkovici »
Logged

Baron

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
    • View Profile
    • Portfolio
Re: How to place the inventory or sprites on viewport?
« Reply #1 on: January 25, 2009, 05:49:54 AM »

Hi benkovici

It sounds like myself you are just starting out with wintermute. Rather that suggest specific solutions to each task I would suggest you try building the example project in "the wme book".

http://res.dead-code.org/doku.php/wmebook:start
metamorphium had done a great job making a step by step guide for absolute beginners.It really helped me understand how things work in WME. Good luck and I hope you enjoy learning wme as much as I do.

-David.

benkovici

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
    • View Profile
Re: How to place the inventory or sprites on viewport?
« Reply #2 on: January 25, 2009, 04:25:50 PM »

Hi Baron!
Thanks for help, but in documentation about making of the game I couldn't find anything about viewport.
 I just don't know how a sprite could be placed on viewport. I need to place an arrow that will lead to another scene if presed. If I will simply attach arrow.sprite in SceneEdit and put the coordinates of viewport's bottom line I won't see the arrow anyway.
 I think I should write a piece of code in scene_init.script of my scene. But what should I write? Could you please help me?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: How to place the inventory or sprites on viewport?
« Reply #3 on: January 25, 2009, 05:01:26 PM »

To change the viewport, you the "Scene vieweport" setting in ProjectMan.
To add the buttons, perhaps use a transparent window covering the screen.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

benkovici

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
    • View Profile
Re: How to place the inventory or sprites on viewport?
« Reply #4 on: January 29, 2009, 07:39:33 PM »

To change the viewport, you the "Scene vieweport" setting in ProjectMan.
To add the buttons, perhaps use a transparent window covering the screen.

Thanks Mnemonic!!! You really helped me!
Logged
 

Page created in 0.046 seconds with 24 queries.