00:01:22  * dominictarrjoined
00:01:25  <Raynos>substack: let me know when you alive
00:01:32  <Raynos>dominictarr: its gogogo time
00:01:37  <dominictarr>YO READY!
00:01:47  <dominictarr>substack, YOU THERE
00:02:01  <dominictarr>Raynos, where are you at
00:02:06  <Raynos>joyent
00:02:07  <dominictarr>you guys both at joyent?
00:02:08  <Raynos>head quarters
00:02:13  <Raynos>substack is lost in action
00:02:18  <Raynos>CODE RUSH
00:02:25  <dominictarr>okay, well guess we get started.
00:02:42  <Raynos>ok
00:02:48  <dominictarr>so... top down thing where we can walk around?
00:02:49  <Raynos>how do we split up the starting work
00:02:57  <Raynos>theres a bunch fo bullshit
00:03:06  <Raynos>with setting up shoe / mdm / crdt / http server / index.html etc
00:03:19  <Raynos>but yes we need a map
00:03:30  <Raynos>and we need sprites that are movable
00:03:35  <Raynos>and distribute data about positions and shit
00:03:59  <Raynos>so one of us should set up the communication bullshit
00:04:04  <Raynos>and one of us should set up a map thing
00:04:07  <Raynos>with tiles or something
00:04:22  <Raynos>communication bullshit is pretty simple. we use what we always use
00:04:26  <Raynos>the GUI part is kinda harder
00:04:31  <Raynos>its SVG vs DOM vs canvas
00:04:36  <dominictarr>lets just do a flat canvas with pngs that move
00:04:45  <Raynos>alternatively SVG
00:04:48  <Raynos>with svg images moving around
00:04:58  <Raynos>since substack is doing the art
00:05:04  <Raynos>I would ask him what he things is easier
00:05:05  <dominictarr>whatever, just do something super-minimal
00:05:13  <Raynos>true.
00:05:29  <dominictarr>the data model is the important thing...
00:05:38  <Raynos>agreed
00:05:39  <dominictarr>I havn't done SVG
00:05:58  <dominictarr>but I've done canvas,
00:06:01  <dominictarr>and easle.
00:06:06  <dominictarr>what about you?
00:06:26  * defunctzombiejoined
00:06:38  <dominictarr>are we ment to push this to the nko repo?
00:06:56  <Raynos>yeah
00:07:00  <Raynos>i think all code goes on that repo
00:07:08  <Raynos>ive used canvas
00:07:11  <Raynos>and svg
00:07:12  <Raynos>not easle
00:07:18  <Raynos>but its cool I can wing most of these things
00:07:26  <Raynos>lets geek out about the data model instead
00:07:31  <Raynos>and punt on UI till substack gets here
00:08:33  <Raynos>I think we should have a crdt.Doc of entities
00:08:37  <Raynos>and maybe a seperate IRC room
00:10:08  <dominictarr>setting up the repo now
00:10:15  <Raynos>cool
00:10:24  <Raynos>I have it cloned
00:11:02  <dominictarr>okay, I just pushed an initial commit
00:11:39  <Raynos>to your fork?
00:11:47  <Raynos>ah to the real thing
00:11:47  <dominictarr>to the main module.
00:12:08  <dominictarr>I think it will be faster not to use PR, just use branches.
00:12:29  <Raynos>yeah
00:12:30  <Raynos>probably
00:13:28  <Raynos>ok
00:13:43  <dominictarr>pushed
00:14:05  <Raynos>btw do we even need a server?
00:14:09  <Raynos>we can just p2p the hell out of it
00:15:15  <Raynos>pushed
00:15:55  <dominictarr>pushed to the nko repo or to Raynos/wizard-game?
00:16:07  <Raynos>pushed now
00:16:25  <dominictarr>got it, cool
00:16:56  <dominictarr>a human is just a type of entity
00:17:10  <dominictarr>we'll need a server,
00:17:20  <dominictarr>we'll get less latency that way
00:17:46  <Raynos>ok
00:17:57  <Raynos>should we add node_modules to .gitignore ?
00:18:03  <defunctzombie>never
00:18:05  <Raynos>I guess it doesnt matter
00:19:57  <dominictarr>I've already commited node_modules
00:20:10  <Raynos>pushed.
00:20:41  <dominictarr>I didn't get anything
00:20:46  <dominictarr>did you puhs to master?
00:20:59  <Raynos>yeah
00:21:00  <Raynos>I did
00:21:01  <Raynos>now
00:21:04  <Raynos>I keep messing up
00:21:37  <Raynos>oh god 2 spaces.
00:22:58  <dominictarr>you'd pref 4?
00:23:02  <dominictarr>I can do 4
00:23:14  <Raynos>both me and stack use 4
00:25:03  <dominictarr>lets make it 4 then
00:25:32  <Raynos>feck
00:25:42  <dominictarr>pushed to 4 spaces
00:25:47  <dominictarr>what happened?
00:25:52  <Raynos>browserify is borked :P
00:25:59  <Raynos>string_decoder
00:27:28  <dominictarr>oh, use my fork
00:27:46  <dominictarr>substack has merged that, or try reinstall
00:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 16]
00:28:39  <Raynos>pushed
00:28:40  <defunctzombie>there should be an irc channel for knockout if there isn't :)
00:29:01  <Raynos>set up live-reload and file watchers in Makefile. Use if you want
00:29:22  <Raynos>did substack die?
00:29:53  <Raynos>ill start on rendering people things
00:31:26  <dominictarr>okay I got something on the screen
00:31:28  <dominictarr>pushed
00:31:46  <dominictarr>okay, if you wanna get drawing working
00:31:52  <dominictarr>I'll write the models.
00:32:07  <Raynos>:D
00:32:16  <dominictarr>like... colored circles or something would do.
00:32:21  <Raynos>you havnt pushed
00:35:22  <dominictarr>PUSHED
00:35:39  <Raynos>pushed
00:35:45  <dominictarr>substack where are u
00:36:08  <Raynos>substack is here
00:37:18  <dominictarr>pushed
00:37:27  <dominictarr>hey substack
00:37:46  <dominictarr>how big should the world be?
00:39:55  <Raynos>infinite? :D
00:40:04  <Raynos>btw maybe we want https://github.com/substack/tilemap
00:40:11  <Raynos>which is svg and rapheal
00:40:15  <Raynos>Rapheal is super easy
00:43:02  <dominictarr>do we have tiles? we can, but think it might be a nice to have, compared to game mech.
00:43:28  <dominictarr>use whatever you want though.
00:43:54  <dominictarr>is it allowed to CP code into the project from another old project?
00:44:03  <dominictarr>(it was public)
00:44:49  * blakmatrix_joined
00:45:02  <Raynos>maybe
00:45:03  * mikealjoined
00:45:06  <Raynos>sure
00:45:06  <Raynos>do it
00:47:00  * blakmatrix_quit (Client Quit)
00:47:15  <dominictarr>better idea, I'll just publish the module
00:47:49  <dominictarr>okay GTG it's my talk
00:48:48  * blakmatrixjoined
00:48:49  * tomshredsquit (Quit: Linkinus - http://linkinus.com)
00:49:11  * mikealquit (Ping timeout: 245 seconds)
00:49:20  * blakmatrixpart
00:51:59  <Raynos>ok
00:54:50  <substack>pow
00:55:27  <substack>dominictarr: I think not using tiles will be better
01:10:26  <substack>dominictarr: we made our own forks since the nko3 repo is dumb
01:10:31  <substack>people should have their own forks
01:10:45  <substack>multiple commiters on a single projects makes me violently angry
01:11:23  <substack>everybody should just occasionally git push -f to the nko3 repo
01:11:31  <substack>thrash it hard with merge conflict overwrites
01:12:08  <substack>dominictarr: fork this repo instead https://github.com/Raynos/wizard-game
01:17:02  <AvianFlu>substack: dominictarr: ping me if you guys need any deploy help during the contest
01:21:27  <dominictarr>substack, so, we fork repos and then push force occasionally?
01:22:52  <Raynos>yes
01:23:09  <Raynos>I need to bank things
01:23:19  * dominictarrquit (Remote host closed the connection)
01:25:36  * dominictarrjoined
01:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 27]
01:33:44  <substack>dominictarr: https://github.com/Raynos/wizard-game https://github.com/substack/wizard-game
01:36:02  * fotoveritequit (Ping timeout: 252 seconds)
01:36:38  * dominictarrquit (Ping timeout: 255 seconds)
01:44:36  <substack>scripts fixed
01:45:00  <substack>git pull substack master; `npm run build-dev` or `npm run build-dev-watch`
01:45:16  <substack>don't check in the bundle either, that file thrashes a lot and merge conflicts are hellish
01:45:29  * mikealjoined
01:50:23  * mikealquit (Ping timeout: 268 seconds)
02:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 8]
02:42:56  * jibay_quit (Quit: Leaving)
02:45:54  * mikealjoined
02:45:56  * mike-d_joined
02:46:58  * AvianFluquit (Remote host closed the connection)
02:48:26  * anoemiquit (Quit: anoemi)
02:49:22  * mike-dquit (Ping timeout: 252 seconds)
02:49:22  * mike-d_changed nick to mike-d
02:50:45  * mikealquit (Ping timeout: 276 seconds)
03:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 12]
03:31:44  * defunctzombiequit (Remote host closed the connection)
03:32:26  * anoemijoined
03:32:47  * AvianFlujoined
03:44:40  <guybrush>do you guys use a database?
03:44:49  <guybrush>i dont have any idea how to install a db or sth..
03:45:07  <guybrush>dont want to waste any time with setting something up ..
03:46:10  <substack>use something like iriscouch
03:46:19  * mikealjoined
03:50:43  * mikealquit (Ping timeout: 260 seconds)
04:02:12  * defunctzombiejoined
04:02:58  * LOUDBOTjoined
04:02:58  * LOUDBOTquit (Remote host closed the connection)
04:03:04  * LOUDBOTjoined
04:03:04  * LOUDBOTquit (Remote host closed the connection)
04:03:10  * LOUDBOTjoined
04:03:10  * LOUDBOTquit (Remote host closed the connection)
04:03:16  * LOUDBOTjoined
04:03:16  * LOUDBOTquit (Remote host closed the connection)
04:04:29  * LOUDBOTjoined
04:05:13  * LOUDBOTquit (Remote host closed the connection)
04:05:19  * LOUDBOTjoined
04:05:21  * LOUDBOTquit (Remote host closed the connection)
04:07:17  * LOUDBOTjoined
04:07:22  * LOUDBOTquit (Remote host closed the connection)
04:07:28  * LOUDBOTjoined
04:07:33  * LOUDBOTquit (Remote host closed the connection)
04:07:39  * LOUDBOTjoined
04:08:09  * LOUDBOTquit (Remote host closed the connection)
04:08:15  * LOUDBOTjoined
04:08:20  * LOUDBOTquit (Remote host closed the connection)
04:08:26  * LOUDBOTjoined
04:08:31  * LOUDBOTquit (Read error: Connection reset by peer)
04:08:37  * LOUDBOTjoined
04:08:42  * LOUDBOTquit (Remote host closed the connection)
04:08:48  * LOUDBOTjoined
04:08:49  * LOUDBOTquit (Read error: Connection reset by peer)
04:10:48  * LOUDBOTjoined
04:10:59  * defunctzombiequit (Ping timeout: 268 seconds)
04:11:21  * LOUDBOTquit (Remote host closed the connection)
04:11:27  * LOUDBOTjoined
04:13:10  * LOUDBOTquit (Remote host closed the connection)
04:13:17  * LOUDBOTjoined
04:13:46  * LOUDBOTquit (Remote host closed the connection)
04:13:53  * LOUDBOTjoined
04:15:38  * LOUDBOTquit (Remote host closed the connection)
04:15:44  * LOUDBOTjoined
04:19:25  * LOUDBOTquit (Remote host closed the connection)
04:19:31  * LOUDBOTjoined
04:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 12]
04:31:23  * shykeschanged nick to zz_shykes
04:42:21  * tphummelquit (Quit: tphummel)
04:46:48  * mikealjoined
04:47:16  <Raynos>domincitarr: ping?
04:51:08  * mikealquit (Ping timeout: 252 seconds)
05:03:47  * defunctzombiejoined
05:04:19  * _ritchjoined
05:27:56  <rowbit>Daily usage stats: [free: 5]
05:27:57  <rowbit>Hourly usage stats: [free: 5]
05:30:03  * LOUDBOTquit (Remote host closed the connection)
05:30:10  * LOUDBOTjoined
05:41:12  * zz_shykeschanged nick to shykes
05:46:32  * shykeschanged nick to zz_shykes
05:47:18  * mikealjoined
05:51:34  * mikealquit (Ping timeout: 240 seconds)
06:16:53  * LOUDBOTquit (Remote host closed the connection)
06:17:04  * LOUDBOTjoined
06:21:34  * devaholicquit (Ping timeout: 240 seconds)
06:27:56  <rowbit>Hourly usage stats: [free: 11]
06:35:26  * LOUDBOTquit (Remote host closed the connection)
06:36:18  * LOUDBOTjoined
06:47:52  * mikealjoined
06:50:11  * defunctzombiequit (Remote host closed the connection)
06:52:08  * mikealquit (Ping timeout: 252 seconds)
07:12:20  * AvianFluquit (Remote host closed the connection)
07:12:24  * anoemiquit (Quit: anoemi)
07:21:05  <Raynos>substack: http://teh-wizzards-of-stre.nko3.jit.su/
07:22:55  <chapel>Raynos: not sure what is going on there?
07:23:03  <Raynos>its just blocks
07:23:05  <Raynos>that move around
07:23:06  <Raynos>thats all
07:23:24  <substack>really neat
07:25:05  <chapel>in reverse
07:27:56  <rowbit>Hourly usage stats: [free: 12]
07:34:08  * mikealjoined
07:38:48  <substack>https://github.com/substack/energy-relay
07:59:02  * devaholicjoined
08:09:24  * mikealquit (*.net *.split)
08:09:24  * doolsquit (*.net *.split)
08:11:32  * mikealjoined
08:11:32  * doolsjoined
08:25:58  * zz_shykeschanged nick to shykes
08:27:56  <rowbit>Hourly usage stats: [free: 7]
08:38:15  * shykeschanged nick to zz_shykes
08:40:46  * captain_morganjoined
08:46:54  <Raynos>chapel: you dont move in reverse!
08:50:04  * captain_morganquit (Remote host closed the connection)
08:53:08  * captain_morganjoined
09:04:52  * captain_morganquit (Remote host closed the connection)
09:12:23  * captain_morganjoined
09:13:42  * captain_morganquit (Remote host closed the connection)
09:27:56  <rowbit>Hourly usage stats: [free: 6]
09:27:59  * dominictarrjoined
09:28:52  <dominictarr>Raynos, substack are you guys still up?
09:29:53  <substack>I am!
09:29:59  <substack>I'm drawing wizard sprites
09:30:17  <substack>dominictarr: http://teh-wizzards-of-stre.nko3.jit.su/
09:30:33  <substack>raynos got the basic canvas motion working pretty well
09:31:06  <dominictarr>needs chat
09:31:07  <substack>I wrote a module for the attack game dynamics https://github.com/substack/energy-relay
09:31:12  <dominictarr>yeah, looks good
09:31:15  <substack>yes but it should be proximity chat I think
09:31:17  <substack>chat radius
09:31:26  <substack>oh maybe chat bubbles over the characters
09:31:30  <dominictarr>exactly
09:33:20  <substack>another thing is when you get close enough to interact with items they should change color
09:33:35  <substack>perhaps a bright circle underneath
09:43:07  <dominictarr>I'm gonna have a nap,
09:51:42  <substack>front and back sprites complete
09:52:04  <substack>http://substack.net/images/wizard_sprite.svg
10:02:16  * ryan_stevensjoined
10:05:52  * ryan_stevensquit (Quit: Leaving.)
10:06:51  * ryan_stevensjoined
10:10:36  * fotoveritejoined
10:22:06  * captain_morganjoined
10:27:56  <rowbit>Hourly usage stats: [free: 14]
10:32:15  * ryan_stevensquit (Quit: Leaving.)
10:48:57  * ryan_stevensjoined
10:54:47  * jiang-plusjoined
10:57:33  <jiang-plus>Hi substack. I found a project called browserify-chrome. https://github.com/GoogleChrome/browserify-chrome
10:59:29  <jiang-plus>The chrome team seems to make browserify available to the Chrome apps
11:16:23  * yorickjoined
11:16:23  * yorickquit (Changing host)
11:16:23  * yorickjoined
11:27:32  * ryan_stevensquit (Quit: Leaving.)
11:27:56  <rowbit>Hourly usage stats: [free: 28]
11:41:05  <substack>jiang-plus: yep I got an email from the guy doing that
11:41:49  <substack>paul_irish is also on the chrome team and he's in this very channel
11:56:18  * jibayjoined
12:02:55  <jiang-plus>Good morning
12:03:27  <jiang-plus>I guess it is 7:00 am there
12:11:21  <substack>04:08 PST
12:11:22  <LOUDBOT>substack: THE DICK IS COMING FROM INSIDE YOUR BUTT
12:11:27  <substack>LOUDBOT: what
12:11:27  <LOUDBOT>substack: BUT IT HAS STATUE OF LIBERTY FALLING
12:11:33  <substack>silly robot
12:12:14  <substack>wizard sprites complete http://substack.net/images/wizard_sprite.svg
12:13:14  <jiang-plus>so cute
12:14:19  <substack>jiang-plus: are you doing node knockout?
12:14:38  <jiang-plus>what?
12:15:10  <jiang-plus>I dont know any thing called node knockout
12:17:21  <substack>it's a big 48 hour hackathon for node.js
12:17:32  <substack>it's going on right now and I'm on a team with dominictarr and Raynos
12:17:55  <substack>that's what the wizard sprites are for
12:17:56  <jiang-plus>oh,really? where?
12:18:17  <substack>it's international and distributed
12:18:44  <substack>there are also lots of folks meeting up to compete in san francisco, new york, paris
12:18:51  * _ritchquit (Quit: Leaving.)
12:23:46  <substack>http://nodeknockout.com/
12:23:58  <jiang-plus>I am looking at it
12:24:01  <substack>here's our current entry but it's still early http://teh-wizzards-of-stre.nko3.jit.su/
12:24:42  <jiang-plus>It seems that I cannot join in now
12:25:09  <substack>yeah it already started
12:25:55  <substack>ok now the wizard sprites are split into multiple files
12:26:03  <substack>now adding them to the game
12:27:56  <rowbit>Hourly usage stats: [free: 20]
12:42:16  <jiang-plus>I am reading through the nodeknockout.com, the website is interesting and the hackthon seems to be well organized.
12:42:56  <jiang-plus>I'll join hackthon like this next time, it is funny.
12:46:19  * jiang-plusquit (Quit: leaving)
12:52:33  <mbalho>substack: AHAHAHA WIZARD SPRITES
13:18:58  * shuaibjoined
13:26:25  <substack>crap getting this deployed is tricky
13:27:56  <rowbit>Hourly usage stats: [free: 22]
13:29:54  <guybrush>waah we getting close to ship first alpha-version :DDDD
13:30:53  * shuaibquit (Quit: Textual IRC Client: http://www.textualapp.com/)
13:32:56  <substack>dammit I just want to see my wizard animation not this noise about broken deploys
13:35:19  <substack>hooray http://teh-wizzards-of-stre.nko3.jit.su/
13:35:54  <substack>mbalho: ^^^
13:40:12  <substack>phase 2 involves more sprites
13:50:06  * AvianFlujoined
14:27:56  <rowbit>Hourly usage stats: [free: 23]
14:46:20  * substacknaps
14:46:26  <substack>second wizard set nearly done
14:46:48  * AvianFluquit (Remote host closed the connection)
14:46:51  <substack>I'll make a third then the rocks, monsters, and trees
14:47:10  <substack>then re-programming game objects yay
15:03:54  * shuaibjoined
15:11:29  * anoemijoined
15:19:58  * anoemi_joined
15:21:51  * anoemiquit (Ping timeout: 260 seconds)
15:21:51  * anoemi_changed nick to anoemi
15:27:56  <rowbit>Hourly usage stats: [developer: 5, free: 36]
15:35:40  <mbalho>substack: the tld wizard.jobs is available for only 99/yr
15:35:50  <mbalho>unfortunately wizard.asia is taken
15:36:07  <mbalho>also wizards.asia is taken
15:36:23  <mbalho>but wizardsin.asia is available
15:38:03  * alessioalexjoined
16:00:11  * AvianFlujoined
16:05:15  * alessioalexquit (Quit: alessioalex)
16:27:56  <rowbit>Hourly usage stats: [developer: 7, free: 19]
16:31:24  * jdenpart
16:37:05  <dominictarr>substack, I awaken. what is the repo i should pull from for most up to date?
16:39:07  * ryan_stevensjoined
16:50:36  * anoemiquit (Quit: anoemi)
17:02:26  * shuaibquit (Quit: Textual IRC Client: http://www.textualapp.com/)
17:04:59  <dominictarr>Raynos,
17:20:06  * defunctzombiejoined
17:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 28]
17:42:53  * defunctzombiequit (Read error: Connection reset by peer)
17:42:58  * anoemijoined
17:43:04  * defunctzombiejoined
17:45:50  * defunctz_joined
17:46:22  * defunctzombiequit (Read error: Connection reset by peer)
17:50:10  * defunctzombiejoined
17:50:10  * defunctz_quit (Read error: Connection reset by peer)
17:50:39  <dominictarr>FUCK! just trying to add a textarea to the page, but raphael won't play nice
18:01:09  <mbalho>y u use raphael for textarea
18:02:03  <dominictarr>no, I use html for text area
18:02:24  <mbalho>ahh
18:02:24  <dominictarr>but raph refuses to be a normal element, wants to be absolute
18:02:27  <mbalho>raphael kidna sucks
18:02:47  <dominictarr>it adds itself to the dom
18:03:03  <dominictarr>instead of just letting me attach it where I want it to go.
18:06:52  * substackawake
18:07:07  <dominictarr>substack, hey
18:07:16  <substack>dominictarr: pull from me
18:07:52  <substack>http://teh-wizzards-of-stre.nko3.jit.su/
18:07:57  <substack>^ what you will get
18:08:22  <dominictarr>awesome
18:08:35  <dominictarr>I've been adding a textarea
18:08:41  <dominictarr>when you click on a entity
18:09:06  <dominictarr>you can see it's code (at the moment, it's JSON) in the text area.
18:09:06  <substack>sweet!
18:09:43  <dominictarr>I patched Raynos/screen
18:09:47  <dominictarr>tell him to merge
18:10:28  * mikealquit (Quit: Leaving.)
18:10:39  <substack>when I see him
18:11:35  <substack>finishing up multi-colored wizards
18:11:39  <substack>purple, orange, green
18:11:42  * defunctzombiequit (Read error: Connection reset by peer)
18:11:51  * defunctzombiejoined
18:14:42  * defunctzombiequit (Read error: Connection reset by peer)
18:15:05  <dominictarr>substack, you need a frame where the wizard is unconcious
18:15:10  * defunctzombiejoined
18:15:30  <dominictarr>for when his energy is all gone
18:17:12  <substack>unconscious wizards could be glowing orbs
18:17:59  * defunctzombiequit (Read error: Connection reset by peer)
18:18:00  * defunct__joined
18:18:56  <Raynos>dominictarr: give Rapheal an element
18:19:02  <Raynos>in the constructor in ui/world.js
18:19:09  <Raynos>and it should be relatively positioned
18:22:32  <substack>Raynos: http://teh-wizzards-of-stre.nko3.jit.su/
18:22:52  <Raynos>epic
18:24:59  <dominictarr>Raynos, yeah I tried that
18:25:06  <dominictarr>didn't seem to work
18:25:18  <dominictarr>pull my branch, and see what I've done.
18:25:32  <dominictarr>like, I tried to create a div and git it to Raphael
18:25:44  <dominictarr>... but maybe because it wasn't in the dom yet
18:25:51  <Raynos>You can also just refactor the SOB
18:25:53  <Raynos>and use SVG directly
18:25:55  <dominictarr>(was trying to follow your pattern)
18:26:12  <dominictarr>well, I just wanted to get a textarea in there...
18:26:22  <dominictarr>which I did eventually
18:26:26  <Raynos>:)
18:26:28  <dominictarr>just had to abs position it
18:26:31  <Raynos>ill look at it in a sec
18:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 32]
18:30:17  <dominictarr>also, checkout magic.js for my ideas about the user api
18:31:21  <dominictarr>another thing we need, is a bar/graph showing how much wizzard power you have
18:31:41  <dominictarr>idea: you have stats, and you can spend power to upgrade them
18:34:18  <Raynos>I kinda want to focus on MVP
18:34:21  <Raynos>on fun
18:34:51  <substack>dominictarr: cat config/items.json
18:35:01  * AvianFluquit (Remote host closed the connection)
18:36:28  <substack>orange wizard sprites colored
18:37:16  <substack>http://substack.net/images/wizard_sprite.svg
18:37:33  <substack>next green then rocks, trees, monsters
18:42:35  <dominictarr>substack, stats looks good
18:43:54  <substack>dominictarr: did you see https://github.com/substack/energy-relay ?
18:44:14  <substack>attack/defend logic
18:44:57  <dominictarr>looks kinda complicated
18:45:08  <dominictarr>can't it just be one function?
18:45:18  <dominictarr>like attack(other)
18:45:37  <substack>perhaps
18:45:39  <dominictarr>and then it, haah, throws if the attack failed,
18:45:50  <dominictarr>I want people not to have to bebug
18:45:52  <substack>attacks take time
18:46:03  <dominictarr>async?
18:46:06  <substack>yes
18:46:40  <dominictarr>back to the server?
18:46:56  <dominictarr>could we just make it sync and run all the code on the server?
18:47:10  <dominictarr>(all the user code)
18:48:40  <substack>possible but user code might do a lot of shit
18:50:26  <dominictarr>can't we restrict that with stackedy?
18:50:43  <dominictarr>what if we just band while and for?
18:50:59  <dominictarr>and hide setTimeout, etc
18:52:10  <dominictarr>okay. I'll be back online in a bit!
18:52:55  <substack>that would be slow as fuck to use stackeyd
18:53:38  <substack>just run code in people's browsers
18:53:40  <substack>that scales
18:56:13  * AvianFlujoined
18:57:12  * defunct__quit (Read error: Connection reset by peer)
18:57:20  * defunctzombiejoined
18:57:45  * dominictarrquit (Ping timeout: 268 seconds)
18:58:12  * defunctzombiequit (Read error: Connection reset by peer)
18:58:20  * defunctzombiejoined
18:58:39  <substack>crazy idea: use people's browsers as a botnet to run all the entity code
18:59:03  <substack>that way the more users join the more cpu capacity we'll have
18:59:11  <substack>auto-scaling
18:59:35  <AvianFlu>substack: clever!
19:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 32]
19:31:05  * mikealjoined
19:31:21  <Raynos>substack: heading your way
19:31:37  <Raynos>substack: where you live?
19:31:49  * zz_shykeschanged nick to shykes
19:32:58  <substack>Raynos: 3276 logan street
19:33:29  <substack>get off at fruitvale bart and head north on fruitvale avenue to logan street, then east for half a block up a big hill
19:35:53  <substack>Raynos: do you have a bike?
19:35:59  <Raynos>nope
19:36:07  <substack>ok that's fine I'll be making tacos anyways
19:36:15  <substack>it's pretty close to the part station too
19:36:16  <substack>*bart
19:41:06  * mikealquit (Ping timeout: 240 seconds)
19:43:01  * defunctzjoined
19:49:58  * captain_morganquit (Ping timeout: 246 seconds)
19:50:28  * captain_morganjoined
20:00:29  * captain_morganquit (Ping timeout: 255 seconds)
20:01:25  * captain_morganjoined
20:04:31  * ryan_stevensquit (Quit: Leaving.)
20:05:55  * fotoveritequit (Quit: fotoverite)
20:06:17  * ryan_stevensjoined
20:07:11  * mikealjoined
20:10:34  * defunctzquit (Remote host closed the connection)
20:11:41  * mikealquit (Ping timeout: 245 seconds)
20:18:59  * ryan_stevensquit (Quit: Leaving.)
20:26:02  <substack>green and orange wizards done, integrating
20:26:10  <substack>then coloring all the other players with wizards
20:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 32]
20:31:12  <substack>Raynos: what do these `global:` comment things do?
20:31:17  <substack>seems weird I'm going to delete them
20:37:32  * mikealjoined
20:42:08  * mikealquit (Ping timeout: 265 seconds)
20:52:02  <st_luke>where do I buy gold bars
21:07:55  * mikealjoined
21:11:43  * LOUDBOTquit (Remote host closed the connection)
21:11:51  * LOUDBOTjoined
21:12:14  * mikealquit (Ping timeout: 240 seconds)
21:12:15  * LOUDBOTquit (Remote host closed the connection)
21:12:21  * LOUDBOTjoined
21:27:56  <rowbit>Hourly usage stats: [developer: 1, free: 14]
21:32:56  <Raynos>substack: https://github.com/Raynos/unpack-element#example
21:34:03  * LOUDBOTquit (Remote host closed the connection)
21:34:09  * LOUDBOTjoined
21:34:54  * dominictarrjoined
21:35:07  <substack>yo dominictarr
21:35:11  <Raynos>sup
21:35:27  <substack>dominictarr: so I think we shouldn't run any user code on the server
21:35:31  <dominictarr>hey whats happinging - chaos - but I'm in the saddle properly
21:35:42  <substack>we can just use people's browsers as a botnet
21:35:52  <substack>and randomly assign them javascript snippets to run
21:35:59  <substack>that should scale pretty well I think
21:36:03  * LOUDBOTquit (Remote host closed the connection)
21:36:07  <substack>since the more users there are, the more bots in the net
21:36:11  * LOUDBOTjoined
21:36:22  <substack>the more users play the game, the faster it gets
21:37:29  <dominictarr>okay, well either way, I'm gonna work on the user magic api now, if you guys havn't started on that.
21:37:29  <Raynos>https://gist.github.com/4052616
21:37:38  <dominictarr>I just pulled the latest,
21:37:42  <Raynos>havn't started it yet
21:37:59  <substack>sweet, the magic api needs to happen
21:38:08  <dominictarr>cool.
21:38:18  <substack>attack, transfer, upload
21:38:21  * mikealjoined
21:38:28  <dominictarr>and move
21:38:33  <dominictarr>and say
21:38:33  <substack>right
21:38:40  <substack>sounds good
21:38:44  <dominictarr>say prints message above your head
21:39:02  <dominictarr>and hear(function (message, speaker){...})
21:39:13  <dominictarr>lets you respond to things entities say
21:39:47  <dominictarr>Raynos, I made world into an event emitter
21:39:59  <Raynos>dominictarr: I fixed screen so its ane vent emiter
21:40:10  <dominictarr>cool, good.
21:40:34  <dominictarr>I need a way to access the entities that is decoupled from the drawing
21:40:42  <dominictarr>I only want to update their props.
21:41:08  <Raynos>well the entities in the entities folder
21:41:11  <Raynos>aren't actual entities
21:41:15  <Raynos>they are just drawing things
21:41:15  <dominictarr>hmm, best to to just emit them when they are created, so that the magic api can grab them.
21:41:22  <Raynos>so we should move that shit somewhere else
21:41:26  <Raynos>and have actual entities
21:41:32  <dominictarr>If I change the rows x/y will the drawing update?
21:41:42  <Raynos>should do
21:42:00  <dominictarr>where are new entities added?
21:42:38  <Raynos>currently nowhere
21:42:39  <Raynos>but
21:42:42  <Raynos>https://gist.github.com/4052616
21:42:44  * mikealquit (Ping timeout: 248 seconds)
21:42:45  <Raynos>there is going to be a generator
21:42:51  <Raynos>that generates new entities as you move around the world
21:42:57  <Raynos>and there I will randomly generate something
21:43:07  <dominictarr>where is the code that adds the ones we have?
21:43:38  <Raynos>in server.js
21:43:45  <Raynos>mock function
21:43:56  <dominictarr>why is it called mock?
21:44:26  <dominictarr>right, got it. I'll just update listen to the model directly...
21:45:13  <Raynos>becuase it creates mock data
21:45:15  <Raynos>:P
21:47:35  <dominictarr>okay.
21:49:55  <dominictarr>substack, I'm not seeing any player sprites
21:50:48  <substack>dominictarr: what about on http://teh-wizzards-of-stre.nko3.jit.su/ ?
21:51:27  <dominictarr>that one is good, but not when I pull
21:51:44  <dominictarr>good drawing, btw
21:52:19  * LOUDBOTquit (Remote host closed the connection)
21:52:25  * LOUDBOTjoined
21:52:46  <Raynos>pull from either one of us?
21:52:59  * LOUDBOTquit (Remote host closed the connection)
21:53:06  * LOUDBOTjoined
21:55:33  * LOUDBOTquit (Remote host closed the connection)
21:55:40  * LOUDBOTjoined
21:57:18  * LOUDBOTquit (Remote host closed the connection)
21:57:24  * LOUDBOTjoined
21:58:47  <dominictarr>how do I use live-reload?
21:59:22  * LOUDBOTquit (Remote host closed the connection)
21:59:29  * LOUDBOTjoined
22:00:15  * ryan_stevensjoined
22:00:31  <dominictarr>still no player
22:00:39  <substack>fixing merge conflicts
22:00:56  <substack>yes I don't see a player once I merged from raynos
22:01:03  <Raynos>I see
22:01:54  <Raynos>Yeah
22:01:55  <Raynos>wizard is gone
22:02:18  <Raynos>dominictarr: for live-reload just run the server (from Makefile) and use the /reload.html path
22:02:51  <dominictarr>does that reload the server, or the client?
22:03:21  <dominictarr>there is no Makefile
22:03:42  <dominictarr>Raynos/master?
22:04:03  <substack>pushed my stuff but I pulled from raynos so my wizard is gone
22:04:09  <Raynos>Oh
22:04:13  <Raynos>Yeah substack got rid of makefile
22:04:20  <Raynos>I think there is live-reload in npm scripts too
22:04:24  <dominictarr>there is a build script
22:04:30  <dominictarr>does it restart the server?
22:04:40  <dominictarr>because I already added a thing to reload the client.
22:05:45  <Raynos>nope
22:05:48  <Raynos>just reloads the browsers
22:06:08  <Raynos>I need to fix the player thing
22:06:09  <Raynos>cause its fucked
22:06:25  <dominictarr>we are using this already https://npmjs.org/package/client-reloader
22:06:38  <dominictarr>I wrote that earlier in the week for my cascadia talk
22:07:44  <Raynos>thats different
22:07:48  <Raynos>thats based on a version
22:07:57  <Raynos>not on local files
22:08:04  <Raynos>thats more useful in production environments
22:08:18  <Raynos>if you dont want the live-reload thing ignore it
22:08:31  <substack>ok I'm going to figure out how to use everybody's browsers as a giant botnet
22:08:41  * mikealjoined
22:08:48  <substack>I think a simple deterministic algorithm will do
22:09:51  * fotoveritejoined
22:11:42  <substack>isaacs: tacos soon
22:12:54  <Raynos>should have fixed that bug
22:13:00  <Raynos>dominictarr: pull down and see if it works
22:13:14  * mikealquit (Ping timeout: 268 seconds)
22:14:28  <substack>confirmed
22:14:44  <substack>pull from me too
22:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 36]
22:28:43  * LOUDBOTquit (Remote host closed the connection)
22:29:07  * LOUDBOTjoined
22:31:18  * fotoveritequit (Quit: fotoverite)
22:31:43  <substack>pushed a viewer that uses the whole screen
22:31:45  <substack>pull from me
22:32:13  <substack>next up: drawing other players
22:36:24  * LOUDBOTquit (Remote host closed the connection)
22:36:36  * LOUDBOTjoined
22:39:02  * mikealjoined
22:39:49  * st_lukequit (Remote host closed the connection)
22:40:14  <substack>pushed a fix to properly center the wizard
22:43:56  * mikealquit (Ping timeout: 265 seconds)
22:49:15  <Raynos>pushed!
22:49:19  <Raynos>it now auto generates new stuff
22:49:23  <Raynos>as you walka round the map
22:49:32  <Raynos>domincitarr: hows it going?
22:50:25  * LOUDBOTquit (Remote host closed the connection)
22:50:40  * LOUDBOTjoined
22:51:14  <dominictarr>coming along, gonna have to patch crdt
22:52:34  <Raynos>ok
22:53:16  <Raynos>What is next to do
22:53:28  <substack>source botnet
22:53:38  <substack>set source params on entities in crdt
22:54:08  <substack>and then have a deterministic algorithm to decide if the current browser should execute that source
22:54:31  <dominictarr>substack, so how this gonna work: set a source prop,
22:54:44  <dominictarr>then it gets evaled with globals hidden
22:54:54  <dominictarr>and self = a wrapper around the row
22:54:59  <substack>yes and with setTimeout and setInterval patched to keep the refs around so we can clear them
22:55:19  <dominictarr>there is only a self.think(function (){...})
22:55:34  <substack>why?
22:55:47  <substack>listen for events
22:55:52  <dominictarr>the speed it ticks depends on how "smart" the thing is.
22:56:17  * LOUDBOTquit (Remote host closed the connection)
22:56:23  * LOUDBOTjoined
22:56:31  * LOUDBOTquit (Remote host closed the connection)
22:56:36  <substack>why not just listen on events and set timers and intervals?
22:56:37  * LOUDBOTjoined
22:57:12  <dominictarr>well, don't want to expose an event emitter
22:57:28  <dominictarr>I want to just show some certain functions
22:57:46  <substack>ok polling could work I suppose
22:57:50  <dominictarr>the events will be 'think' -> ticks
22:58:05  <Raynos>do we need to run this code in webworkers
22:58:08  <dominictarr>hear -> when something nearby says something
22:58:14  <Raynos>to stop it from runining the main game loop
22:58:56  * ryan_stevensquit (Quit: Leaving.)
22:59:22  <dominictarr>attacked -> when something attacks
23:00:00  <Raynos>dominictarr: It would be cool to see what / how your doing game mechanics
23:00:15  <Raynos>I think ill upgrade the text area
23:00:17  <dominictarr>I'll push what I got, but it's not running yet
23:00:18  <Raynos>to codemirror :D
23:00:20  <dominictarr>please do
23:00:33  <substack>makes sense to run the programs that users write in their own browsers
23:00:41  <substack>that way we don't need to protect against infinite loops
23:00:49  <substack>if you write an infinite loop your browser crashes
23:01:04  <dominictarr>hmm, but the programs need to interact.
23:01:18  <substack>yes but they interact over crdt
23:01:29  <substack>or do we need a separate message bus?
23:02:29  <dominictarr>okay, so when someone attacks the other entity decides how to react
23:02:40  <dominictarr>like, it can just give the player the energy
23:03:44  <dominictarr>I like the idea of only interacting via crdt...
23:04:48  * intabulasjoined
23:07:02  <Raynos>o/
23:07:04  <Raynos>sounds good
23:07:16  <Raynos>WIZARDRY WIZARDRY STUFF
23:07:16  <LOUDBOT>OUR NEXT ACT, GUS! AND HIS SIDEKICK, BILLY THE DANCING AIDS
23:09:23  * mikealjoined
23:13:57  * mikealquit (Ping timeout: 252 seconds)
23:14:26  <dominictarr>Raynos, where does the view start following the objects?
23:14:35  <Raynos>?
23:14:45  <dominictarr>I mean start drawing them
23:14:52  <Raynos>when they come in
23:14:59  <dominictarr>where is the code
23:15:06  <Raynos>ui/world
23:15:09  <Raynos>model.on("create"
23:15:21  <Raynos>and then the create function
23:16:05  * shuaibjoined
23:21:08  <dominictarr>okay, I got a think moving...
23:22:13  <Raynos>pushed. Ace editor
23:22:27  <Raynos>dominictarr: feel free to refactor stuff. Code is messy
23:22:29  <dominictarr>pull from me
23:22:47  <dominictarr>no time for refactoring
23:23:05  <Raynos>functions after the return are nice :P
23:24:01  <dominictarr>they are weird
23:24:15  <dominictarr>anyway,
23:24:22  <dominictarr>it's not important
23:24:27  * fotoveritejoined
23:24:39  <dominictarr>how do we tell it not to cache bundle.js?
23:24:50  <dominictarr>Raynos, I just see a normal textarea
23:25:09  <Raynos>pushed
23:25:19  <Raynos>you have bundle.js caching problems?
23:25:21  <Raynos>I dont
23:25:46  <Raynos>I see all monster types move around
23:27:12  <dominictarr>yup
23:27:28  <dominictarr>it's okay,
23:27:36  <dominictarr>Raynos, sometimes.
23:27:56  <rowbit>Hourly usage stats: [developer: 0, free: 18]
23:27:57  <dominictarr>onlf when changing to a new server.
23:28:24  <dominictarr>Raynos, the text size to way too small.
23:28:34  <Raynos>for the editor?
23:28:53  <dominictarr>ypu
23:28:54  <dominictarr>yes
23:29:16  <dominictarr>need space for error messages too
23:32:38  * mikealjoined
23:32:52  <dominictarr>substack, we need a scroll, or book thing.
23:33:15  <dominictarr>that the players can find and can explain how to play
23:33:45  <Raynos>we can use vertical space for errors
23:33:49  <dominictarr>pushed my stuff
23:33:52  <dominictarr>Raynos, agree
23:35:46  * defunctzombiequit (Remote host closed the connection)
23:44:35  <dominictarr>we probably want a repl thingee for chat and one off commands
23:45:29  <Raynos>maybe
23:45:34  <Raynos>what do we want for chat?
23:46:07  <Raynos>As in where in the UI should it go?
23:46:55  <dominictarr>it should appear above the player's head
23:47:02  <dominictarr>it's part of the game
23:47:09  <dominictarr>the entities can 'hear' it
23:47:49  <dominictarr>so, you can program things to respond to messages
23:48:07  <Raynos>i mean where do you enter chats
23:48:24  * anoemiquit (Quit: anoemi)
23:48:32  <Raynos>I guess a REPL
23:48:32  <substack>I'll put talk bubbles in for the sprite refactor
23:48:35  <substack>currently working on it
23:48:35  <Raynos>chat("foo bar")
23:49:15  * anoemijoined
23:49:43  <dominictarr>we probably want to draw them with vectors so can make them the right size...
23:49:51  <dominictarr>Raynos, yeah
23:50:33  <dominictarr>idea: animals that you can feed (give energy to) and it becames your friend and follows you around.
23:52:02  <dominictarr>what if the boy animals save up energy, a and then find a girl animal and then they put their energy together and create a baby animal.
23:52:42  <dominictarr>make 'cows' that eat plans
23:52:52  <dominictarr>and 'tigers' that eat cows.
23:52:54  <substack>that's a lot of art assets
23:53:10  <substack>dominictarr: get the code working for each of these and I'll draw them
23:53:37  <dominictarr>is there a way we can easily recolour things?
23:53:52  <dominictarr>or, just slap on different heads or something?
23:54:34  <substack>no
23:54:40  <substack>it's very labor intensive
23:55:11  <dominictarr>okay.
23:55:44  <dominictarr>we can scale them though, right?
23:55:51  <substack>yes they're svgs
23:55:55  <dominictarr>make a little tree that grows big?
23:56:25  * yorickquit (Remote host closed the connection)