dop2000's Recent Forum Activity

  • Another option is to use replace() expression and custom tags. For example:

    Variable template=This character is {rating}.
    Variable characterRating=super smart
    
    Set text to replace(template, "{rating}", characterRating)
    

    You can nest multiple replace() inside one another:

    Variable template=This character is {rating}. They are {mood}!
    Variable characterRating=super smart
    Variable characterMood=very happy
    
    Set text to replace(replace(template, "{rating}", characterRating), "{mood}", characterMood)
    
  • Are you talking about a sprite animation? Video is a different object.

    You can duplicate the animation frames in reverse order, and then loop the animation:

    0 1 2 3 4 5 4 3 2 1

    If the animation is long and you don't want to increase the number of images in the project, you can set animation frame with events. For example, run a value tween from 0.5 to (Sprite.AnimationFrameCount-0.5), ping pong=yes, looping=yes.

    And set Sprite animation frame to Self.Tween.value("tag")

  • So it's not a case of "just add that", it means implemeting an entirely new kind of user interface within the debugger inspector, and adding new UI usually means the feature request is complicated and time-consuming, which generally means it has to be really important to be worth prioritising over hundreds of other suggestions.

    Ashley

    It's really disappointing that the debugger seems to have the lowest priority when it comes to updates. While the editor and runtime receive tons of flashy new features, the debugger has remained virtually unchanged since Construct 2.

    There's still zero support for Hierarchies, Timelines, Flowcharts, Tweens! Breakpoints still work maybe 30% of the time.

    Yes, it's a back-end tool, and new users might not care about it. However, for experienced developers, dealing with its cumbersome UI and the lack of essential features on a daily basis is incredibly frustrating.

    I'm not referring to this particular suggestion, I understand that implementing a tree view is a significant request. However, there are many other ideas that remain unaddressed. Here are the features I miss the most:

    github.com/Scirra/Construct-feature-requests/issues/329

    github.com/Scirra/Construct-feature-requests/issues/6

    github.com/Scirra/Construct-feature-requests/issues/290

    github.com/Scirra/Construct-feature-requests/issues/406

  • Make a copy of the project and start disabling big blocks of code, testing the performance every time. Then narrow it down, until you find which event is causing the issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have lots of events that run on every tick. Not only this is bad for the performance, but also makes the code very fragmented and difficult to follow.

    You should use triggered events, functions and custom actions more.

    For example, there's no point to compare the health of every ship on every tick. You should do it in the same event where the ship receives damage. And if health<=0, spawn the explosion, destroy the associated bullet in the same event. You could also get rid of isDead variable.

    Ship custom action Damage
    ... Ship subtract damageAmount from health
    ... If health<=0 : Spawn explosion, spawn Gear, destroy Ship, pick and destroy bullet etc.
    
  • You'll probably need to use an additional behavior to continue the movement, like Tween or MoveTo.

  • You can use BBCode and newline expression.

  • You should probably follow those tutorial lessons. If you need the Water sprite to move from waypoint to waypoint, there should be more events. Once it reaches a waypoint, it should pick the next one and set it as its targetID. But I can't tell you for sure because I haven't seen those lessons.

    There is an easier way to do the same with MoveTo behavior:

    dropbox.com/scl/fi/312w1qp846z03urlpi1cg/Moveto_follow_path.c3p

  • When we try to type this in, it gives us a syntax error for the first comma (after Water.X)

    Did you type the word angle( ?

    The expression is angle(water.X, water.Y, waypointBlue.X, waypointBlue.Y) , including the word "angle"

  • does Construct have anything like this too?

    Well, yes! And oddly enough it's called a Function! :)

    Right-click in an event sheet and select "Add function". Or just press F.

    Another function-like thing is a "Custom action":

    construct.net/en/make-games/manuals/construct-3/project-primitives/events/custom-actions

  • You do not have permission to view this post

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 255 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies