ashburp's Recent Forum Activity

  • hey all, I'm not technically a beginner but I'm still a novice when it comes to construct. I have a platformer that uses timers to control the input from the user during an attack animation. the "attack" timer is set 0.5 seconds and the structure looks like this

    [attachment=0:1pi82jmx][/attachment:1pi82jmx]

    i have global variables controlling the attacks but my question is would it be better to control the player with instance variables since these moves only apply to him. I plan on adding about 5-6 more combos, so would it be better to create a global variable, say called combo power up, to control the characters abilities as they are learned throughout the game. like: if global variable "attackpowerup" = 2 then add the 4th attack in the combo. just curious and any help would be much appreciated.

  • hey I've been messing around with it a little. i an image point set to the end of a whip during an animation frame. the image point on the animation creates a sprite with the pin behavior (rope style). the player also has the same pin behavior that attaches it to the sprite. I used this setup to swing. its wonky but I'm getting there.

    i plan on using the joystick on a game pad to change the direction in vectors to mimic the swing. when the player is at the point of release, I'm going to use button released on the gamepad to unpin everything. I'm still experimenting but I'll let you know how it goes if your still interested..

  • thanks for taking the time to play it, I really appreciate that. now that schools over I finally have time to work on a game I want to make.

  • Just trying to figure out how I should set up dialogue when interacting with another character. I have the a cursor appear above the Npc's head when the player is in range. when the a button is pressed the players time scale goes to 0 to freeze him in place. when i hit the button again i want to set and display a different text, then hit the same button again to exit the conversation. pretty standard stuff but i seem to be having a problem. any help would be appreciated.

  • yeah sorry I'm messing with udk now for the class but I'll find it and post it next week sometime.

  • this is a game my partner and I made in roughly two weeks. Really rough in some areas but its turned in and reasonably complete.

    it on the chrome web store here:

    https://chrome.google.com/webstore/deta ... acipblpccn

  • okay here is the drop box link to the cap.x file

    https://www.dropbox.com/s/yht39ujggj3rb ... tHelp.capx

    should be under the frog enemy group

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hey just got it working with one problem, the enemy doesn't face left. I'll fix it tonight and post a link to the dropbox tomorrow. also you have to do an every x seconds (under the system like every 0.5 seconds find path to player.X and player.Y) so the enemy will constantly find a path to the player.

  • I think I may have figured it out on my way to work.

    while Enemey has line of sight ----> find path to player.x and player.y

    ----> move along path

    subevent

    while moving along path

    subevent

    enemy.x > player.x ---> then animate "left"

    enemy.x < player.x----> then anmate "right"

    else

    enemy.y> player.y +200 ---->animate "up"

    enemy.y< player.y -200 ---->animate "down"

    granted its kinda hokey and I may have the y positions kinda screwed up but in theory i think it might work or be kinda close. I don't know. I'll have to mess with it when I get home.

  • I'm using the line of sight behavior to check if the player is within range, then I set the pathfinding behavior to find a path to players x and y every 0.5 seconds and move along path to player. I have animations for up down left and right for the enemy, but the problem is I have no idea how to get that enemy to face the correct direction as it moves towards the player. I have tried referencing the players angle but it doesn't seem to work. Any help would be appreciated.

  • great design and use of colors. can't wait to play it.

  • I may try an & event because I was hoping to avoid using variables for movement but if that doesn't work I guess ill have too. Thanks for the help.

ashburp's avatar

ashburp

Member since 3 Nov, 2013

None one is following ashburp yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies