jjc001's Recent Forum Activity

  • I'm playing around with pathfinding and move to, and I can only get diagonal movement to stop happening when there is a solid near the objects.

    I do have the diagonal box unchecked.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'd probably do something along the lines of drag and drop. I would make all of the screen backgrounds into one sprite (BS1) and pin all of the other sprites to it. then create a very large invisible sprite (IS1) with the drag and drop behavior centered in the viewport

    On IS1 drop

    if BS1 x is between 2 values

    BS1 move to appropriate position

    wait for previous

    set IS1 position to original position

    this should create the illusion that there has been a swipe when in reality you just moved an object

  • the array object is great for things like this. Not sure if you want them to spawn somewhere before you collect them, but once the items are "collected", add them to the array. When you pull up the inventory window, have the objects spawn in the inventory, based on their position in the array.

  • short answer, the same way that you change a 2d background color. click on the layer, make sure the transparent box is unchecked and then choose your color

  • sorry man, but it could've been much worse

  • What I posted checks involves checking the size of the object in relation to the touch positioning (assuming you are primarily concerned with the same objects not overlapping). height/2 makes sure that it is outside of any y that would overlap and width/2 for the x that may overlap. you may actually not want to divide it by 2.... either way, that's how I would go about it.

    it may also need to be on the event below. Using the objects height and width within the condition is the simplest way to do it.

    another way to do it is to destroy the object that is overlapping at a great z elevation and then set acao to 13 again (or whatever other value needs to be reset)

  • Sorry I'm not sure how to get that to format correctly.

    1) is the first sub event and it's conditions

    followed by it's sub events A) and B) that have actions

    2) is the second sub event and it's conditions

    followed by it's sub events A) and B) that have actions

  • I think that adding the following conditions as sub events to on touched batao will fix that (if you delete the action as well/ move it to the sub events)

    1)touch.y is greater than or = arvore.y-(arvore.height/2)

    1)touch.y is less than or= arvore.y+(arvore.height/2)

    A)touch.x greater than arvore.x+(arvore.width/2)----->set acao to 13

    B)touch.x less than arvore.x-(arvore.width/2)----->set acao to 13

    2)touch.x greater than arvore.x+(arvore.width/2)

    2)touch.x less than arvore.x-(arvore.width/2)

    A)touch.y is greater than or= arvore.y-(arvore.height/2)-->set acao to 13

    B)touch.y is less than or= arvore.y+(arvore.height/2)-->set acao to 13

  • Cool, I hope that's the case!

  • Is there a limit to how many people can be on one remote preview? Is it limited by the program, the server, or the individual running the preview (internet speeds and computer)?

  • kind of pain, and probably not the most efficient way, but I created functions that would send data to a different array from the first, only if it had data other than 0. Then cleared the first array and loaded the second array into the first.

  • If I set the size to 0, then wouldn't it delete the rest of the array's content?

jjc001's avatar

jjc001

Member since 12 Aug, 2014

None one is following jjc001 yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies