mogey's Recent Forum Activity

  • Pushing out has seemed to work the best, however, my characters don't seem to be using path finding when using the 'move to' event, if I use the "add waypoint at" event, then the characters would always have to go to the previous waypoint before moving to the last place that the player was at. Is there any way to make waypoints smoother, or use move to with pathfinding?

    Also, I am using the RTS behavior.

  • Yet another post, My zombies use the "move to" event to get to places, however when they go towards my player, they don't obey collisions. They are able to go through walls that are marked solid. They don't even collide with themselves.

  • Even when I do that, the zombie still has to go to the past waypoint before it chooses to create another at the player. Previous waypoints are not overwritten by new ones.

  • Hey there, I want to find the distance between two objects, and use that distance so that if its less than a certain amount, a certain something will happen.

    Also, How would I create this, at the moment I have a zombie, and if it has LOS to the Player, it will set a waypoint at the players position. However this causes the zombie to move to the players last position, and makes the game easy to play. I want to have it so that the zombie will always move towards the players current position, and not going to its last waypoint before doing so.

  • Thanks siron and the_chosen_byte.

  • Hey there construct community. I'm trying to make it so that when a player enters a building the roof texture becames very transparent. How do I edit the opacity of a layer through expressions?

  • I guess I'll go with the array then, however when storing values in the array can you use strings? Or do you have to use integers. Also how do you access the array using construct's expressions.

    Having a problem now, I added a condition to shooting to check if the index 1 is equal to 1, then allow the player to shoot. I also set up an event so that when the player collides with the rifle pickup it sets the index 1 to 1. Yet the player still cannot shoot.

    By the way I know that using global variables for this would work and be much easier, but I want to learn arrays.

    Also, how would I add vehicles that the player can enter and leave?

  • :D Thanks a bunch zyblade and Tulamide!

    Also Tulamide, so your example cap for the array is basically writing data to the array that stores the animation frame its on? And how would I go about creating an inventory using an arrya, would I write a variable to an X,Y position on the array? Or would using 'S' be more useful for this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Also, do you have any links to a tutorial that explains how arrays work? I'm confused by them.

  • How would one go about creating a minimap/radar that sticks at the corner of the screen and only displays some objects on it?

  • Also how can I make a sliding door, as in a door that slides up slowly, then back down and for having buttons that activate it, could I just make another sprite, make it always center on the player and be the player's "hitbox" and have it so that whenever it collides with the button it triggers?

    And last but not least, how would I be able to load the sprites and play them as animations, basically I want to be able to put the loaded sprites into different animations and be able to play them.

  • Thanks!

mogey's avatar

mogey

Member since 14 Jul, 2011

None one is following mogey yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies