SuperV's Recent Forum Activity

  • shogo pwnz

  • I think I found the problem. This bug only happened when I used Groups. I don't know the exact steps, but it never happened when I wasn't using groups (proofs:)

    * I once added a group to a non-group cap to organize it and it gave same error.

    * The error I posted is about groups.

  • It's a nice example but it works the same with a normal 'Compare private variable' condition in place of the pick by evaluate...

    Yeah, I know that, but it still shows one of the possible uses of Pick by evaluate.

    I think it's more user-friendly than Compare.

  • Nice! I like little things like this! It gives you an arsenal of tools to use later in hard situations.

    We should have a sticky with all of these nice examples divided in categories.

    It would be awesome.

  • > What was the reply?

    >

    >

    > I wish you luck in your project, but I'm afraid I'm not looking to get into a collaboration right now. Not to mention I haven't used Construct in a couple months and I'm rather behind on new features and bugfixes and such.

    >

    Ok. Feel free to tell me when you want to partecipate, you'll always be welcome.

  • I made this little example to show you how to use Pick by evaluate.

  • If you start the same physics demo over and over, physics will react differently.

    This sucks for phyiscs puzzle games.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hrm, there seems to be something funky with my PM's. I did send a reply to you back on Monday, but it hasn't gone through. It's just sitting in my Outbox and doesn't show up in Sent. I've tried two more and they seem to be doing the same thing. Strange.

    What was the reply?

  • >

    > Also, how can I render my array with sprites? Rendering the player is easy, but what about walls and stuff? Won't there be a delay rendering every cell?

    >

    Arrays (in this kind of situation) are usually just used for level loading and saving... the array is called on to load the level, then the array just sits there and does nothing until it's needed again (for instance, to load the next level, to save the level, etc.). Game-play functions usually aren't passed through an array like that in the main game loop. I'm curious as to why you would need to do that. Is this a grid-based movement type of game? If so you should separate the array level-loader/saver and the grid movement.

    I'm trying to remake a grid-based game with very complex enemy AI.

    For example, Goblins check with the Pythegorean Theorem the best square to reach the player's back (to backstab him) and assing to it a value. If they don't find a better value they move there, unless stopped by something.

    For example, Wraithwings check their distance from the player and from other Wraithwings. With several criteria they decide to flee from the player or attack him rushing.

    See? It's must better to have an array, or if you can, even with an example, explain me how I could do it.

  • That's a very handy feature.

    I agree. I can think of many uses for it.

  • In my game I have an array, 10x10x1 (x,y array). This array can have 3 values :

    0) player

    1) wall

    2) enemy

    ---

    And now I'm stuck. How can I move the player, and move every single '1' basing upon the direction of the player?

    I want the player to move on the array when I press the arrow keys.

    I want the wall to block enemy and player movements.

    I want the enemies to move every turn towards the player (even diagonally).

    How can I find a value in the array (0) and move it?

    How can I find each value in the array (2) and move them independently?

    If someone provides me an example I'll be very happy.

    ---

    Also, how can I render my array with sprites? Rendering the player is easy, but what about walls and stuff? Won't there be a delay rendering every cell?

  • Heh, thanks, guys.

    Good job on the updates, Ashley. I see you're as busy as ever

    Welcome back Deadeye! Me, and all the community, I think, missed you.

    I also sent you a PM, if you would like to check it out :p

    Look at the uploads section for the Game of Life and other impressive creations

SuperV's avatar

SuperV

Member since 16 Jun, 2007

None one is following SuperV yet!

Trophy Case

SuperV has no trophies yet!

How to earn trophies