fedca's Recent Forum Activity

  • Hey,

    These points are a bit too vague and can be tackled very differently depending of the exact functionality you have.

    On this website under learn there are tutorials you can check as well as the documentation.

    In case you have more specific problems feel free to ask.

    I hope that helps :)

  • the video temrminou shouldn't be a subevent of the trigger once(ativa uma vez)

    just have it as a normal event.

  • well the problem is that the loop keeps running while the conditions are true, creating a huge amount of sprites (tbh I would assume the game to crash).

    But because I don't know the context it's hard to tell what you are trying to do.

    I think what you should do instead of a while loop is:

    if oil is overlapping Sprite

    sprite.workersassigned >2

    trigger once

    than have the actions like they are

    but remove the sub events

    and instead have the on created ...

    and a normal event like

    if sprite.BuildComplete = true

    trigger once

    wait 2 seconds set build complete to false

  • add event

    select green boox

    search for on created

    (make sure there is no other trigger in your event already bc that makes it so you can't add other triggers unless it's an or block)

  • I'm not sure I fully understand...

    I would use:

    green box ->on created: wait 2 seconds destroy

    Though if I am reading your loop correctly it does work, but it keeps creating new ones so it never loooks like they get destroyed.

  • What confused me is that you didn't use animation triggers but instead set the animations every tick while something is true.

    Aswell as the stacked else conditions, makes it a bit hard to read. I would probably use inverted conditions instead.

  • So I would say take a look at that the AJAX plugin, this allows to load files at runtime. I would say with this it's fairly achievable.

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/ajax.

  • just add an inverted is Attacking to the player run animation action.

    It currently sets the animation to run every tick while the player is moving, instantly overwritting the attack animation.

    tbh I'm a bit confused how or why your character and animation controller is setup like it is.

    looks super neat though with the nice sprite and 3d camera movement

  • You could still automate the creation of the separate text objects.

    Using a text object or dictonary etc that has the whole text and then have a loop that creates a text-box per word from it.

  • Unless you would use a monospace font (means each letter has the same width) it would be difficult to determine which letter or word the player clicks, as construct only has a collider for the whole text object.

    with a monospace font you could check the position of the cursor compared to the text object and use tokenat.

    But imo it would be easiest to use seperate instances per word like oosyrag said.

  • yea, you just use array.At() to get the content of a cell.

    I'm not sure I fully understand

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • every 20 seconds create object Marker at position

    x= random(0,LayoutWidth)

    y= random(0,LayoutHeight)

    on player collission with Marker

    set marker instance boolean collected to true

    set marker position to

    x= random(0,LayoutWidth)

    y= random(0,LayoutHeight)

    on player collission with Marker

    and

    Marker instance boolean collected = true

    add X to variable currency

    destroy marker

    or if you want to create the marker at predefinde positions

    you could place invisible spawner sprites and use pick random instance

    and spawn at placeholder instead of the random position.

fedca's avatar

fedca

Online Now

Member since 6 Jul, 2017
Last online 20 Nov, 2024

Twitter
fedca has 65 followers

Trophy Case

  • 7-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x221
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x32
    Lightning Draw First person to up-vote a new Construct 3 release
  • x28
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

22/44
How to earn trophies