Leralasss's Forum Posts

  • Colludium

    is it possible that you add debug properties to the Debug mode in C3?

    right now there is "MyProperty" in there. (would be cool to see all the stuff the normal physics plugin shows, most importantly probably if it is enabled )

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Very nice Plugin!

    The Option to apply Force at a particular Point is brilliant!

    Edit:

    Also the many attributes (particularly Object.Box2DPLUS.Velocity is useful, as opposed to only VelX and VelY)

    Edit2:

    OMG also no Collision Option when setting a Joint!!!!

  • why dont you have the player always on the lower layer and all objects that should be behind him are on his layer

    then objects that are supposed to be in front of the player spawn on the top layer.

    so you can check:

    if player overlapping another object

    AND

    object.layername = "toplayer"

  • you need variables:

    timer = number (counts down from 60)

    inverse = boolean

    events:

    every tick: add to timer -1
    system compare variable:
        timer <= 0:
            toggle inverse
            set timer to 60
    
    keyboard events:
    A is down:
        compare boolean set: inverse
            move player -2
        else: (to add an else press x)
            move player 2
    
    same with D (or Arrow keys)
    
    [/code:31phqpyb]
  • I dont really know what you want, but there is a system expression: random(a,b)

    so you can do:

    sprite set position:

    x: random(0,100)

    y: random(0,100)

  • Do you by chance have "Linear Sampling" on in Construct?

    Click somewhere on any Layout (dont click on an object)

    look left and click on "Project Properties" (View)

    Scroll to "Display", there is an option: Sampling - Point / Linear

    You probably want Point Sampling

  • Press "B" to add a blank sub event that you can then move around

  • Colludium

    is it possible to set collision category&mask bits for object instances individually?

    or only object types?

  • global & static local should not make a difference.

    can you send a screenshot of your events?

    you have to upload on imgur or somewhere else and then post the link here

  • You could just make the highscore variable Global so you can use it in another layout (first layout should be the one where you load from localstorage)

  • mega.nz

    when you said capx did you mean capx? (construct 3 has .c3p not .capx) - this is a .c3p

  • + System: On start of layout

    -> LocalStorage: Check item "Highscore" exists

    + LocalStorage: On item " : " exists

    -> System: Set Highscore to LocalStorage.ItemValue

    do you use the same name in Check Item "highscore" and On item "highscore" exist?

  • Rotate ship towards mouse:

    ship set angle: anglelerp(ship.angle,angle(ship.x,ship.y,mouse.x(layername),mouse.y(layername)),0.5)

  • Do you save TO local storage when setting the highscore?

    Do you load FROM local storage when starting the game? (this is probably the issue)