AnD4D's Recent Forum Activity

  • Looks like it's impossible. Text really is the most limited part of Construct 2, isn't it? Can't change colours/fonts... can't see what it looks like in game, and need to play the game to just see if it's correct...

    And finally, if your text ever fills up the box, you can't check it and change the scale accordingly... you just have to settle for an average font size and hope it all works out well. Shame.

  • I'm going to bump this rather than ask the same question, as it'd be good to know.

    My game has text that can over run. I want the scale to change if this occurs, but I have no way of measuring if it does.

  • AnD4D

    Try 2.7.

    Very quick! Thanks!

  • Also, somewhat cheeky, but might it be at all possible to include a duplicate character remover in the program? I've been given a whole bunch of characters I need to include, and I note many of them are duplicated. I've found something online explaining how to do this via javascript, but I can't get it to work at all.

    http://www.guideforschool.com/1939213-program-to-remove-duplicate-characters-from-a-word-2/

    *EDIT - Wait a minute... does it already do that?!?!?! Amazing!

  • Found a potential bug... or more likely a rare user interface issue. I have a lot of characters to work with...

    qwertyuiop@asdfghjkl'!zxcvbnm,.?1234567890$áäçúüíóöèéëñ()[]._:-/~!@#$%^&*()-+=_`:;[]{}\\|\"'<>,.?/.,·'_‘’‚‛:;¨`\\/ƒºª«»()[]{}*‹›\"“”„~&#?!¿¡←→↑↓√§¶†‡¦–—⇒⇔¤$¢€£¥™©®<>+-×÷=±∞^ˇ˘˙¸˛˜′″µ°¹²³♭♪•…¬¯% ¼½¾♡♥●◆■▲▼☆★♀♂àéòûüóêáâëôýÿõìãäíöþßøîåæïœùðçèñúšēįńņiěžāėıňőijęăąğķŕřĺġćċģļśşľħčďīłťūƒdžůűdzțųźżακτυλβγμφχνδεξψωοζηπρθισάΐΰέής;ίό΄΅ύώ·ϊϋаисъытйбвкуьэфлгдмхюяцнеёочшпжзрщ

    When I add this into the text area, the refresh button is pushed off screen, so I can't see if it works.

  • So having multiple sprites representing different teams appears to work, but it's a shame that you can't determine a target based on its variable as opposed to only its sprite.

    Using a family makes it easier to determine which member of the family you'd like to pick, but it requires more events.

  • So it seems that you can't use the turret behaviour to target the same sprite as itself. It'll either target itself or the first version created. No amount of disabling and picking teams seems to make a difference. It'll target anything. Shame.

    The only way I can think to fix this then is to have multiple sprites of the same objects depending on how many teams they'll be, put them in a group, and hopefully separate them out using that... I'll give that a quick go and report back.

  • Lancifer Sure, that's what I did. 60 down to 30. I could have lowered it some more, but that made the jerky animation even more noticeable.

  • vtrix My apologies for coming across as harsh, but I guess I was thrown by "will practically fit any shipdesign". This statement is seemingly true, so long as it's a single engine, or the engines are very close together. My ship has engines quite far apart, so seeing the left and right engines was just disappointing. That, and only 6 frames of animation, running at a smooth 60 frames a second meant that the engines were looping 10 times a second. I had to lower it to 30 frames per second to make it look better, played around with some effects, edited the animation, and included some particles to make it look better.

    It's alright now, but I guess I was expecting something similar to:

  • I've been working on a project, trying to get objects with the turret behaviour to target other objects based on their team.

    Seemingly, no matter what I do, the turrets will aim at the player no matter what team they are on. I've tried setting up a condition that states "If team = 0 target player", but the other teams will also target the player. I've also tried picking an instance of a certain team, and they're also targetting the player.

    At the same time, I tried using a container to spawn these turrets, and pin them to the base, but when created, they pin themselves to the first instanced object only... not sure why, so that's why my code has that extra bit at the start.

    Ideally, I'd like the turrets to target the closest team that isn't their own, but I can't even get the teams separated at this moment in time.

    Here's a quick break down comparison of what I've done: https://copy.com/WToLXjDSmNaNrcsr

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • blackhornet Thanks a lot ☺

  • blackhornet Ahh... is this a bug then? I use loopindex to base it off of the number of gamepads... I wanted to save myself repeating the code 4 times.

AnD4D's avatar

AnD4D

Member since 4 Nov, 2011

Twitter
AnD4D has 3 followers

Connect with AnD4D

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies