Mik07's Forum Posts

  • 14 posts
  • Sorry if this has already been asked but I am making a shooter game and I am currently making assets but I would like to know can I use some assets that come with Contstruct 2 templates? I own the full version of Construct 2 but do Scirra mind people using software owners using assets that came with the software in the final game?

  • Thanks for replying I have the scroll behavior on the player,playerbox and the camera and I tried the settings you mentioned but the camera still wont stay in the center also when the player to the top platform at the end of the level the camera doesnt follow him up to the top of the layout would you guys have any idea why the camera wont scroll to the top of the layout?

  • Im working on a sidescroller platform game but I cant seem to get the camera to stay centered on my player character sprite I am using these: lerp(Self.X, Player.X,0.03) lerp(Self.Y, Player.Y,0.03) but with these settings the player mainly moves to the far right of the screen when I move right and the far left when I move him left

    can anyone please tell me the settings to get my camera keep the character at the center when scrolling?

  • I have been trying to get this problem solved for a few days but I havent got much help on the forums I have a basic level with a character but I find that when I do a run and jump with the Right an Up arrow keyboard keys pressed but my character slides along the ground when he should be running instead of sliding this happens every time I have both keys pressed I cant seem to get the run animation to play when my character lands on the floor he slides instead of running. I have a drop box file with the character its only about 12mb in filesize here is the file link https://www.dropbox.com/s/kirzagb760uud ... .capx?dl=0

    Can anyone help?

  • Hi I have to ask if someone can help me out with this problem I havent got this fixed yet

  • So the issue is stopping the character from sliding on landing? Try Platform on landed - set x vector to 0.

    Thanks for the reply yes I tried that setting but it didnt work here is the capx of my basic level (nothing fancy) but still the player slides along the floor when the up and right or left keys are pressed simultaneously could you download this capx its only 13mb in filesize and let me know what I am doing wrong perhaps share a screenshot of the event sheet with the correct settings please?

    Here is the link https://mega.nz/#!FUpxhbyK!HWq90kVS38Eu ... 1yKGD5sXSU

    Thanks

  • I have a basic level with a character but I find that when I do a run and jump with the Right an Up arrow keyboard keys pressed but my character keeps running the run animation when I stop moving I tried google and the forums I think I have the run animation fixed but now my character slides along the floor I have a screenshot of the event sheet posted here. Can someone tell me where I am going wrong? Thanks in advance

  • Something along these lines is what you're looking for?

    Hi Thanks to both of you for the replies to my question about enemy move and attack, celstrider I was trying to use the settings you provided in the screenshot you provided but after I add a System event I dont know what option I need to choose to get the distance (enemy.X.enemy.Yplayer.X.Player.Y) will you tell me which event option I have to choose to enter these values? Im new to construct 2 and I have been stuck with this enemy attack problem for a long time now.

  • I have been working on a level and Im trying to get the skeleton enemy to walk toward the player and attack and cause damage I have a link to the capx file. Can someone tell me where I am going wrong and give a screenshot of the event sheet with the correct settings I cant seem to get it to work.

  • I have a sidescroller level put together most of the problems have been fixed so far Thanks to the help from these forums but now I noticed that the enemy character drops between the floor tiles (which have a solid behavior) the enemy has 4 animations walk,attack,idle,defeated I created the animations in spriter and 3 of the animations work fine except the attack animation I was wondering is there any reason why the enemy character drops under the floor surface on the attack animation? I tried putting a platform behavior on the enemy but the enemy follows the player characters movement unless I delete the platform behavior.

  • Are you using the bullet behavior for your enemies?

    That works by changing the angle of the bullet and 0 and 170 are right and left on the X axis.

    Hi lamar Thanks for the reply I tried using Move Forward action and it is working now however it moves too fast is there any way of slowing down my enemy movement speed?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am working on a 2d sidescroller but I cant seem to find any informaton on how to make the enemy walk towards the player on the x axis and attack the player. I have tried adding line of sight behavior on the event sheet but the enemy floats on y axis sometimes. Can someone tell me how to do make the enemy move towards the player on x axis only?

  • if i get it right. you want the camera focus on the player/sprite? if yes. try to use the scroll to. here https://www.scirra.com/tutorials/626/ma ... ing-camera

    Hi Thank You for that link I have it working now Thanks again I appreciate it <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Sorry if this has been already asked Im new to Construct2 I have been looking online and I cant seem to find an answer on how do I set the starting position on the Layout for the player character sprite instead of the top left corner of the layout. Is there any way I can set my sprite to start the level at the bottom left or right of the screen rather than the default position?

  • 14 posts