LittleStain's Forum Posts

  • How have you set your character up?

    Just animations or more complicated?

    Just setting global variables would/could do this..

    If Skintone is "white" set animation to..

    etcetera..

  • I'm not sure..

    I know I would use a very different approach to get the same thing done, but well..

    First of all, I wouldn't use GUID at all, UID should work fine..

    Second instead of pick overlapping, I would use mouse is overlapping famcard..

    Does exactly the same..

    Also I wouldn't use system compare for the animationframe, you can check it from the family-object..

    System compare doesn't pick, but seeing you've already narrowed the pick down, I don't think that's the issue, it might be though..

    Actually..

    I'm pretty sure it's the system compare event..

  • Well you are rotating the whole layout, so also the layer with the controls..

    Couldn't you rotate layer 0 instead?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Couldn't you just use the solid behaviour on your tilemap?

    Or are you searching for a different solution?

    Adding a second tilemap only for the collision should work..

  • You are calling the function with parameter famcard.GUID, I guess this is to be able to identify the card in the function..

    Are you sure that there is only one card with your variable family.GUID and that you are referencing that card only in your function?

  • I guess you are using a tiled background, like the name says it's tiled..

    If you just want to use a scaled sprite, use a sprite-object and scale it..

  • Do you mean something like the wrap behaviour?

  • Not sure why you'd need Ashley for this..

    You'd only need:

    Sprite1 compare variable varactivated = 1

    (subevent)

    system compare two values: Sprite1.pickedcount = sprite1.count

    sprite2 set variable varopen = 1

    else

    sprite2 set variable varopen = 0

  • I'm not sure what exactly you want, but would something like starting a timer (timer-behaviour) work..

    On object clicked

    start timer for 2 seconds

    on timer

    set global variable to 1

    on mouse button released

    stop timer

    set global variable to 0

    global variable is 1

    count down (I'm not sure what exactly you mean by automatically counting down)

  • I'm not sure if you are even setting the variable..

    I don't really understand the actions: first you send signal, then you wait for signal..

    Also the event will ofcourse only run if all of the above conditions are true.

    Are you sure this is the case?

  • Strange, it works perfectly for me..

    One of the reasons why I have all browsers installed..

    You could try setting your default browser in Windows itself and see if that works first, but I'm not sure as to why this would happen..

  • You could use system compare two values in that case?

    Adding the dt in your expression when comparing..

  • You could put the keyboard-events in a group and activate/deactivate the group in the same way..

    Might also help making you even-sheet easier to view..

  • Well mathematically speaking 9.999 is not the same as 9.9K

    If you round it, it would be rounded up..

    you could use the floor() expression for this, ofcourse..

    For example your variable is 9999

    set text to

    floor(variable/100)/10

    would set the text to 9.9

  • i'm guessing the player isn't overlapping rock and CornerUp at the same time..

    That is what you are checking for in event 7.

    If you want to work with multiple objects not being able to be overlapped in these examples, you either have to create events for all of them or put them in a family and check overlapping family.

    Families are only supported in the paid version, so if you don't have that I guess the easiest way would be to use an 'OR' block and put all objects in it..