andreyin's Recent Forum Activity

  • The PickedCount expression is the way to go I think

    [quote:1f41pry0]PickedCount

    The number of instances meeting the event's conditions. For example, if the event has the condition "Mouse is over Sprite", Sprite.PickedCount will return the number of Sprite instances that the mouse is over.

    https://www.scirra.com/manual/133/common-expressions

    I think that might be it, alright. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey everyone,

    Is there a way to count how many instances of an object meet a certain condition?

    For example, let's say I have 5 instances of the same object, but each with different animation frames. How could I check the count to see how many are currently playing an exact frame? Is it possible?

    Thanks!

  • É pago?

    Is this a paid position?

  • Sheepy thanks :3

    I tried to update the OP with some other pictures but as soon as I try to edit it, all the images I have linked disappear.

    So I'm posting new ones on new replies. Here are a couple I did this week:

  • What's your initial project resolution? If it's HUGE it will make no difference.. You have to use the lowest resolution possible there.

  • It is possible! You said you're using the same background and objects for each level right? And when the player goes to a level, you want to set the animation of those objects accordingly?

    You would just have to do something like

    On levelbutton.click

    • Go to level levelbutton.number
    • Set bacground animation frame to levelbutton.number
    • Set objects animation frame to levelbutton.number

    You'll might have to pick the objects using something like "System - pick all objects" so all their animations are set to the same frame as the level you picked.

  • While clicked, set the barrel angle to "angle(barrel.x,barrel.y,mouse.x,mouse.y)".

  • Some of my 2015 work:

  • HenerzH

    Go to the project properties and change the "fullscreen scalling" to "low quality". This will render the game first then scale it after, instead of rendering it at higher resolutions.

  • Sorry to bump, but I've been looking into this and haven't found a good way to do it..

    Anyone know how can I achieve something like this? It would be pretty cool if I could use something like

    "This is a [red]test[/red]"

    or maybe

    "This is a"&spritefont.offset+value"test"

    I haven't looked into it enough but any clues as how to achieve that would be deeply appreciated!

  • Maybe it would be possible to use Pode's HTML Pack and have an offscreen iframe or something? Then you'd just have to set it to autoplay songs from the embeded iframe.

  • You could try having all the objects on the same family, then pick topmost from that family.

    Something like

    [Pick topmost from family]

    |-[if Object is clicked] - Something happens

andreyin's avatar

andreyin

Member since 11 Jan, 2010

Twitter
andreyin has 1 followers

Connect with andreyin

Trophy Case

  • 14-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x3
    Great Comment One of your comments gets 3 upvotes
  • x2
    Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

21/44
How to earn trophies