remy-jay's Recent Forum Activity

  • Hi There,

    I guess this is a question of whether this is supported or not first, then I'll know whether it's a bug or not...

    If I call "load image from URL" for a sprite object, and then SAVE the game state and then LOAD it again, should I expect the URL image to still remain?

    Spoiler alert, the URL image doesn't seem to remain -- but perhaps this is expected?

    If not, I'll create a CAPX and update this thread.

    Thanks,

    -Remy

  • DAG, thanks for your input

    anyone else, I'd also accept any other answers you have

  • Hi there,

    There is an event to trap the "clicking" of a HTML button object, however, I'm wondering if there is a way to trap if the button is being "pressed/touched"?

    I tried using the "touch" object with the button object, however, it seems that when a user clicks on the button, focus is gained and the "is Touching" event isn't registered.

    Ideally I'd be able to overload the button to trap both clicking (press and release) as well as pressing (press no release)

    Is this possible?

    Thanks,

    -Remy

  • Perhaps a separate issue?

  • This might be useful if your snake is comprised of a bunch of sprites:

    https://www.scirra.com/manual/99/pin

    "Rope style: the object is not rotated, but is kept at a maximum distance from the other object."

  • Boo-urns shinkan, thanks for the heads up

  • Oops, maybe I jumped the gun here.. looks like you guys may have identified my problem too, which I've first noticed in R165:

  • Problem Description

    I can't seem to get bump mapping working with R166

    Attach a Capx

    Attached -- the attached CAPX is essentially the example found here :

    CAPX=https://dl.dropboxusercontent.com/u/50465867/Construct/NormalMaps.capx

    Description of Capx

    • Poker chip with a bump mapped sprite over top that has it's x,y parameters changed as user moves their finger around the screen

    Steps to Reproduce Bug

    * Move finger around the screen OR press the random button repeatedly

    Observed Result

    I created a normal map with "crazybump" http://crazybump.com/ as recommended by one of the bump mapping threads here, however, I can't seem to get bump mapping to with with a seemingly trivial example. In the example there is a poker chip and a "bump" sprite of the generated bump map above it with the effect "bump mapping"

    The user should be able to touch the screen to change the source of light on the poker chip my moving their finger around, however, there is NEVER light case on the object. There is also a random button to create unique light position locations between 1-100 for x,y light parameters (which I presume are the 0,1th parameters for the effect?). Pressing the random button repeatedly you'll find that from time to time there is a tiny bar of light way off the the left of the screen, but never on the object. It's odd because in the C2 editor itself, the effect is applied and looks good -- I can change the x,y values there and I see the light fall on the object

    Expected Result

    Light falls on the poker chip as the user moves their finger around the screen

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (YES)

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    R166 Beta

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Here is an example using an alpha mapped sprite to cast (?) a glint on a chosen coin

    This is the gist of what I"m trying to achieve, yes, however, since the object can be dynamic, I need to use effects (like 'additive') on the object in question.. and can't use a static glint

    -Remy

  • I do not know what you mean but, is it like this

    Not quite...

    To clarify, try turning the background to black, then, the light should ONLY shine on the circular object, and NOT the black background... That is the first problem that RamPackWobble solved. The second is the need to essentially programmatically generate the "light" layer in RamPackWobble s example.. Right now he uses a big blank sprite with a circle 'cutout' with a destination in blend applied, I need to be able to drop in any particular object into that layer and achieve the same effect. If I try Spawning/creating a duplicate object of the one on display, say, a playing card to continue the poker theme, I'll see the light shine on the background too, not just the playing card. I thought if I applied a destination in blend to the entire later that would work, then I could drop any object in, however, I only want this effect to apply to a window within the current layout, not to the whole layout...

    Appreciate your help though Lordshiva1948

  • Hi All,

    Me again.... In the example I have attached, I only seem to be able to get the Paster object to work with WebGL OFF, when I turn WebGL ON, I can't draw to the paster object.. (Try holding the mouse button down and defacing the Apple)

    From rojohound s text it sounds like WebGL should be supported...

    "Paster 0.5 alpha

    Here's a new plugin that is like the canvas plugin in that you can draw (or paste) other objects onto it's texture. It's simpler though and doesn't have any additional drawing features. The big difference is this plugin cleanly uses webgl and allows pasting objects with effects."

    Any ideas anyone?

  • If you have not then here is file

    Thanks, however, the example does not light only an object and not the background. The example RamPackWobble provided solves most of my issue, however, there is a new twist now, referenced above

    Cheers,

    -Remy

remy-jay's avatar

remy-jay

Member since 7 Feb, 2012

None one is following remy-jay yet!

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies