Results 1 to 3 of 3
  1. #1
    Boomshot
    Join Date
    May 2011
    Location
    Chicago
    Posts
    2,065

    Default Reading a note - would I use scaleform for this?

    I'm not 100% sure if scale form is required for this, but I want to figure out how to get a sequence working where if the player walks up to a piece of paper, they are prompted to press E to read it. When they do, I want the note to pop up full screen, kind of like how games like silent hill would do it.

    Would I have to create a scaleform menu with just a static image and trigger that to show when E is pressed? I was thinking about having a plane pop up in front of the camera with a texture of the note on it but I think scaleform would probably be better quality. Anyone have any experience with setting something up like this?

  2. #2
    Boomshot
    Join Date
    Aug 2011
    Posts
    2,286

    Default

    The simplest way to do it is to use the canvas drawing functions such as DrawTile or DrawTexture to render a texture in the standard HUD. No need to fiddle with planes.

    Scaleform would be an option to save texture memory, or to provide a more complete solution: dynamic text, animation, etc.

    The most elaborate solution would be to use Scaleform to render pages that are then applied to a book mesh in world. With this you can depict an entire volume of pages with page turning, etc, etc. But I suspect this is overkill for what you want

  3. #3
    Boomshot
    Join Date
    May 2011
    Location
    Chicago
    Posts
    2,065

    Default

    Ah thank you! Canvas sounds likes a good solution. I'll look into that and see how it looks, though I did manage to figure out how to trigger an Swf to play so I'll fiddle with both to see which result is better. Thanks for the tip!


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.