borparo's Recent Forum Activity

  • Thanks again. Now i need more enemies! :)

  • Thanks LittleStain. Definetively going with the variable method :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello Tobey,

    Thanks for such a quick answer :). I was thinking more on being able to use the create object event with a function parameter. Something like this:

    Let's say we have 2 families of sprite objects. FlyDragons and GroundDragons, and we want to use a function to create every 3 seconds an enemy of any of those families in the screen.

    Every 3 seconds: call function "newEnemy"(family, screen.X, screen.Y)

    :)Perhaps (just come to my mind) the approach is using a random variable value for the first parameter and in the body of the function create the object depending on that value.

  • Hello,

    is any way to use objects or families within function parameters?

    the idea is to create a function that sets up the angle of motion and speed attack with different families objects as enemies (aliens, planes, dragons, etc...).

    I know i can create the object inside the function body, but that limits the function to the specific object or family i created within. Of course, one way is to create the objects outside the function and use the function to only set up the attack movement values.

    Just wondering :)

  • Ah! thanks a lot. All done :)

  • Hello,

    I'm working in a platform prototype and for the GUI elements, to keep them inside the window i'm using an invisible sprite holder with a system event(every tick) to set the position with scroll x and scroll y.

    However, this set up makes the GUI slide a few pixels(my guess, because of the platform acceleration, deceleration properties) when the character moves or stops.

    Is there a way to avoid this, or a better set up to keep the GUI in place?

    Thanks in advance.

borparo's avatar

borparo

Member since 24 Oct, 2013

None one is following borparo yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies