RobertMKD's Forum Posts

  • Okay guys, I've fixed it!

    First I was sorting the objects using 'On Created', and I had a separate 'every 0.1 sec' event that updated the Z orders of the objects that are moving.

    So, now instead of only updating the moving objects, I am updating all objects, and that's what fixed it

    Thanks to everyone!

  • The screen's failing to update is a logical explaination, but I do have animating objects on screen, and they are also not properly ordered..

  • The part where I set the 'Z Order instance variables' is working properly (I have already checked that in debug), while the 'sort Z Order' is in the same event together with the 'set instance variable' action.

    The objects are in a same layer and yes, I'm using a family.

  • I am making a 'Pseudo-3D' game. So, some objects that are closer must cover the further ones. So, I've got this instance variable that determines their position based on the their Y coord.

    Then I sort their Z order with the instance variable and expect it to do its job.

    But it doesn't work the way I want it to, so I'm afraid I don't know what the purpose of this action really is.

  • There is an option for displaying banners and interstitials, but not rewarding videos, while on the AdMob page, there's an option to make a rewarding video.

  • The disk usage hits 100% while previewing my project. Does that mean I have some triggers that overwhelm the disk, or it's a normal thing?

  • The disk usage hits 100% while previewing my project. Does that mean I have some triggers that overwhelm the disk, or it's a normal thing?

  • You get the position of a 1d Array with IndexOf()

    How do you get the position of value of a 2d or 3d Array?

  • Can I see how Ads appear in the browser preview? If not, how can I test them out then?

  • Okay, the problem was something else, and I've fixed that. Thx

  • But my frames are 0 and 1. How do I pick between those two frames?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am trying to create more objects of one type and change the current animation frame for each instance to a random one. The problem is, it works for one object, while it's not working for another object, even though the events are identical.

    prntscr.com/e1fuyh this one works well.

    prntscr.com/e1fv6t while this one makes the animation frames of all instances of this object the same.

    What may cause this?

  • Ah, sorry, I missed the part where you say that you don't want it to change the angle. You probably want to control the object using your mouse arrow right?

    Well, in that case, you should take a look in this C2 template 'Space Blaster' which you can find at File>New>Space Blaster:

    prntscr.com/e0amyz

    In this example, the spacecraft moves only when you are touching the screen, but in your case you should change the touch conditions with the ones used for mouse. Also don't forget to add the mouse plugin to the project.

  • No, you need to set the angle between the coordinates from the instance variables and the coordinates of the cursor. That's the angle you need

  • I am currently trying to add some ads in my project, but I am unsure if it is possible to test them in browser..