These are chat archives for FreezingMoon/AncientBeast

21st
May 2016
Cong
@cxong
May 21 2016 11:31
that's a good video about unit testing, very simple reasons for why it is good and how to start. We should do the same
Dread Knight
@DreadKnight
May 21 2016 11:32
his other video was also good, alright, I Agree :+1:
Cong
@cxong
May 21 2016 11:32
@DreadKnight when would you like me to start working on issues, and which ones?
Dread Knight
@DreadKnight
May 21 2016 11:33
won't manage too much today and tomorrow it seems; will need to make a lot of new issues and also meet with folks
so it will take a few days, but if you got time this weekend, could look for something
let's see...
btw, add that last log entry thingy for the swine and close it
Cong
@cxong
May 21 2016 11:35
which log entry? What's missing?
Dread Knight
@DreadKnight
May 21 2016 11:36
regarding swine passive, when he gets the stats boosted
guess you missed it as the info was under a screenshot xD
sent and also commented on the issue
checking for new task
Dread Knight
@DreadKnight
May 21 2016 12:55
@cxong just put a little money on two issues https://www.bountysource.com/teams/ancientbeast/issues
Cong
@cxong
May 21 2016 13:01
thanks; the bounty is too low, do you want me to give an estimate or should I do them anyway and tell you how much time it took?
Dread Knight
@DreadKnight
May 21 2016 13:02
not sure yet, it's hard to estimate stuff xD
I think bountysource had a feature where coders could request a certain amount
(don't mind the online multiplayer one atm)
the blowing wind one might be a variable or something simple
Cong
@cxong
May 21 2016 13:04
yeah I wouldn't trust my estimates either :tongue: who knows if one of the features turns out too tricky like the mud slide. Maybe I'll just start on one and update the bounty based on how long it took
Dread Knight
@DreadKnight
May 21 2016 13:13
:)
Swine Thug has some of the most trickier abilities so far, after that it would probably be Chimera with its Chain Lightning as it has an algorithm
the way that mud slide would have been simplified... if it only worked inline perhaps
Cong
@cxong
May 21 2016 13:38
I'm checking out #754 with the match log, it works except I can't see the summoned units; are you aware of this issue?
blob
the units appear after I close developer console
Dread Knight
@DreadKnight
May 21 2016 13:56
hmm
well, did notice some odd behaviour like that now and then, but it's not persistent / consistent
Cong
@cxong
May 21 2016 13:58
I'm looking at some unit test frameworks, I haven't tried any and it seems there are many good choices; which one do you prefer?
I like jasmine because I like BDD syntax, but mocha and karma are also popular
https://github.com/jasmine/jasmine
https://github.com/mochajs/mocha
https://github.com/karma-runner/karma
oh wait it says karma uses a browser
Dread Knight
@DreadKnight
May 21 2016 13:59
haven't used any, but googled a bit http://unitjs.com/
but yeah, it should be on github, not sourceforce like this one http://www.jsunit.net/
mocha even uses gitter :3
Cong
@cxong
May 21 2016 14:01
looks like unitjs is more low level, it is an assertion library that can be used by frameworks like jasmine/mocha
Dread Knight
@DreadKnight
May 21 2016 14:01
oh, understood
jasmine seems to be older, but mocha has sponsors, has nicer website, gitter chatroom and does nice popularity wise even if being newer
Cong
@cxong
May 21 2016 14:06
yes I think mocha is slightly better
Dread Knight
@DreadKnight
May 21 2016 14:07
mhm, a bit more inclined towards mocha, seems more fresh, probably jasmine wasn't cutting it even if open (so the base could been better, but that's software in a nutshell), hence reinventing the wheel
Cong
@cxong
May 21 2016 14:13
I'll ask some friends for their opinion too, maybe they've used some before
Dread Knight
@DreadKnight
May 21 2016 14:14
alright, I usually take a bit of time until taking a decision, but this is a bit out of my league currently I guess, might default to mocha :D
JeansBolong
@JeansBolong
May 21 2016 14:15
you guys start working that game
Dread Knight
@DreadKnight
May 21 2016 14:18
@JeansBolong really need to get the project back on track asap, but it won't be cheap xD
JeansBolong
@JeansBolong
May 21 2016 14:19
yea i know, i want to help you guys but im still in learning progress
so i cant help not that much
Dread Knight
@DreadKnight
May 21 2016 14:20
hehe
Sebastian Lugo
@slugo
May 21 2016 15:12
Hi , i'm new here . Wondering how can I get started with contributing ? I mainly know some javascript.
JeansBolong
@JeansBolong
May 21 2016 15:23
@DreadKnight is this game dont have any computer enemy?
and this game cant be played at safari just loading and make my macbook very slow
Cong
@cxong
May 21 2016 16:06
safari doesn't support ogg, but I guess the game should gracefully fail, like continue with no sound or display error message
JeansBolong
@JeansBolong
May 21 2016 16:08
So this game cant be played at safari?
Ok
Cong
@cxong
May 21 2016 16:09
one other option is to include mp3s as well and use those for safari
JeansBolong
@JeansBolong
May 21 2016 16:10
So need to convert that ogg file to mp3
Cong
@cxong
May 21 2016 16:11
no; I mean as a feature request
JeansBolong
@JeansBolong
May 21 2016 16:13
so we still keep provide the mp3 file to make this game run on safari
And when i start the game on safari, the game make my laptop so slow
its because that ogg file or other issue
Cong
@cxong
May 21 2016 16:21
yeah the game doesn't load so it'll just sit there
Dread Knight
@DreadKnight
May 21 2016 16:58
@s-lugo hey, welcome around! how did you found out about this project?
Dread Knight
@DreadKnight
May 21 2016 17:05
@s-lugo you can either help with some website coding involving javascript or with the gameplay itself, there are set-up guides https://github.com/FreezingMoon/AncientBeast/blob/master/CONTRIBUTING.md
Cong
@cxong
May 21 2016 17:05
@DreadKnight some of the source files like hexagon.js is pretty big; is there some way of easily viewing all the methods/classes available? Do you use some editor plugin, or api doc generator?
Dread Knight
@DreadKnight
May 21 2016 17:06
@cxong I don't use any of those :/
@JeansBolong No AI atm, but there should be in a few versions; I wanted to have the game PvP only initially xD
@JeansBolong after release, I'll be testing with people by using Team Viewer, usually offering a match against me to quite a few people where I teach them how to play and answer all sorts of questions, kinda like an interview; might even record the sessions and post them online next time
regarding browsers, I don't care much about Safari; for me it's all about Chrome; and Firefox is a second class citizen
might put node.js / grunt to good use soon to automatically convert all the ogg assets into mp3 and have fallback versions coded, seen some people do it like that, will open new issue
Sebastian Lugo
@slugo
May 21 2016 17:25
@DreadKnight hey thanks, i found out from a reddit thread some time ago, I already got the game up and running on my machine.