eli0s's Forum Posts

  • TheDom what do you mean "set the time scale"? The animation set speed? Or is there a per object time scale somewhere? The only time scale I know about is under System conditions and acts globally.

  • I think what BigHid Ikarus means is to have a context menu "select" and "replace" within the layout view, not the event sheet, just like the "align" and "z-order" menus.

    While you can't replace the instances that exist in your layout view, you can select them all at once by clicking on any specific object either on the Objects Window or the Projects Window list. After that, you can move them around or delete them all together from the layout.

  • Ok, I got it, please check your inbox!

  • I don't mind giving it a shot but I don't use Skype very much. How big of a file is it, couldn't you send it with an e-mail?

    Of course, if you post screenshots here on the forums, other users that are more knowledgeable than me might also help.

    Anyway, my mail is , feel free to send a sample or something and I'll try to help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does the following capx come close enough to what you're after?

    http://www.eli0s.com/Tests/CrouchingTest.capx

    Use "A","D" to move left and right, "Space" to jump and "S","W" to toggle between crouching states.

    Regarding the sound issues that you mention, I am not quite sure that I understand what you mean, but if I had to make an educated guess that would be that you are re-triggering the sound(s) at every frame (tick).

    Ont he event that you want to trigger the sound from, create a sub event and add the System's "Trigger once while true" condition. Then put the play sound action.

    Hope that helps

  • +1

    An other thing that quite surprisingly is missing is some kind of an indicator (a cross?) in the color palette. The horizontal level bar has an up looking arrow which is very helpful, but the color palette is missing any indication that reflects the current hue and the saturation, thus making picking neighboring colors impossible. One has to play with the RGB sliders which I find somewhat counter intuitive if you already "see" the hue you want.

  • The above.

    Or use winrar, I usually right click and choose open with winrar.

  • moymoymoy

    You are right, I saw the icons and I only read partially the names so I wrongly concluded that these are the same sprites and that the conditions cancel each-other...

    Anyway, I am glad you made it work

  • Have a look at rexreinbow's video plugin.

    https://www.scirra.com/forum/viewtopic.php?t=64528&start=0

  • I don't think that your antivirus software treats pngs as trash or otherwise harmful files. You can always check the threats history and see if it's somehow related.

    That being said, I don't know what happened to your file and why it has been deleted.

    The capx files are essentially compressed files and folders, if you un-compress a capx file you' ll get the same file structure as with the save project option.

  • I encountered problems with corrupted files a few versions ago. The problem for me was recurring when I had Construct running while the PC was left off for a lot of hours with out doing anything. Sometimes the next save was corrupted and most (if not all) of the textures was missing (I used the compressed .capx save option). The "solution" was a lot of iterative saves. That was before the autosave functionality though.

    Try searching "Particles.png" at the Textures folder within your Project folder. If there isn't there, put a png image with the same name and see if that helps.

    Also, try the autosave file, perhaps it has most of your work intact.

  • Thanks for the useful replies.

    I've added eli0s ' text as a private tutorial on my computer and I am going to try out remy-jay 's tip.

    Urr, I messed up the dt to seconds translation. 100 * dt = 1 sec, 200 * dt = 0.5 seconds and 50 * dt is 2 seconds. In my previews post I am way off.

    Basically dt ensures that you get real time results no mater the frame rate, in our case, we want to add or subtract a value of 100 (the maximum opacity) so by multiplying +/-100 with dt we get a value change of 100 within one second. The dt is like a constant, so for half a second fade we say add (or remove) the value of 200 in dt time, but since our maximum value is 100 the result is getting a 100 value (or 0) in half a second...

    Here is an example capx which basically does the fading with on mouse over/mouse out events.

    http://www.eli0s.com/Tests/Fades.capx

  • Ok, I just realized that Construct doesn't like it at all if you scale the text object! It drops the fps like crazy so I guess that it could probably cause other problems too.

    I made a test capx showcasing the "zooming to the center of the window and not somewhere else" (if I may call it that) behavior. If you set the GUI layer's scale rate to 100 and try to scale the layout, the fps will fall like crazy!

    I also tried the mouse.x("layer") expression that Sargas mentions, it works as it should! I don't have the energy to further look to the layer.canvasToLayerX(x) right now and it looks more complicated.

    http://www.eli0s.com/Tests/Zooming.capx

    What would be very useful is to be able to specify the point of interest, in other words to have a variable defining the origin point upon which the transformations take place. Both with scaling and parallax scrolling. But this is an other topic https://www.scirra.com/forum/viewtopic.php?f=146&t=83989.

  • In every event that the condition is being called on every tick (like the "is overlapping" that you have).

    Also, in your photo the first event (37, or 87, I don't really make it out the image is cropped) you have a very strange condition, basically you are checking if the Player is overlapping and not overlapping Snake_Block at the same time!

    My guess is that since Construct reads events from top to bottom, the first part (is overlapping) is being replaced immediately from the second part (is not overlapping).

  • I thought that you could size up or down the text object in invert relation to the layout's scale (set layout scale to 2, text width/2 & height/2 || set layout scale to 1, text width*2 & height*2), or even scale the layer with the text object inside (set layout scale to 2, text layer scale 0.5 || set layout scale to 1, text layer scale 1) but for some reason it doesn't work, it does some weird stuff. Well, it works only if the layout size and window size are the same dimensions but that isn't very helpful. Maybe this is a bug, I don't know, I am confused with the parallaxing add scaling behavior in construct.