Lua libcurl

  • #30, z SimonSTuesday, 28. March 2017, 17:28 hodinky 8 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.

    Kapitán

    1582 Posts


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

    Now get back to VS5 :-)

    Čestný člen

    384 Posts

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

    Čestný člen

    384 Posts

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

    If so, how?

    Čestný člen

    384 Posts

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

    Kapitán

    1582 Posts

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

    Kapitán

    2346 Posts

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

    Kapitán

    2346 Posts

  • #37, z SimonSFriday, 31. March 2017, 12:26 hodinky 8 years ago
    As long you draw them.

    Kapitán

    1582 Posts

  • #38, z sebastianFriday, 31. March 2017, 12:29 hodinky 8 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 ~

    Kapitán

    2346 Posts

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

    Kapitán

    1582 Posts

  • #40, z ke4Friday, 31. March 2017, 13:08 hodinky 8 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

    Zabiják klíčů

    810 Posts