abj84's Recent Forum Activity

  • Check out this example. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/ly1yir6ts3hex ... .capx?dl=0

    That worked PERFECT! Thanks so much, it's really appreciated!

  • Sorry, I know this question has been asked ad nauseam but I can't find one that solves the issue.

    For my platform game, I want my enemy to shoot at my player's position. Other posts say spawn the bullet the set bullet angle of motion towards (player.x,player.y) BUT C2 says that's an invalid expression (and rightly so). I can't use turret behavior because I don't want my enemy to rotate. This should be easy to do...heck, games factory had a "shoot at object" event. Maybe I'm overlooking something?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Dude, thanks!! I feel kinda dumb

  • Yup, I should have mentioned the origin is centered.

    capx: https://dl.dropboxusercontent.com/u/53823971/RotatingWeapon.capx

  • Hi,

    I have a sawblade(bullet) that my character can throw. I'd like the sprite to rotate as it is being thrown.

    If I use the rotate behavior the sawblade rotates but it spins in a large radius rather than keeping in its straight while rotating.

    Any help is appreciated.

  • Never figured it out :/ I asked ArcadeEd (who does C2 Twitch streams) and he plans to cover it for me sometime soon.

  • Hi guys, I've been around for years (profile name: midnight) but I forgot my login info, so this is my new account.

  • This is a rough thought, but I wanted to give you some ideas. I'm typing this half-awake, pardon me if it doesn't make sense.

    Give the box a variable, say, SequenceNumber. The first box you are supposed to touch would have a value of one, the second, two, etc.

    The player could have a variable called CurrentSequence, set to 1.

    Give the player another variable, CorrectGuesses, set to 0.

    Give the door a variable called LevelGuessTotal and set it to n (n being the number of boxes you have to hit, 7 in your example).

    Player hits correct box

    Player collides with box (or presses button while overlapping box)

    +

    Box.SequenceNumber = Player.CurrentSequence

    -> Player.CorrectGuesses + 1

    -> Player.CurrentSequence + 1

    Player hits incorrect box

    Player collides with box (or presses button while overlapping box)

    +

    Box.SequenceNumber != Player.CurrentSequence

    -> Player.CorrectGuesses - 1

    -> Player.CurrentSequence + 1

    Activate Door

    Player collides with box or presses button while overlapping box)

    +

    Player.CorrectGuesses = Door.LevelGuessTotal

    -> Open Door

    else

    Door doesn't open

  • Trust me, if you're new to Construct 2 (or any similar software for that matter), start with a project that is simple and small. You're going to learn a lot from small project that will prep you for making your big rpg. RPGs are huge time investments and can be complicated. Try making the core mechanics, like the battle system, map, menu, etc. in under 100 events each with the free version. Then you can use those are guides to piece together your game.

  • Sure, I have a capx here:

    https://

    dl.dropboxusercontent.com

    /u/53823971/temp_images/Platform_LOS.capx

    (Had to format the link weird because I don't have enough reputation to post links.)

  • Thanks for the reply.

    What's weird is that if I just have the player stand in what should be the LOS, the Eye won't shoot. I have changed the cone of view between 180 and 360, neither seem to alter the behavior, and range is default 1000px for now. Something's just not right.

    I'll definitely implement a cool down timer like you mentioned.

  • Hi,

    I have a stationary enemy that I want to only shoot straight ahead when the player is in it's line of sight. But I only want the enemy to shoot what is in front of it (depending on which direction it is facing). So if the enemy is facing left, it will only shoot to the right, and if facing right, will only shoot to the left.

    I tried using this event but the enemies don't shoot when the player is in front of them.

    Any help is appreciated.

abj84's avatar

abj84

Member since 9 Feb, 2015

None one is following abj84 yet!

Connect with abj84

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies