electrii's Recent Forum Activity

  • I'm having alot of trouble with multiple objects of the same kind behaving as a group instead of individuals.

    When exactly is it best to use "for each"?

    For example, I want object "Enemy" to play a walking a animation when value "Walk" is 1, with "Trigger once" so the animation won't stay on the first frame.

    It works with one enemy on the screen, but if two are walking at the same time only one will animate.

    If I add "For each" to the event then they all animate whenever one of them is walking.

    This is killing me whenever I try to add some AI, could anyone throw some tips my way?

  • I'd also love a path behavior. it would also be nice to be able to to assign each waypoint a "resting time"

  • Hey again, another small suggestion - wouldn't it be nice if under "Size & Position" we could resize objects using percentage relative to its original size?

    Making objects gradually grow/shrink is a bit of a pain with "set width/height" if the object is asymmetrical.

    I'm sure some people here can relate

  • A small suggestion.. could the ball behavior be tweaked a little? it would be pretty sweet if we could adjust the ball's gravity, because it's pretty floaty as it is.

    If we could control it a little more, it would be great for particle effects!

  • Two suggestions that I think could improve workflow.

    One is to be able to create object folders (background assests, enemies, etc) to minimize the clutter when looking for that one specific object.

    The second is to be able to load object lists from other layouts. cutting/pasting each object manually is kind of a pain..

  • This is a weird one.

    I load all my graphics as anti-aliased PNG files, and when I click to change the position of hotspots, with each click it degrades the image (mostly the edges) more and more! at first I didn't realize why my sprites were getting jaggy, but I think I found the culprit.

    Note that this only happen if you switch frames using the timeline on the bottom of the picture editor.

    Did anyone else notice this?

  • Awesome, I figured it out. I think it solved my freezing solution, since a solid box collosion is much more stable than an animated sprite with pointy edges

  • I'm guessing "body" is the active object and "sprite" is the skin?

    maybe I should take a look at your cap when i'm home. containers look useful.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I couldn't really figure out containers. I assigned them and got the yellow box and everything, but it doesn't seem to register. I don't think it assigned them correctly, since I didn't really understand what you meant by:

    + objectBody condition
    [ul]
    	[li]objectSprite: Set position to objectBody[/li]
    [/ul][/code:3o0z24j7]
    
    Did you mean "always - set position"? because if I do that the containers seem to rapidly switch between sprites.
    
    As for your question, construct does seem to detect when a platform object is on collosion with the ground, but only when it changes direction.
    
    Edit: I found a way to work around it - when a platform object is "on the ground", it's Y velocity is set at 100. no need for detectors now, I think!
  • Thanks, it seems like playing with the heirarchy did the trick.

    Can you think of any alternative way to detect when a platform object hits a solid? putting a detector on the bottom for each enemy seems redundant, and making an event that says "when <enemey> hits solid - set animation" doesn't work for some reason, until the sprite changes angle, then it's triggered. it's probably a bug.

  • Thanks, but that wouldn't work out since the enemies use platform movement as well.

    I'm also having weird problems with collosions now. I want to change an animation when the enemy hits a solid, and it doesn't detect it.

  • deadeye to the rescue!

    the first tip was a success, but the second one wasn't quite what I was asking.

    Let's say I set the enemy to walk left when the player is to the left of him (detected by comparing X positions) and vice versa.

    If I set one enemy on each side of the player, both of them will walk in one direction, instead of each one heading towards the player.

    Maybe I overcomplicated things, since the game seems to hang every once in a while. maybe I'll restart the AI again.. platform AI is a pain in the ass!

electrii's avatar

electrii

Member since 17 Feb, 2008

None one is following electrii yet!

Trophy Case

  • 16-Year Club

Progress

16/44
How to earn trophies