moebios's Forum Posts

  • Hey guys. Doubt. I have an array created with events and, I want to manipulate it using JS, like:

    let myArray = runtime.objects.arrayWaves.getFirstInstance(); 
    myArray.push("hello"); 
    

    Is it possible?

    Tagged:

  • I did it this way, I don't know if is the best way, but it's works

  • I used timers to call the function, did you mean to use the behavior time to create the bullets instead the function?

  • Hello, I was creating a function for enemy shoots players.

    The function:

    The problem is, this function are creating three bullets at the same time, but I want to create one by one after calling the function. Any idea?

  • Hey guys,

    I am learning (try to, haha) about JavaScript + Construct and a tried a simple function but I think I made it wrong.

    My function set opacity of object:

    function setOpacity(obj, opacity) {
     obj.opacity = opacity / 100;
    }

    And I call the function every the Family "enemies" is created:

    setOpacity(enemies, 50);
    
  • Hey guys.

    A fast noob question here =)

    How do I push back array with code? Is it like JS?

    const fruits = ["Banana", "Orange", "Apple", "Mango"];

    fruits.push("Kiwi");

    I'm not a programer, sorry for the noob question =/

    Tanks =)

    Tagged:

  • Hey Guys, the mobile question of the day =D

    How do I make the app image get full inside the circle android icon?

    Always I export the APK and install it on my android, the icon looks like this:

    ( [image] ) Other apps look like ( image )

    Any idea how to solve this?

  • "You got "& points &"congrats!"

  • Hey guys,

    after many tests I discovered if I uncheck "test mode" and put a real ID banner on the mobileAdvert plugin, the rewarded advert works in my APK too, not only on my PC like before.

  • I don't know if it is better, but I think you can simplify your code, and just add a variable to insert the angle of the bullet...

    capx: drive.google.com/file/d/1ZgslZV1abEbFAq5GpYJvV8qp0NGAnqUL/view

  • Hey guys, another mobile question here =D

    I'm using mobileAdvert plugin to show a rewarded advert when the player clicks in "continue game". When I test on my PC, in the browser, the rewarded advert works perfectly, but, when I export a debug APK, the mobileAdvert are checked with "test", the rewarded advert doesn't work. I have a "banner advert" and it works normal (on 'debug APK'), just the rewarded advert doesn’t work. Is it normal? Or maybe I made something wrong?

    PC

    debug APK

  • Oh, ok. Thanks =)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hmm, I mean change the icon to a full-screen image, you know, if I just change the icon to an image, the construct shows the image in a circle, like another icon, I was trying to show the full-screen image in the splash screen

  • Hey guys,

    It's possible to change construct icon to an image/illustration on the app splash screen?

  • Simple push will do: construct.net/out

    Hey, alextro I tried to use your solution, but, when I put 2 different enemies and they colid they took stuck to each other, any solution to this?

    Tanks