MPPlantOfficial's Forum Posts

  • You want a Gradual decrease in speed which you can achieve by deceleration.

    On Spacebar pressed |Set Player.8-Direction.MaxSpeed to (Your max spd)

    Every Tick, Player.8-Direction.MaxSpeed > (Your min spd)| Set Player.8-Direction.MaxSpeed to Player.8-Direction.MaxSpeed/1.01

    There. Just adjust the 1.01 value up and down. Try 1.001 - 1.04 range and see what works best for you.

  • So if your player is hovering over a station you want a small dialogue box to pop over it? Or do you want the dialogue box to cover half the screen?

  • I understand what you're trying to do now.

    Here: https://www.dropbox.com/s/p04xd82wc1n3m ... .capx?dl=0

    I corrected your capx and even included an indicator sprite.

  • I can't see the capx but when you say Bioshock Hacking minigame do you mean a Pipe puzzle?

    I've seen a capx scattered around here somewhere using tilemaps but I don't know if it still works.

    I guess the challenging part would be getting that flowing water animation part to play.

  • enhance.fgl.com use this service to easily put ADs in your apk.

    Looks good.

    What's the catch?

  • Don't you think it's the "enabled" enemies that are taking up more cpu than the dormant ones?

    Either case you might want to create a destroy and create system where you destroy objects outside the viewport and re-create instances at their respective spots.

    Are you using mutiple spawners in your layout? If so you can destroy enemy when exiting layout and save its respective properties (health, magic...) in its spawner and only destroy the spawner as well if the enemy reaches 0 HP. This way, you don't end up with some

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ...I need to get the UID of the object...need to apply properties to specific instances.

    In that case you need IID (Instance ID) and not UID.

    Global Var: ObjIID = 0

    On left mouse click on Object | Set ObjIID to Object.IID

  • okay but when I put on the project construct 2 and I reduce the size, why it will be pixelized? I understand If i grow up the image from a little size that will be pixelized, but reducing is that really make the sprite pixelized?

    No what you do is import the image to construct 2 and not resize it in the editor but resize the sprite that it produces.

    Import the image and leave it alone.

  • Choose an image that is 1.3-1.5 times the size of what it will be in the game.

    Any more than 2x and it will start to pixelize when shrinked.

  • Easy enough.

    First of all you would have to own .ogg files for EACH SEPARATE NOTE of your songs.

    On start of the layout, pre-load all sounds so your game doesn't slow down then play each note when the right tile is touched.

    For the playing of sounds part I would guess the "right sequences" for each song stored is in the form of a .json file

    Mod

  • I see.

    Then it's just a simple matter of choosing your grid size and setting position:

    For example a 32x32 grid.

    Set Sprite to 32*Width, 32*Height

    Taking into consideration where in your layout the grid starts, you should add these values to the Upper Left Corner of the grid.

    Now whether the words 'Width' and 'Height' are usable for global/instance vars is a whole other story.

    You could also try out Rex's grid plugins but I have no experience using those.

  • Check you events again.

    You must have a "on start of layout | create character at x,y" in there somewhere.

    If you still have problems, a workaround would be to destroy all instances and recreating one on start of layout.

    On Start of Layout |

    Destroy Char

    Creater Char x,y...

  • Use loops. But I'm lost here, how are you gonna calculate if you don't have an array? Where are the values being stored?

  • Instead of finding that example you speak of I tried my hand at making it again. It seems finicky to set up the joints correctly.

    \https://www.dropbox.com/s/9q8a0b2kpbzesv6/ropePhysics.capx?dl=0

    Alright. Thanks again!

    Will be trying this out tomorrow and I'll reply asap.

  • Will be using C2 for everything except C3-only Jams.

    Need to join a Jam finally.