Lua libcurl

  • #30, by SimonSTuesday, 28. March 2017, 17:28 7 years ago
    No, you need to change the position yourself:

    sprite.position = {x=0,y=0}

    Also you need to listen yourself for events. Easiest way would be putting an object border there.

    Thread Captain

    1580 Posts


  • #31, by darren-beckettTuesday, 28. March 2017, 17:36 7 years ago
    Ok, will do, cheers Simon.

    Now get back to VS5 :-)

    Great Poster

    384 Posts

  • #32, by darren-beckettWednesday, 29. March 2017, 15:02 7 years ago
    This is now working perfectly, good job guys.

    Great Poster

    384 Posts

  • #33, by darren-beckettFriday, 31. March 2017, 11:09 7 years ago
    Is it possible to draw the sprite at 50% transparency?

    If so, how?

    Great Poster

    384 Posts

  • #34, by SimonSFriday, 31. March 2017, 11:51 7 years ago
    Currently not with all functions, I added this for the final so you can do it via graphics.drawSprite(sprite, alpha, tint).

    Thread Captain

    1580 Posts

  • #35, by sebastianFriday, 31. March 2017, 12:24 7 years ago
    sounds very cool. will these images stay after scene change? 

    Thread Captain

    2346 Posts

  • #36, by sebastianFriday, 31. March 2017, 12:24 7 years ago
    sounds very cool. will these images stay after scene change? 

    Thread Captain

    2346 Posts

  • #37, by SimonSFriday, 31. March 2017, 12:26 7 years ago
    As long you draw them.

    Thread Captain

    1580 Posts

  • #38, by sebastianFriday, 31. March 2017, 12:29 7 years ago
    uh uh... and is it possible to layer them? 

    like changing the order of the drawed sprites or even show in front of/behind "normal" object images/animation? Or are these independant and displayed above the normal scene images? 

    kind regards
    Sebastian ~

    Thread Captain

    2346 Posts

  • #39, by SimonSFriday, 31. March 2017, 12:37 7 years ago
    Currently only by using a hook function. So it's not very simple, but I'll write some scripts til then.

    Thread Captain

    1580 Posts

  • #40, by ke4Friday, 31. March 2017, 13:08 7 years ago
    This Draw function is independent from the libcurl? Can you draw any image? Or what exactly is this function for? Can you guys please name some examples of what would you use this for?

    Btw will this be drawn over videos too? Is it possible to draw an animation? Damn so many questions grin

    Key Killer

    810 Posts