Big Favour - My Code is Driving Me Mad...

0 favourites
  • 1 posts
From the Asset Store
5 levels with simple coding Source-code (.c3p) + HTML5 Exported
  • I appreciate it's a big ask, but this is driving me cray and I can't figure it out...

    I've starting to build a game based on the excellent Demonaire example. As this is my first time i've literally started from scratch, copying over sections of code and learning how they work (it's how I learn).

    Basic player movement and attacking is working fine. However I can't for the life of me figure out why the enemies aren't acting as they should.

    For some reason the PlayerAngleDiff and Direction isn't updating constantly. Initially they do to set the animation direction, and they do again after being hit but they don't update on movement.

    I've checked the code against Demonaire and from what I can see it's identical (I even renamed all my elements to match for testing).

    If anyone has a spare moment to take a look to see what i'm missing i'd be hugely grateful.

    dropbox.com/s/gs8cooascazaysg/Survival_1_6.c3p

    Thanks in advance

    Tim

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)