lionz's Recent Forum Activity

  • Not sure this really relates to assistance required with Construct 3...

  • The angle is checked whenever you touch R_Control. From looking at the code, the ship is meant to move in a certain way when beyond the Y bottom boundary as seen in event 140. This works for when he uses L_Control, as seen in event 149. If you set up triggers in the events you can see it gets all the way down to 140 but then he can't move right. He mentions this in OP :

    "But to make this even simpler, because our founder appears to be really overburdened, what appears not to be working is in Line 140.

    Basically make ship go down to lower boundary and once at lower screen boundary it won't go right at the default angle of 270, even though it should."

    As I mentioned earlier the condition for 140 is never satisfied, but everything up until that point is working fine. Y < Player Y Bottom Boundary is a separate check to Y > Player Y Bottom Boundary. I agree that the controls are ridiculous though and the investigation took a while, Ashley would've been wasting time.

  • What I'm saying is that if your ship is at angle 270 it does not satisfy being between 270 and 360 therefore your event is never true.

    And the conditions seem to be right as far as the degree limitations.

    Wrong.

  • Yeah but you're posting it like it's a bug with Construct 2? You've just limited yourself with your own code mechanic, Ashley isn't going to help with this as though it is an engine bug.

  • Yeah I've seen your issue. The angle of the ship is 270, not BETWEEN 90 and 270. Not a bug. Change event 140 to 'between 90 and 271' and you'll find it is working. That's how I see it anyway.

  • The format is obj_playerGrid.ImagePointX(0) where the number in brackets is the ID of the imagepoint, 0 being the origin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There's a general example in C2 if you have it https://www.dropbox.com/s/0g3pr5b3qsmrn ... .capx?dl=0

    I only use C2 but it's the same in C3.

  • Are you saying it needs to pick 2 tiers of position, first which 3x3 grid then the block within it? That's not totally clear. Anyway, you would set a variable to floor(random(9)), which picks a random whole number from 0 - 8. Then you would spawn the player on the block where gridblock number = var. If you are choosing a 3x3 grid from the entire map before this then you would give each of the gridblock two variables, a main one where it decides which 3x3 block to go to initially and then use the floor random to pick 0-8 for individual block inside the grid. Something like grid 1, block 8 etc.

  • Tidied up the general pathing logic : https://www.dropbox.com/s/jfmjzjzj2jq7c ... .capx?dl=0

  • Yeah you're not 'picking' the text correctly so it's assigning it to all. You can resolve this easily by putting the sprite and text object in a 'container'. Whenever the sprite is created, it creates the text box with it, and the events should link the sprite to its own text object.

  • So what you're saying is you copied the events in that video but it's not working? Share a screenshot of all of the relevant events, or the capx file itself.

  • Yeah that sounds fine, I can't see your game so was just giving a general solution. It's up to you to decide when you want to toggle that variable and when it hits the barrier seems correct.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

25/44
How to earn trophies