dop2000's Recent Forum Activity

  • Think I'll try this developer.android.com/games/pgs/leaderboards

    I believe this is for Android apps published on Google Play only.

    If you are making a web game or a multi-platform app, you need to look at other services like PlayFab or Firebase.

  • It pauses waits and events like "Every X seconds". It doesn't pause most other events, loops, triggers.

  • Is that screenshot from the array editor in Construct?

    Column names in the array editor are just for convenience, you can't use them in expressions.

    You need to loop through the array on its Y axis, comparing elements at X=0 and X=1 with the instance variables on the sprite:

    For each Sprite
     Repeat Array.height times
     Array.At(0,loopindex) = Sprite.Episode
     Array.At(1,loopindex) = Sprite.Sequence 
     --> Sprite Set animation to Array.At(2,loopindex)
    
  • Yeah, you can use this formula:

    Audio Set volume to log10(volumePercentage/100)*20

    Where volumePercentage is a value between 0 and 100

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You will need several events:

    On Q Key Pressed: start a timer, say for 0.5 seconds.

    On Timer: open menu.

    On Q Key Released and if the timer is still running: stop that timer, and switch weapons.

  • You mean the route editor? Its interface may be very simple like: on "A" key pressed create a waypoint sprite under mouse cursor, on "D" key destroy a waypoint sprite under mouse cursor. And the sprites have drag&drop behavior, so you can move them.

    Then press a button to export all waypoint sprites to a string of coordinates. The resulting string may look like this, each pair of numbers representing waypoint X and Y:

    100,100;120,200;200,120;300,300

    Or it can be a JSON array:

    [{"x":100,"y":100}, {"x":120,"y":200}, {"x":200,"y":120}, {"x":300,"y":300}]

    Then in your main project you need to parse these strings or split them using tokenat() to extract these coordinates.

  • It's up to you how you organize this. I would probably prepare a large single JSON with default values for all creatures (see an example in that linked post).

    And if needed, store a small JSON record with custom stats for each creature instance - as a string instance variable, or in a JSON object in a container.

  • For many reasons I can't use a single object with 100 frames or animations, so I have to work on 100 different object unfortunately.

    Why not? And why can't you combine them into a family?

    It's not a good project organization when you have 100 similar but different objects, each with its own instance variables, behaviors etc.

    Even if you find a way to run an event for all of them (say, via a script), working with these objects will be very-very difficult. I strongly suggest to reconsider.

  • If only 5 objects will be moving at a time, then you shouldn't worry about the performance. (unless you notice issues with it)

    But there is another question - if you need 100 different routes, how do you conveniently create and store them? Making them by hand and saving as timelines, for example, is going to be a tedious task.

    In the game I'm currently making, I am storing NPC routes in a JSON file as a list of waypoint coordinates. I made a small "route editor" project for that.

  • Ashley likes to post this link:

    construct.net/en/blogs/ashleys-blog-2/answer-own-performance-925

    I imagine with hundreds of moving objects the performance will not be very good with either method. You might want to think of some ways to optimize this.

  • No, debug mode pause is different.

    Settings timescale to 0 pauses all behaviors, animations etc. But events still run on every tick. Otherwise how would you control the game while timescale=0?

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 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