Starfinder Playlist
  1. #1
    Oberoten's Avatar
    Join Date
    May 2006
    Location
    Älvsbyn, Sweden
    Posts
    2,620

    Drawing lines in windowclasses

    Is there any way to draw lines from inside a windowclass? I was thinking to generate a clockface and then draw lines over it which would then update when I forward a "timer". Think Doomsday clock, as events happend the clock comes closer to midnight.

    Can FG draw lines or even dots programaticaly unless it is on a image?

    - Obe
    For your Ars Magica needs :
    https://fgrepository.com




    Atque in perpetuum frater, Ave atque vale.

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,678
    Blog Entries
    1
    Dunno if you can draw lines programmatically... you can draw pointers programmatically...

    I did something like this as a WiP for Blades in teh Dark...


  3. #3

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    The way I would do it is through a series of png images of the hands where you want them and then selectively hide/show the ones you want. Or you could do it with a token you programmatically rotate.

  4. #4
    Oberoten's Avatar
    Join Date
    May 2006
    Location
    Älvsbyn, Sweden
    Posts
    2,620
    Quote Originally Posted by Bidmaron View Post
    The way I would do it is through a series of png images of the hands where you want them and then selectively hide/show the ones you want. Or you could do it with a token you programmatically rotate.
    A think a token is probably the best way to go. I can include the tokens inside the ruleset as well so that should work out fine. Thanks for the tip.

    - Obe
    For your Ars Magica needs :
    https://fgrepository.com




    Atque in perpetuum frater, Ave atque vale.

  5. #5
    Ikael's Avatar
    Join Date
    Jan 2008
    Location
    Finland/Joensuu
    Posts
    2,384
    Short answer is no, you cannot draw lines programmatically. Nor can you draw pointers programmatically, however you must define their drawn pattern in lua.
    "Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness

    Post your SavageWorlds ruleset feature requests and issue reports here!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  
5E Product Walkthrough Playlist

Log in

Log in