dop2000's Forum Posts

  • I understand that you need a small overlap. But I think it's easier to do in a sound editor. Mix the beginning notes into the end of the track, and the ending notes into the beginning. And crop it so that it plays seamlessly.

    If you want to do it in Construct, you'll have to play the first copy of the song, and then compare AudioPlaybacktime expression on every tick. When it's almost the end of the song, start the second playback and fade out the first.. I don't know how accurate this will be.

  • If you remove any silence from the beginning and the end of the audio file and play it with Loop=on setting, it should loop seamlessly.

  • With web export you can save to local storage or to some cloud storage. You can also save to a file, but players will be shown "Save as" dialogue.

  • Well, it's just an assumption, I don't know your game. If both dimensions mostly share the same objects and images, then it should be fine.

  • Both methods have their disadvantages.

    You can keep both dimensions in the same layout, in many games the performance impact will be minimal. However, you will have to keep these dimensions separated, for example on different layers. Also, you will need to disable everything for inactive dimension - collisions, solids, stop enemies etc. And you will have to remember filtering out inactive dimension in all events. For example, when picking enemies - only pick instances on a particular layer.

    With switching layouts there is a problem of syncing. You'll need to give Persist behavior to all changeable objects, remember player's position etc. Also, if you have a lot of graphics, there will be a delay when switching to another layout, which you'll have to mask with some transition effect like fade in/ fade out.

  • You do not have permission to view this post

  • In nwjs you can write/read files silently. So you can save games to a folder, for example NWjs.UserFolder & "YourAppName\save01.txt"

    If you're currently saving lots of different keys with Local Storage, it would be easier to put these values into an array or a dictionary, and write Array.AsJSON to the save file.

  • This question is asked here all the time, and there is no good solution. You can vote for this idea, hopefully Scirra will implement it one day:

    construct3.ideas.aha.io/ideas/C3-I-1080

    One workaround is to scale and scroll your game when keyboard is on the screen. Check out this post:

    construct.net/en/forum/construct-3/how-do-i-8/stop-androids-on-screen-153087

  • I suggest replacing Progress bar with a sprite or TiledBackground. It's much easier that trying to change it with CSS. Besides, you'll avoid lots of issues associated with form controls.

    Simply put the origin point at the left edge and update its width with this action:

    ProgressBar Set width to (currentProgress/maxProgress)*maxWidth

  • You probably have this function called in some expression. Once you remove all references to this function from other events, you should be able to double-click it and change Return type to None.

  • You do not have permission to view this post

  • Maybe the string you are pulling from the array is treated like a number? "442" is not equal to 442

    Try adding str() to it.

  • Keep in mind is that when a parent instance is destroyed, it will destroy all of it's child instances recursively.

    Is this necessary? Maybe it would be better to add a setting Destroy with parent=Yes/No in "Add child" action?

    Also, I think there will be a lot of confusion about using scene graph and containers. As I understand, scene graph will allow to create relationships to/between multiple instances of the same object. Say, one Body sprite to two instances of Leg sprite. This is not possible with containers. And what will happen if I add Foot sprite into a container with the Leg? Will Foot instances be picked when a Body is picked? Will feet move/rotate/scale with legs?

  • Again, there is a bit of mix-up with currentLevel and maxLevel variables. If you are always playing maxLevel and it's not possible to go back and replay already completed levels, then you don't need two variables..

    To resume from the maxLevel when you restart the game, you can do this:

  • This week 4 out of 5 new demos were sent to me by other Construct users! Big thanks to Von Perkele and bartalluyn!

    .

    link Trajectory Calculation – two methods (includes Youtube tutorial)

    link Cropping and Expanding an Image

    link Framing Effects With Zoom

    link Pathfinding Stack

    link Communicating with an iFrame in Construct 3