MPPlantOfficial's Recent Forum Activity

  • Hey guys. I'm trying to properly implement crushing sprites. I want to be able to defeat some blob enemies by crushing them with a box. Now I know there are many ways to implement this but I'm trying it against a tilemap surface when the box is approaching the sprite at high velocities. Also, the box should be able to crush it from different angles. Meaning the sprite can also be crushed on the ceiling. Now this is the code I used:

    My problem is illustrated in the picture below.

    While I'm able to achieve the desired results as you can see with the first and second examples:

    At the third example the pink box is also destroyed even if it isn't being crushed but only because it's overlapping the tilemap at an offset when it's the one falling on the metal box. How do I make it so it only gets destroyed when getting crushed?

  • Zebbi

    It's simple enough to test and see. Loading images is done per instance with tiledbackground instead as with per object type with sprites. To animate you probably would want to just create a bunch of instances, load a different image per one, and cycle which one is visible.

    If one were to use URL would that mean the player would have to be online for the background to load?

    So assuming a player is offline, the BG would just display the current layer background?

  • Yes but that only changes the position of the origin point, and not rotation.

    Oh well you can actually set the angle of the text box just like any other sprite. When looking at the different options at the actions tab, you can find "Angle" options at the top. Is that what you mean? Or do you mean you actually want to make the text box runs circles around your character?

    EDIT: Orbits Link

  • Highlight the Text and look at the object properties tab to the left of the screen. Scroll down and you will find the ability to edit the textbox alignment and hotspot.

  • Hoping for simple fixes like the ability to set Physics.AngleofGravity.

    Or at least fix the 'Music' folder so it actually plays music.

  • Sounds like All of your enemy AI should use LINE OF SIGHT plugin.

    If player spotted | Shoot/ Follow/ Sleep.

    There are many ways to implement this. Look at you C2 examples first.

  • I am gunned guns

    And improvements like more Safety, life and energy

    And also selling ammunition

    The sales system is a help service to have more space because I have been able to sell only 6 objects

    Lebrando that is with money inside the game

    I don't understand everything but from what I can piece together you already have in-game currency?

    So you want players to be able to buy your in-game coins using real money? Am I correct?

    First set your in-game money (currency) and use the IAP plugin to give the player an option to buy more. You should check out tutorials on the IAP plugin because there are different types of purchases in iOS and Android.

    The in-game selling part is easy enough.

    For Life (HP), Defence (Safety), Energy (I'm assuming this is like MP) all you need to do is set the price of the increase the maximum values of the said quantities (Life, Defense, Energy) when the player touches the buy button (assuming the player has enough of the in-game currency to afford them.)

    For the guns part, simply lock the guns you want to sell until the player is able to afford. By the way, have you been able to implement all features ? Do you already have a working game?

  • First we have to know what your game is all about.

    Are you selling different skins? Are you selling in-game power-ups?

  • SOLVED

  • SOLVED

  • SOLVED

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Global Var. Sum = 0

    | Set Sum to (Sprite1(0).WeightSprite + Sprite1(1).WeightSprite + Sprite1(2).WeightSprite )

    or use a loop index.

    Remember the first instance of a Sprite would always be Sprite1(0).

MPPlantOfficial's avatar

MPPlantOfficial

Member since 17 Feb, 2016

Twitter
MPPlantOfficial has 1 followers

Trophy Case

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

Progress

13/44
How to earn trophies