Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Andrea Sonny
    @andreasonny83
    can you see everything you need?
    avatar, positions, frame, etc?
    Billy B.
    @Azurasky1
    it says that the avatar is null
    all the other stuff is there
    i can't really copy/paste because my console is being spammed by the uncaught typeerror
    i don't rly get why the avatar is null because i clearly defined it within the init
    Andrea Sonny
    @andreasonny83
    weird
    Billy B.
    @Azurasky1
    i'm exhausted i'll figure it out later
    ok
    i made a pull request even though it isn't functional but everything is in the dragon branch
    Andrea Sonny
    @andreasonny83
    ok
    Billy B.
    @Azurasky1
    maybe you can take a look and figure out why it doesn't work
    Andrea Sonny
    @andreasonny83
    sure
    Billy B.
    @Azurasky1
    i'll catch u later it's nap time
    take care :D
    Andrea Sonny
    @andreasonny83
    fixed and merged into develop
    but the dragon image is not good
    the logic support an image with only 4 positions so all the images are screwed up
    Billy B.
    @Azurasky1
    ok
    were u able to figure out why the code didn't work previously
    Andrea Sonny
    @andreasonny83
    Sure, have a look at the code difference in my commit. There were several errors around
    Billy B.
    @Azurasky1
    it doesn't look terribly different to me
    i think im missing something
    Andrea Sonny
    @andreasonny83
    Did you have a look at the code difference in git?
    Billy B.
    @Azurasky1
    yeah i'm looking at it right now
    the drawimage for the enemy is the same, do you know what was causing the error?
    my theory was that it was running before the image had a chance to load
    Andrea Sonny
    @andreasonny83
    Azurasky1/DragonArena@53991c3
    One big miatake was the App.prototype.update you put inside the
    App.prototype.boardReady
    Then, using variables not declared around
    I exposed the app object to the global scope so it's easier to debug. You can simply type $app in your Chrome console, at any time, to look inside that
    Andrea Sonny
    @andreasonny83
    Hello!
    are you still around?
    Andrea Sonny
    @andreasonny83
    allo