Saurygiel's Recent Forum Activity

  • Kind of confusing to me, but I have another problem that involves setting the angle of something every tick towards another instance, but it selects a random instance.

    So is it possible to select the closest instance to the player somehow? Like when you select the action it asks for an X and Y coordinate.

    Is there a way I could select the closest of that instance relative to the player through that?

  • Me and my friends dream game, (hopefully) coming to life. I present to you Pixelsaurs: Land of the Giants <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    "Grow. Survive. Adapt. Dominate. Evolve.

    Take control of the many species of Cretaceous South America in an attempt to do what they do best: Survive. Hunt and grow overtime through the infinite leveling system and upgrade your stats as you see fit. Learn and adapt strategies overtime and unlock skin customizations for all of your dinosaurs through every playthrough.

    If your looking to unleash the dinosaur in you, welcome, to the Land of the Giants."

    Link to the demo: https://www.scirra.com/arcade/rpg-games/pixelsaurs-land-of-the-giants-demo-4492

    Link to our trello for feedback, suggestions, a roadmap, artwork, and other stuffs: https://trello.com/b/vHYUVbNd/galaxy-pixel-games

    I would love to hear some feedback. It's VERY early in development, but the next update will include a new playable dinosaur, a whole new map, and new species in the form of AI. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Well, I recently started too, and I might be able to give some advice on a few things.

    1. Try to get your friends into construct, or find / make friends online (like I have) that can help you with certain aspects that you aren't very capable in doing (For example, one of my friends is a sprite artist, another is an animator for those sprites, and I am the C2 coder). This can give you more confidence in what you can create.

    2. People might say to start with something small, but I instead went with my dream game, as crazy as I was. Think about what your passionate about, what your interests are, and build upon it. Think about some genres and games you love to play and put your own twist on it, follow your dream.

  • You could post the cap.x of your game on here and the community can help you out by testing your game and telling you if it is too hard or something.

  • Does touch option work for ANY thing, (ex : Touchscreen Laptop or Iphone) and I mean anything. or do I have to select a different option besides tap.

    I'm pretty sure it works for anything. You could afterall save the cap.x of your game to a touch laptop of yours if you have one and test it on there. Or you can import the game on your phone (you can look up tutorials for this) to play it and test the touch feature.

  • You could put an instance variable on the sprite playing the animation called CrouchDetection

    And set it so every tick you are crouching set CrouchDetection to 1

    Then add and Else event and the action to set it to 0 so when your not crouching it will be 0

    And finally add a condition to your event that allows you to attack, and make it so the normal attack animation only plays when CrouchDetection equals 0, or make it so that the crouch attack animation only plays when CrouchDetection equals 1.

  • So, I have an AI that pathfinds towards another AI and attacks them.

    The hunted AI is spotted by the hunting AI it sets an instance variable called PursuitDetection to one on the hunting AI. Every 0.5 seconds PursuitDetection is equal to one, it is supposed to find and move along a path towards that specific hunted AI that was detected. The problem is that the pathfinding selects a random hunted AI on the whole layout.

    Is it possible to, when setting a target for the pathfinding, to select the closest 'hunted AI'.X and 'hunted AI'.Y to the hunting AI?

  • Thanks, I'll try this method out now. Hopefully I can get over this problem once and for all!

  • Alright, what about when spawning in new prey? If I spawned a destination object with it, how would I make sure it binds to that specific prey instance?

    Sorry, I think I'll look up how containers work first, I've never used them before.

  • Well I tried it out, and It's really frustrating to try and understand. Do you have any other method? This creates lots of problems. 1. The destination object isn't binded to any 'prey' so multiple prey will run towards a single one is no others are nearby or something. I don't know, It all doesn't make sense to me, It's giving me a headache. How were multiple objects created to be put ontop of the prey items when there was no event stating to spawn one for each instance of prey and there was only one at the start of the layout. Also, if I were to implement wandering AI, the destination wouldn't change with it and therefore wouldn't be able to run away since It wouldn't be ontop of the destination. Any explanation or other way to do it? I hate the idea of using an object for it to pathfind to because of all these problems. >.<

    I think I'm going to have a migrane from this stupid AI that I'm trying to make.

  • >

    > > Yeah.. so you could set a point 500px away from the player at a certain angle, right?

    > >

    > > Wen it's far enough away from the player your prey could go back to idle, or not?

    > >

    >

    > It would probably get it's destination stuck inside an object though, or it would double back and run straight towards you if your in an enclosed areas such as a valley, and the destination is just outside the valley, causing it to just run straight into you to get out of the valley. I guess It could work though, not sure how I would do it?

    >

    Basic example

    Now you will have to find a way to move the destination, when it's either overlapping or outside the layout..

    Unfortunately that cap.x is in verion 219, I don't really want to use a beta version as It might mess up my game... :/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah.. so you could set a point 500px away from the player at a certain angle, right?

    Wen it's far enough away from the player your prey could go back to idle, or not?

    It would probably get it's destination stuck inside an object though, or it would double back and run straight towards you if your in an enclosed areas such as a valley, and the destination is just outside the valley, causing it to just run straight into you to get out of the valley. I guess It could work though, not sure how I would do it?

Saurygiel's avatar

Saurygiel

Member since 27 Mar, 2015

None one is following Saurygiel yet!

Trophy Case

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

Progress

11/44
How to earn trophies