luckyrawatlucky's Forum Posts

  • sorry for the late reply.

    i'm not getting it properly. I tried it by

    Player | isMoving

    === localvariable "move" ====

    for "X" from player.pos to target = set "move" to player.pos

    if "move" is less then target = Add 1 to "move" & set player.pos to "move"

    player.pos = track.pos = player move to track

  • hi Ashley I have two sprites "player" and "track" when i click on track then player is moving towards that point.

    Suppose I click on track 10 then player will start moving from track 1 to 10 So i am moving player by move to behavior and by adding waypoint.

    The problem is "on arrival" i am doing a task let say i did down opacity op player. but on each waypoint player reached it react as it is arrived like on track 1 it arrived and then move for track 2 and when track 2 reached it arrived and so on.

    how do i get this on the end.

    is this a bug to react arrive on each waypoint. So i can report it to bug post.

  • I have a 2 sprites "track" and "Player".

    Player will move (forward or backward) over the track when a track is click

    This part has been done

    The problem is I want to move player over the track one by one (currently its running smoothly from current track to clicked track) I created "scale" animation on "player". So i want from player to move each track by playing "scale" animation each time when it start moving.

    for example player's current position is track 0 and target position is 10 then i want to move player to track 1 and play "scale" animation then move to track 2 and play "scale" animation again and so on

    How can i do this?. Please help

  • problem solved

  • preview icon has 2 variable "player" & "color" and same variables for color icons

    when click on color icons

    then i pick preview icon by color.player and set preview icon's color variable to color.color

    then i also pick preview icon by color.color and set preview icon's color variable to color.player

    what's wrong in this logic?

  • I am Indie game developer and looking for a partner who can make art for my games.

    if anyone interested please show your work and send me msg.

    luckyrawatluckyudm@gmail.com

    Tagged:

  • above is done successfully

    Now i was trying to do something else and got stuck at that

    in this image these colors has 2 variables "player" & "color"

    there is a preview icon which represents picked color

    we have total 4 colors if i choose color red for player 1 then player 1's preview icon (which is yellow currently) will be replace with red icon and the red icon (which is situated after player 3) will be replaced with yellow. in short swiping the color.

    i getting problem here 1st and 2nd icons are swapped but 3rd icon is not swapping. I am not getting what wring i am doing here.

    these are my events for swapping.

  • okay i'll try it

    Thanks

  • its my mistake in typo

    i want it without array and i typed with array. and i want to bring color options back if player dis-select color and choose another. and in your example indexed player choosing colors.

  • I have 4 players and each player will choose color for him.

    If first player choose "red" then i want to show remaining colors to other player, if third player choose blue and i want to remove blues from other 3 players same with all. and if any player again deselect color then other player will get that color option again. (See image below). I want to do this without using Array.

    anyone can explain me logic on how can i do this?

    Thanks in Advance.

  • Yes i got it

    LiteTween C3runtime

  • This is not an issue anymore because C3 Pin behavior can now pin objects to imagepoints.

    btw i was doing it by first move object to spriter image's image point 1 and then pin.

    you can check this file

    You can now remove Pin and set options from Spriter Plugin because official Pin behavior has lots of new feature. you should check those.

  • I'm a desktop user, and I just tried to switch to the new method described in the first post (latest nwjs plus construct package). It loads OK, but after around 30 seconds the application just closes with no warning. Anyone got any ideas what could be causing this? Thanks.

    me also facing this issue. I also just tried this new method and application just closes with no warning.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • still need help on this

  • hi

    I am noCoder and I want to disable F1 to F12 keys. I found code for this but don't know how to implement it. I tried by pasting code but not worked. So please help.

    "shortcut.add("F1", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F2", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F3", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F4", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F5", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F6", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F7", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F8", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F9", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F10", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F11", function(e) {
    	e.preventDefault();
    
    });
    
    shortcut.add("F12", function(e) {
    	e.preventDefault();
     
    });"

    Tagged: