BigZaza3000's Recent Forum Activity

  • Thanks! This really helped and i fixed the rest of the code, really great help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, Thanks for the help!

    I've been rewriting my code with better logic, but i got stuck again.

    The problem is somewhere within the highlighted code. The code still works inconsistently, I want the animation to switch to "MOVE" when it moves, and to SPIN once it stops. I want it to start with animation speed = 0, and gradually increase. I did my best to use container logic to my advantage, and to avoid trigger once where i could, but i just cant get it to work.

    The code works jsut like before perfectly with just one enemy, here is a video to show the problems with multiple: https://youtu.be/A3-M1T4GZ3A

    And again here's the c3p file (named game.updated): https://drive.google.com/drive/folders/1H5b4hMIWAr1vved2LNk8IvIIm_AsDmrN?usp=sharing

    Any ideas on what's wrong with my code/what i should change or improve?

    Thanks for any help!

  • So i've been struggling for a while to get my enemy sprites to work individually as instances of three different object types. Here is the code for my enemy, as well as how they look in the layout:

    Here is a video to display the issue when i'm using multiple instances:

    youtu.be/CsEg2Tcx3kU

    And here is how every enemy should actually look like (the code works when there is only one enemy):

    youtu.be/hXccgbRfznc

    Each enemy is made of one instance of three object types: ENEMY_1_HITBOX (red square), ENEMY_1 (the actual enemy) and ENEMY_1_FIRE (fire under the enemy). To link them together i gave them all instance variables: ENEMY_1_ID, where i would give the sprites that should be together(eg. every sprite that makes up the first enemy) the same value, to separatethe code to the different enemies. But it simply doesn't work as it should and i feel like i've tried everything within my knowledge zone. I would really appreciate any help on this, i've been stuck for a week and a half now xD

    Here's a link to the project (drive):

    drive.google.com/drive/folders/1H5b4hMIWAr1vved2LNk8IvIIm_AsDmrN

    Thanks!

BigZaza3000's avatar

BigZaza3000

Member since 7 Nov, 2024

Twitter
BigZaza3000 has 1 followers

Trophy Case

  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

3/44
How to earn trophies