jaybien's Recent Forum Activity

  • Anyone?

  • I am setting the 8 direction movement values via a variable and I set them when the player is created. Same for the enemy movement. It all works well until the player is killed, and restarts the layout. None of the 8 direction values are restarted with the layout restart. How would I go about adding the variables to the instances again? Thanks!

  • Thanks again for the help oosyrag! You're awesome! That appears to be just what I needed, as usual.

  • I have a custom sprite named crosshair and am setting it to my mouse position every tick. I'm then shooting bullets at the cursor whenever clicked. I chose this method for eventual gamepad support. But I am a bit lost when it comes to keeping the cursor 100 pixels or so from the player without going any further. What are the best ways to set it up to not conflict with controller-analog aiming?

    The closest I'm thinking about is like Nuclear Throne with it's controller support. My game's not really the same style but the crosshair is similar to what I was trying to do. Thanks!

  • Ah, I forgot I was trying a second sprite and trimmed it down to one. It's been a few days since I worked on it. Doh! lol. Anyway, that works brilliantly! Thanks much for the suggestions.

  • Sure, here it is

    w w w dot dropbox.com/s/ailjjcxueirwqjp/Roelda.capx?dl=0

  • I'm trying to make an event when the spacebar is held down, spin an object around my player object. I can move around perfectly with 8 direction behavior. As soon as the spacebar is held down, the secondary object starts rotating around as it should, but seems to shut off my movement. When the spacebar is released, I can move again. Any ideas what's conflicting? Thanks!

  • Nice, that works perfectly. Thanks oosyrag!

  • I have a function called enemy hit, which triggers when a bullet collides with an enemy. I'm trying to set the angle of particles to spray from the opposite side of the bullet hitting. How would I go about that? Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • oooh, I see what you guys are saying. Thanks so much everyone. This community is quite remarkable. I really appreciate the help and the example from blackhornet!

  • You don't need plugins for this, just pass enemy.UID in the function parameter (say, param(0)), then in the function you do Pick object by unique ID = function.param(0)

    So, I set the id to a variable when the enemy is hit, then in the On call function I put the hit enemy logic. Then I use a return function, right?

  • Ah very nice. Thanks Kali! and Linkman2004! That works perfectly. Now to try rexrainbow's plugin

jaybien's avatar

jaybien

Member since 8 Feb, 2016

None one is following jaybien yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies