moebios's Recent Forum Activity

  • Hey guys. I'm working on a twin stick project (like nuclear throne, enter the gungeon...), so the weapons rotate according to the mouse position. I'm trying to make the melee weapons swing when the player presses "shoot", like a sword, or make a spear go in the direction of the target and then back (like in the Brotato game). I'm trying to use tween, but I'm having some problems.

    1. How do I make the sword swing attack to the right side and then back? I know I can use the pingPong tween effect, but how do I make the movement? It always stays at the angle of the mouse.

    I literally have no idea where to start. Do you have any suggestions?

  • correction, it happens in firefox too. I need to run the project on other computers to understand if it is something on my PC or something on the project =S

  • Can you try Firefox? Both Chrome and Opera are based on the same Chromium engine. But Firefox is different.

    I played on Firefox and the problem doesn't happen... thnks

  • this happens in any browser here (chrome and opera).

    my video card is up to date.

    This happens with several of my projects. it's pretty boring =(

    it happens with some sprites, with others not. could it be a bug?

  • In my project, when I create an object for the first time a white rectangle blinks and disappears.

    There's nothing on the sprite.

    When I create an object this happens. This happens with other objects as well.

    Any solution?

    Thanks!

  • Oh, ok... make sense. Thank you for your help =)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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:

moebios's avatar

moebios

Member since 19 Jan, 2013

None one is following moebios yet!

Connect with moebios

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies