CinderFlurry's Recent Forum Activity

  • Instead of using the compare two values event:

    if 'random(100)

    < Less or equal

    50'

    (that's a 50% chance for the event to trigger)

    how can I say

    'random(100)

    <Less or equal

    Between 50 and 70'

    To add context, my way of understanding % in construct is by using Compare two values. The setup I just showed involved the construct 2 engine choosing a random number between 0 and 100, and if the number chosen is below or equal to 50, then the event will trigger, thus 50% chance.

    But, what if I want to have it trigger if the number falls between two specific numbers? Such as the 'Between 50 and 70' example I gave.

  • Okay cool! Looks like I got the hang of it, it works flawlessly. Before I'm done, I'd like to confirm something first!

    Since I want both enemies and the player to be sorted, the most compact way of doing that would be to make a ZOrder family and put in all the objects I want to be sorted into that family, and assign the variable to that, rather than doing this ZOrder thing for every single family that needs it, right? Are there any problems that could possibly pop up as a result of that, or am I golden?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • May I ask what you mean by 'pick them'?

  • Can you please explain in what way I would use this to achieve what I want to do?

  • Alright, it's not an isometric game but it's the best way for me to explain.

    I simply want to make sprites that are closer to the bottom of the screen appear in front of those that are closer to the back.

    So for example, let's say the player walks behind an enemy. The only issue is that if you placed the player after the enemy, it'll make it seem as though the player is walking on the enemies face - in other words the player would be overlapping the enemy even though they should be behind the enemy.

    I've tried:

    If Enemies(family) Y < Enemies(family).Y

    • -> Enemies(family) Z order Move in front of enemies.

    If Enemies(family) Y > Enemies(family).Y

    • -> Enemies(family) Z order Move behind enemies.

    Doesn't work. I assumed maybe it was because the events were applying the same thing to each and every enemy. So, I used 'For Each' after.

    If Enemies(family) Y < Enemies(family).Y

    For each Enemies(family)

    • -> Enemies(family) Z order Move in front of enemies.

    If Enemies(family) Y > Enemies(family).Y

    For each Enemies(family)

    • -> Enemies(family) Z order Move behind enemies.

    Didn't work. I don't know where to go from this point, does anyone have any ideas?

  • Ahhh so complicated, I can't seem to make sense of it! I don't understand the whole token thing, what is a token? And then it gets even more crazy with the 3rd event! I'm sorry for taking up your time, but do you think you could explain more in-depth for me? I want to learn

  • I'm following this tutorial: https://www.scirra.com/tutorials/906/mu ... e-5?page=1

    In the conclusion it says: 'If you feel like a challenge, try coming up with a way to private message individual peers in the chat room.'

    This is usually done with /pm or /whisper in most of the games I've played, the only problem is I don't know how to set this up. Obviously it's telling me to figure it out for myself, but it's always good to have some help!

    My idea is to check the chat box to see if it contains '/pm' within it upon hitting Return. But I have no idea how to check this through events. Any ideas?

  • The first method doesn't have anything to do with my issue, and I can't seem to apply the second method, even though it's exactly what I want. (just without the touch part).

  • I'm not using touch controls, but I'll see if I can apply these methods to what I'm trying to do. Still open to solutions!

  • My bad! I meant that there's a sprite which the player controls. When they come into contact with the ball sprite, the ball should go in the direction they moved into the ball from. Sorry about that.

  • I'm Chaott, I've been using Construct 2 for awhile now, I think more than a year?

    I first got Construct 2 because there weren't many online co-op games - nothing I could play with my overseas friends. I thought, instead of complaining about the lack of co-op games, why not make my own?

    I can happily say that I've actually made a few now, none of them are being sold or anything, I've just been making them for my friends and I to mess with. They've all really enjoyed them, probably not as much as I have enjoyed learning and making them though, haha.

    My last co-op game was recieved really well by my friends, and they told me I should work on actually selling it, so I've been polishing it and making sure there's no bugs before I sell it.

    I'm also working on a single player mode, for those that don't have the luxury of a steady internet connection.

    I'd like to sell games that are cheap and affordable, for people like me who can't afford games that are even over $20. Hopefully people like this game!

    Anyway that's all there is to tell you about me I guess, hope you enjoy making games like I do

  • When the player touches the ball, I want the ball to move in the direction the player moved toward the ball from.

    All the examples I've found use the physics behavior, which would work if I was making something like pinball, but in my case, it'll just fall off the screen.

    When I say top down, I'm talking about the style Pokemon and Zelda are in, a birds eye view! Any ideas? I have no idea how to go about this.

CinderFlurry's avatar

CinderFlurry

Member since 16 Jul, 2015

None one is following CinderFlurry yet!

Trophy Case

  • 9-Year Club

Progress

9/44
How to earn trophies