Hasuak's Recent Forum Activity

  • You could just get rid of those booleans and use "if playing animation" checking instead and use a single boolean like "Busy" which activates when player is doing something that restricts movement etc. In my game I just set "Busy = 0" into all controlling events and set it to 1 when attacking, jumping etc. There's also a boolean for jumping so player can still move left and right during the animation. All of this also works well with my rather complex AI system.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • bump

  • What Lordshiva1948 said. You can always copyright your content, but that still won't stop people from stealing your content. You should probably contact a lawyer about this kind of stuff if it's really worth the hassle. I, personally, take it as a positive thing if someone sees my work and thinks "Hey, this looks good, I'll use it on my project!". At least it says something about my skills.

    Simply put, you shouldn't worry about stuff like that. If the content you are making isn't super professional quality, the possiblities of someone actually stealing it is very, very low.

  • I don't know if I'm doing something wrong, but your example doesn't work. I can't walk through enemies. Pretty odd since the event for disabling collision is there and it should work. At least the not being able to walk through walls part is working, heh.

  • Try to do something like in this tutrorial: https://www.scirra.com/tutorials/398/to ... ntrollers/

    It is for JoyStick, but you can move into any direction.

    You can't seem to post urls yet.

    You could use int(random(360)) degree to move them away

    That's pretty much what I did. Disabled 8-direction, enabled bullet, set randomized angle and reverted the behaviors when the flight animation is over.

  • I thought about that, but I've done too much stuff on the enemy AI to be ditching the 8-direction behavior now. I'll try disabling the 8-direction and enabling bullet behavior when the enemies fly away and then reverting them.

  • How can I make a sprite that's controlled by 8-directional behavior to move into a specific angle on the screen? Is there some kind of system for this in the behavior or do I need to use another behavior just for this? My enemy objects move normally in eight directions but I'm going to need this for certain actions, such as flying away from an explosion into random directions.

  • What Brashmonkey meant was a single "tiled background" object put over the screen with a looping animation of raindrops done maybe in Photoshop or After Effects. It could be a bit more work to do than using a particle system, but wouldn't require much memory to render.

  • That looks like it should work, but collision checks can't be inverted. I tried the overlapping check and overlapping with offset, but neither of those worked either.

    What a hassle for such a small thing. Why can't we just set collisions between objects seperately if needed?

  • Alright, that worked, but it brought up another issue. Now my character can walk through all solid objects, walls etc. I tried enabling player's collision when colliding with the walls, but that didn't work. Now I can walk through walls whenever an enemy touches me while I'm against a wall.

  • How do I make an 8-direction behavior sprite collide with its instances but not other 8-direction sprites? I'm talking about a scenario where player and the enemies are both controlled by an 8-directional behavior. Player should be able to walk through enemies (to prevent a ton of collision shenanigans), but enemies should collide with each other (so they won't overlap due to rather simplistic AI).

  • Alright. I went with the platform method. It does the job so far. Thanks for the help

Hasuak's avatar

Hasuak

Member since 16 Jul, 2010

None one is following Hasuak yet!

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies