LeKinkss's Recent Forum Activity

  • Another way that is useful in some situations is:

    For each sprite ordered by random(1)

    — do stuff

    — compare: loopindex=1

    — — stop loop

    i dont understand that as " event system "

    compare what ?

    if i compare is my boolean is true, when it picks randomly, it can pick the same one.

    It doesnt spawn a sprite, but the same tower is picked

  • Hey !

    i know that there is a lot of subjects about it but i didnt find my solution.

    I have 4 towers who spawns bullets each second.

    But i want to pick two of them at start of the game, randomly.

    I tried to use " pick random instance " and duplicate it two times.

    But sometimes, the same one is selected two times.

    So, the game pick only one tower.

    How can i force the game to pick two different ones ?

    thanks !

    Tagged:

  • I think you can set the origin point in the center and simply configure Grid Offset X/Y settings in TileMovement behavior.

    Which origin point ? of which element ?

  • I know, it is a weird question.

    So, i have my game, with my sprites, characters with a center origin and tile movement behavior.

    But i want to make a tile map with a center origin. Not a top left one.

    To create easily levels.

    If i put the sprites with a bottom left origin, it struggles all of my code, but tilemap works fine..

    Please help !

    Tagged:

  • Are there any other events where you change object position or vectors?

    Can you share your project file?

    Maybe on the ring event :

    we.tl/t-dvT7eFg9Yr

    you have the project and and addon that you need to install. A move to behavior with better things thats the basic one.

  • It's probably your JumpFall function. Why do you need it? Can you just set a higher gravity value?

    nope without it is the same.

    Jumpfall is for a variation in the jump. when you let down the space button, the player dont reach the max value of the jump.

  • How did you make the jump? You need to show your code (event sheet).

    it will change anything but if u want to

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I don´t know exactly your problem, but if you put trigger once or key A,B.C...the keys that you use in the platformer and invert or both possibilities , it will probably work.

    dont understand :/

    The problem is ' the jump is depending of the framerate "

    I use simulate jump from Platform behavior. It should not have this kind of problem

    60 fps is like jumping at 100px

    30 fps 50 px

    144 fps 150 px

  • hey !

    so i am using the platformer behavior. And Space for simulate Jump.

    But my character is doing higher or nor depending on the framerate.

    What can i do.... ?

  • For some reason, no matter how much I read about delta and try to understand it, it just doesn't sink in. Then you have people on the forums using different delta formulas which makes it more confusing.

    I wish there was a way to just set the minimum and maximum framerate within the project and just call it a day.

    Even using behavior system, the jumping is not the same at different framerate

  • It is very weird, with my controller when the game is launch,and when the screen is full, my controller got input lag. Not with my keyboard but only with controller.

    There is no input lag when i make an .exe so its ok. But why ???

    Tagged:

  • Have a look at layers and blend modes. You can create a sprite the size of the bullet and have it reveal what is behind. You can also use the drawing canvas

    what do you mean behind ? which blend mode should i use ? should i make invisible the walls then visible when touched by the sprite ?

LeKinkss's avatar

LeKinkss

Member since 22 Apr, 2020

Twitter
LeKinkss has 1 followers

Trophy Case

  • 4-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies