Re: [Video] Game development in Clojure (with play-clj)

2015-10-18 Thread Zach Oakes
That function was renamed to `key-pressed?`.

On Saturday, October 17, 2015 at 7:32:44 PM UTC-4, amirteymuri wrote:
>
> Dear James,
> is-pressed? can not be resolved for me. Is this a version matter? Is there 
> still a is-pressed? function?
> Greetings
>
> Am Donnerstag, 27. März 2014 18:07:21 UTC+1 schrieb James Trunk:
>>
>> Hi everyone,
>>
>> I thought some of you might be interested to watch my screencast about game 
>> development in Clojure with play-clj 
>> .
>>
>> Cheers,
>> James
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2015-10-17 Thread William Swaney
Really enjoyed this.  I've done a lot of LWJGL games in Java, but I'm going 
to try something in Clojure now.

Thanks,

Bill

On Thursday, March 27, 2014 at 10:07:21 AM UTC-7, James Trunk wrote:
>
> Hi everyone,
>
> I thought some of you might be interested to watch my screencast about game 
> development in Clojure with play-clj 
> .
>
> Cheers,
> James
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2015-10-17 Thread amirteymuri
Dear James,
is-pressed? can not be resolved for me. Is this a version matter? Is there 
still a is-pressed? function?
Greetings

Am Donnerstag, 27. März 2014 18:07:21 UTC+1 schrieb James Trunk:
>
> Hi everyone,
>
> I thought some of you might be interested to watch my screencast about game 
> development in Clojure with play-clj 
> .
>
> Cheers,
> James
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2014-04-16 Thread James Trunk
> you can omit comma ',' in maps {:key value :another value}
In the interest of readability, I usually add commas when I have multiple 
key-value pairs on the same row.

> can omit contains? in filter:
Cool - thanks for the tip!

Also, thanks to everyone else for your comments. :-)

Cheers, 
James

On Wednesday, April 16, 2014 6:07:06 PM UTC+2, edbond wrote:
>
> Nice video, very cool.
>
> Some notes:
> - you can omit comma ',' in maps {:key value :another value}
> - can omit contains? in filter:
> user=> (filter :apple? [{:apple? true :x 6} {:apple? true :x 4} {:player? 
> true :x 550}])
> ({:apple? true, :x 6} {:apple? true, :x 4})
>
>
> Thanks again,
> Eduard
>
>
> On Thursday, March 27, 2014 7:07:21 PM UTC+2, James Trunk wrote:
>>
>> Hi everyone,
>>
>> I thought some of you might be interested to watch my screencast about game 
>> development in Clojure with 
>> play-clj
>> .
>>
>> Cheers,
>> James
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2014-04-16 Thread edbond
Nice video, very cool.

Some notes:
- you can omit comma ',' in maps {:key value :another value}
- can omit contains? in filter:
user=> (filter :apple? [{:apple? true :x 6} {:apple? true :x 4} {:player? 
true :x 550}])
({:apple? true, :x 6} {:apple? true, :x 4})


Thanks again,
Eduard


On Thursday, March 27, 2014 7:07:21 PM UTC+2, James Trunk wrote:
>
> Hi everyone,
>
> I thought some of you might be interested to watch my screencast about game 
> development in Clojure with 
> play-clj
> .
>
> Cheers,
> James
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2014-04-16 Thread kurofune
Jame's tutorial was right on the money and following it I was able to make 
a comparable version with Skeletor collecting magic gems in a desert. I am 
interested in leveraging Clojurescript and async for browser-game 
development, though, and while there is a core.async "Dots" game tutorial, 
it goes way over my head. If only there were a proper book that could teach 
Clojurescript, game development and async all at the same time! 
http://rigsomelight.com/2013/08/12/clojurescript-core-async-dots-game.html

I am exploring the game-query library for javascript and am reading a book 
about using jquery (can Clojurescript leverage this?) to make games. It's 
pretty sweet, but really polymorphic and un-Clojurey. By contrast, going 
through the Pedestal tutorial, it seems you can actually store the entire 
state of the game in an atom and just repeatedly swap! out that value, 
frame for frame, by matching it against a map representing changes to the 
DOM. This seems to make sense, but it feels like we are on a wild frontier 
with only a few examples to go by. If anyone else has experience with 
Pedestal, Clojurescript or core.async, as they pertain to game dev, I'd be 
stoked to hear about your experience.  

Jesse

On Friday, March 28, 2014 2:07:21 AM UTC+9, James Trunk wrote:
>
> Hi everyone,
>
> I thought some of you might be interested to watch my screencast about game 
> development in Clojure with 
> play-clj
> .
>
> Cheers,
> James
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2014-04-15 Thread Kris Calabio
Thanks, Colin! I wasn't aware of mapv.


On Tue, Apr 15, 2014 at 6:08 PM, Colin Fleming
wrote:

> Note that you could use mapv, to perform the map but return a vector
> (filterv was also added at the same time).
>
>
> On 16 April 2014 11:46, Kris Calabio  wrote:
>
>> I'm not exactly sure, but I think it's the use of 'conj'. My entities get
>> out of order if they are not vectors.
>>
>> All this might not matter though, because I've started rewriting my game
>> from scratch since I'm using way too many mutable atoms than is necessary.
>> James' screencast cleared a lot of things up for me, and I have a better
>> understanding about how play-clj works.
>>
>> But just to clarify, when exactly does play-clj convert the entities back
>> into a vector? Is it when the callback functions of the screen return?
>>
>>
>>  On Tue, Apr 15, 2014 at 4:37 PM, Zach Oakes  wrote:
>>
>>>  I see. If your code requires a vector, I think you will have to coerce
>>> the list each time as you are doing. Out of curiosity, what are you doing
>>> that makes this necessary? Are you using something like get-in?
>>>
>>>
>>> On Tuesday, April 15, 2014 7:11:56 PM UTC-4, Kris Calabio wrote:
>>>
 In one of the callback functions in the defscreen I have a pipeline of
 functions that do something to the entities vector and return the resulting
 entities. I do something like this:

 (->> entities
   (process-entities01)
   (process-entities02)
   (map (fn [entity]
   (->> entity
  (process-entity01)
  (process-entity02)))
   (process-entities03))

 And that does not work, because each of the 'process-entities'
 functions are written in a way that expect a vector as input. Likewise,
 they each output a LazySeq unless I convert them back to a vector before
 returning. But I can't do that for the map function in the pipeline. But
 this does work:

 (->> entities
   (process-entities01)
   vec
   (process-entities02)
vec
   (map (fn [entity]
   (->> entity
  (process-entity01)
  (process-entity02)))
   vec
   (process-entities03)
   vec)




 On Tue, Apr 15, 2014 at 3:34 PM, Zach Oakes  wrote:

> Kris, the entities are automatically converted back into a vector by
> play-clj after being returned by a given function. Can you elaborate on
> what problem you believe is occurring when you don't change it back to a
> vector?
>
>
> On Tuesday, April 15, 2014 5:26:07 PM UTC-4, Kris Calabio wrote:
>
>> James, I have a question. I see this pattern a lot in the sample code
>> and in your code as well, for example:
>>
>>
>>
>>
>> (defn- move-player [entities]
>>   (->> entities
>>
>>(map (fn [entity]
>>   (->> entity
>>
>>(update-player-position)
>>(update-hit-box
>>
>>
>>
>>
>>(remove-touched-apples)))
>>
>>
>> When the entities vector gets threaded through the map function, it
>> comes out as a LazySeq. But don't we want to keep the entities as a 
>> vector?
>> This seems to be causing problems in my own code, and the only way to 
>> keep
>> it working is to change it back to a vector every time I do this, which
>> seems inelegant. Just wondering if I'm missing something.
>> -Kris
>>
>>
>> On Sun, Apr 13, 2014 at 3:13 PM, James Trunk wrote:
>>
>>> There's a link to a gist of 
>>> core.cljin the video's 
>>> description.
>>>
>>> Cheers,
>>> James
>>>
>>>
>>> On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>>>
 Actually, I thought it would be even more helpful if you had the
 source code available (for searching/skimming). Is that somewhere 
 online?
 -Kris


  On Sun, Apr 13, 2014 at 2:47 PM, James Trunk 
 wrote:

>  Hi Kris,
>
> Thanks for your comment, and I'm very glad that you found the
> video helpful.
>
> I started doing screencasts because I realised that I learn a new
> concept fastest by watching someone else doing/explaining it - and I
> figured I might not be the only one. Saying that, I know screencasts 
> aren't
> for everyone, and they have a few drawbacks compared to text (harder 
> to
> search, skim, or repeat sections). So positive comment like yours 
> remind me
> that I'm not the only auditory/visual learner around here, and 
> inspire me
> to keep going. Thanks!
>
> James
>
>
> On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>>
>>

Re: [Video] Game development in Clojure (with play-clj)

2014-04-15 Thread Colin Fleming
Note that you could use mapv, to perform the map but return a vector
(filterv was also added at the same time).


On 16 April 2014 11:46, Kris Calabio  wrote:

> I'm not exactly sure, but I think it's the use of 'conj'. My entities get
> out of order if they are not vectors.
>
> All this might not matter though, because I've started rewriting my game
> from scratch since I'm using way too many mutable atoms than is necessary.
> James' screencast cleared a lot of things up for me, and I have a better
> understanding about how play-clj works.
>
> But just to clarify, when exactly does play-clj convert the entities back
> into a vector? Is it when the callback functions of the screen return?
>
>
>  On Tue, Apr 15, 2014 at 4:37 PM, Zach Oakes  wrote:
>
>>  I see. If your code requires a vector, I think you will have to coerce
>> the list each time as you are doing. Out of curiosity, what are you doing
>> that makes this necessary? Are you using something like get-in?
>>
>>
>> On Tuesday, April 15, 2014 7:11:56 PM UTC-4, Kris Calabio wrote:
>>
>>> In one of the callback functions in the defscreen I have a pipeline of
>>> functions that do something to the entities vector and return the resulting
>>> entities. I do something like this:
>>>
>>> (->> entities
>>>   (process-entities01)
>>>   (process-entities02)
>>>   (map (fn [entity]
>>>   (->> entity
>>>  (process-entity01)
>>>  (process-entity02)))
>>>   (process-entities03))
>>>
>>> And that does not work, because each of the 'process-entities' functions
>>> are written in a way that expect a vector as input. Likewise, they each
>>> output a LazySeq unless I convert them back to a vector before returning.
>>> But I can't do that for the map function in the pipeline. But this does
>>> work:
>>>
>>> (->> entities
>>>   (process-entities01)
>>>   vec
>>>   (process-entities02)
>>>vec
>>>   (map (fn [entity]
>>>   (->> entity
>>>  (process-entity01)
>>>  (process-entity02)))
>>>   vec
>>>   (process-entities03)
>>>   vec)
>>>
>>>
>>>
>>>
>>> On Tue, Apr 15, 2014 at 3:34 PM, Zach Oakes  wrote:
>>>
 Kris, the entities are automatically converted back into a vector by
 play-clj after being returned by a given function. Can you elaborate on
 what problem you believe is occurring when you don't change it back to a
 vector?


 On Tuesday, April 15, 2014 5:26:07 PM UTC-4, Kris Calabio wrote:

> James, I have a question. I see this pattern a lot in the sample code
> and in your code as well, for example:
>
>
>
> (defn- move-player [entities]
>   (->> entities
>
>(map (fn [entity]
>   (->> entity
>
>(update-player-position)
>(update-hit-box
>
>
>
>(remove-touched-apples)))
>
>
> When the entities vector gets threaded through the map function, it
> comes out as a LazySeq. But don't we want to keep the entities as a 
> vector?
> This seems to be causing problems in my own code, and the only way to keep
> it working is to change it back to a vector every time I do this, which
> seems inelegant. Just wondering if I'm missing something.
> -Kris
>
>
> On Sun, Apr 13, 2014 at 3:13 PM, James Trunk wrote:
>
>> There's a link to a gist of 
>> core.cljin the video's 
>> description.
>>
>> Cheers,
>> James
>>
>>
>> On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>>
>>> Actually, I thought it would be even more helpful if you had the
>>> source code available (for searching/skimming). Is that somewhere 
>>> online?
>>> -Kris
>>>
>>>
>>>  On Sun, Apr 13, 2014 at 2:47 PM, James Trunk wrote:
>>>
  Hi Kris,

 Thanks for your comment, and I'm very glad that you found the video
 helpful.

 I started doing screencasts because I realised that I learn a new
 concept fastest by watching someone else doing/explaining it - and I
 figured I might not be the only one. Saying that, I know screencasts 
 aren't
 for everyone, and they have a few drawbacks compared to text (harder to
 search, skim, or repeat sections). So positive comment like yours 
 remind me
 that I'm not the only auditory/visual learner around here, and inspire 
 me
 to keep going. Thanks!

 James


 On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>
> Great video! I've looked through Zach's examples, and even started
> coding a game myself. But your screencast helped me have a better
> understanding of some of the concepts and code that I was having 
> trouble
> understanding just by lookin

Re: [Video] Game development in Clojure (with play-clj)

2014-04-15 Thread Kris Calabio
I'm not exactly sure, but I think it's the use of 'conj'. My entities get
out of order if they are not vectors.

All this might not matter though, because I've started rewriting my game
from scratch since I'm using way too many mutable atoms than is necessary.
James' screencast cleared a lot of things up for me, and I have a better
understanding about how play-clj works.

But just to clarify, when exactly does play-clj convert the entities back
into a vector? Is it when the callback functions of the screen return?


On Tue, Apr 15, 2014 at 4:37 PM, Zach Oakes  wrote:

> I see. If your code requires a vector, I think you will have to coerce the
> list each time as you are doing. Out of curiosity, what are you doing that
> makes this necessary? Are you using something like get-in?
>
>
> On Tuesday, April 15, 2014 7:11:56 PM UTC-4, Kris Calabio wrote:
>
>> In one of the callback functions in the defscreen I have a pipeline of
>> functions that do something to the entities vector and return the resulting
>> entities. I do something like this:
>>
>> (->> entities
>>   (process-entities01)
>>   (process-entities02)
>>   (map (fn [entity]
>>   (->> entity
>>  (process-entity01)
>>  (process-entity02)))
>>   (process-entities03))
>>
>> And that does not work, because each of the 'process-entities' functions
>> are written in a way that expect a vector as input. Likewise, they each
>> output a LazySeq unless I convert them back to a vector before returning.
>> But I can't do that for the map function in the pipeline. But this does
>> work:
>>
>> (->> entities
>>   (process-entities01)
>>   vec
>>   (process-entities02)
>>vec
>>   (map (fn [entity]
>>   (->> entity
>>  (process-entity01)
>>  (process-entity02)))
>>   vec
>>   (process-entities03)
>>   vec)
>>
>>
>>
>>
>> On Tue, Apr 15, 2014 at 3:34 PM, Zach Oakes  wrote:
>>
>>> Kris, the entities are automatically converted back into a vector by
>>> play-clj after being returned by a given function. Can you elaborate on
>>> what problem you believe is occurring when you don't change it back to a
>>> vector?
>>>
>>>
>>> On Tuesday, April 15, 2014 5:26:07 PM UTC-4, Kris Calabio wrote:
>>>
 James, I have a question. I see this pattern a lot in the sample code
 and in your code as well, for example:

 (defn- move-player [entities]
   (->> entities

(map (fn [entity]
   (->> entity

(update-player-position)
(update-hit-box

(remove-touched-apples)))


 When the entities vector gets threaded through the map function, it
 comes out as a LazySeq. But don't we want to keep the entities as a vector?
 This seems to be causing problems in my own code, and the only way to keep
 it working is to change it back to a vector every time I do this, which
 seems inelegant. Just wondering if I'm missing something.
 -Kris


 On Sun, Apr 13, 2014 at 3:13 PM, James Trunk wrote:

> There's a link to a gist of 
> core.cljin the video's 
> description.
>
> Cheers,
> James
>
>
> On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>
>> Actually, I thought it would be even more helpful if you had the
>> source code available (for searching/skimming). Is that somewhere online?
>> -Kris
>>
>>
>>  On Sun, Apr 13, 2014 at 2:47 PM, James Trunk wrote:
>>
>>>  Hi Kris,
>>>
>>> Thanks for your comment, and I'm very glad that you found the video
>>> helpful.
>>>
>>> I started doing screencasts because I realised that I learn a new
>>> concept fastest by watching someone else doing/explaining it - and I
>>> figured I might not be the only one. Saying that, I know screencasts 
>>> aren't
>>> for everyone, and they have a few drawbacks compared to text (harder to
>>> search, skim, or repeat sections). So positive comment like yours 
>>> remind me
>>> that I'm not the only auditory/visual learner around here, and inspire 
>>> me
>>> to keep going. Thanks!
>>>
>>> James
>>>
>>>
>>> On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:

 Great video! I've looked through Zach's examples, and even started
 coding a game myself. But your screencast helped me have a better
 understanding of some of the concepts and code that I was having 
 trouble
 understanding just by looking at the example games. Thanks!
 -Kris

 On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>
> Hi everyone,
>
> I thought some of you might be interested to watch my screencast
> about game development in Clojure with 
> play-clj

Re: [Video] Game development in Clojure (with play-clj)

2014-04-15 Thread Zach Oakes
I see. If your code requires a vector, I think you will have to coerce the 
list each time as you are doing. Out of curiosity, what are you doing that 
makes this necessary? Are you using something like get-in?

On Tuesday, April 15, 2014 7:11:56 PM UTC-4, Kris Calabio wrote:
>
> In one of the callback functions in the defscreen I have a pipeline of 
> functions that do something to the entities vector and return the resulting 
> entities. I do something like this:
>
> (->> entities
>   (process-entities01)
>   (process-entities02)
>   (map (fn [entity]
>   (->> entity
>  (process-entity01)
>  (process-entity02)))
>   (process-entities03))
>
> And that does not work, because each of the 'process-entities' functions 
> are written in a way that expect a vector as input. Likewise, they each 
> output a LazySeq unless I convert them back to a vector before returning. 
> But I can't do that for the map function in the pipeline. But this does 
> work:
>
> (->> entities
>   (process-entities01)
>   vec
>   (process-entities02)
>vec
>   (map (fn [entity]
>   (->> entity
>  (process-entity01)
>  (process-entity02)))
>   vec
>   (process-entities03)
>   vec)
>
>   
>
>
> On Tue, Apr 15, 2014 at 3:34 PM, Zach Oakes 
> > wrote:
>
>> Kris, the entities are automatically converted back into a vector by 
>> play-clj after being returned by a given function. Can you elaborate on 
>> what problem you believe is occurring when you don't change it back to a 
>> vector?
>>
>>
>> On Tuesday, April 15, 2014 5:26:07 PM UTC-4, Kris Calabio wrote:
>>
>>> James, I have a question. I see this pattern a lot in the sample code 
>>> and in your code as well, for example:
>>>
>>> (defn- move-player [entities]
>>>   (->> entities
>>>
>>>(map (fn [entity]
>>>   (->> entity
>>>
>>>(update-player-position)
>>>(update-hit-box
>>>
>>>(remove-touched-apples)))
>>>
>>>
>>> When the entities vector gets threaded through the map function, it 
>>> comes out as a LazySeq. But don't we want to keep the entities as a vector? 
>>> This seems to be causing problems in my own code, and the only way to keep 
>>> it working is to change it back to a vector every time I do this, which 
>>> seems inelegant. Just wondering if I'm missing something.
>>> -Kris
>>>
>>>
>>> On Sun, Apr 13, 2014 at 3:13 PM, James Trunk  wrote:
>>>
 There's a link to a gist of 
 core.cljin the video's 
 description.

 Cheers, 
 James


 On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:

> Actually, I thought it would be even more helpful if you had the 
> source code available (for searching/skimming). Is that somewhere online?
> -Kris
>
>
>  On Sun, Apr 13, 2014 at 2:47 PM, James Trunk wrote:
>
>>  Hi Kris,
>>
>> Thanks for your comment, and I'm very glad that you found the video 
>> helpful.
>>
>> I started doing screencasts because I realised that I learn a new 
>> concept fastest by watching someone else doing/explaining it - and I 
>> figured I might not be the only one. Saying that, I know screencasts 
>> aren't 
>> for everyone, and they have a few drawbacks compared to text (harder to 
>> search, skim, or repeat sections). So positive comment like yours remind 
>> me 
>> that I'm not the only auditory/visual learner around here, and inspire 
>> me 
>> to keep going. Thanks!
>>
>> James
>>
>>
>> On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>>>
>>> Great video! I've looked through Zach's examples, and even started 
>>> coding a game myself. But your screencast helped me have a better 
>>> understanding of some of the concepts and code that I was having 
>>> trouble 
>>> understanding just by looking at the example games. Thanks!
>>> -Kris
>>>
>>> On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:

 Hi everyone,

 I thought some of you might be interested to watch my screencast 
 about game development in Clojure with 
 play-clj
 .

 Cheers,
 James

>>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com
>>
>> Note that posts from new members are moderated - please be patient 
>> with your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com
>>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to a topic in 
>> the Goo

Re: [Video] Game development in Clojure (with play-clj)

2014-04-15 Thread Kris Calabio
In one of the callback functions in the defscreen I have a pipeline of
functions that do something to the entities vector and return the resulting
entities. I do something like this:

(->> entities
  (process-entities01)
  (process-entities02)
  (map (fn [entity]
  (->> entity
 (process-entity01)
 (process-entity02)))
  (process-entities03))

And that does not work, because each of the 'process-entities' functions
are written in a way that expect a vector as input. Likewise, they each
output a LazySeq unless I convert them back to a vector before returning.
But I can't do that for the map function in the pipeline. But this does
work:

(->> entities
  (process-entities01)
  vec
  (process-entities02)
   vec
  (map (fn [entity]
  (->> entity
 (process-entity01)
 (process-entity02)))
  vec
  (process-entities03)
  vec)




On Tue, Apr 15, 2014 at 3:34 PM, Zach Oakes  wrote:

> Kris, the entities are automatically converted back into a vector by
> play-clj after being returned by a given function. Can you elaborate on
> what problem you believe is occurring when you don't change it back to a
> vector?
>
>
> On Tuesday, April 15, 2014 5:26:07 PM UTC-4, Kris Calabio wrote:
>
>> James, I have a question. I see this pattern a lot in the sample code and
>> in your code as well, for example:
>>
>> (defn- move-player [entities]
>>   (->> entities
>>
>>(map (fn [entity]
>>   (->> entity
>>
>>(update-player-position)
>>(update-hit-box
>>(remove-touched-apples)))
>>
>>
>> When the entities vector gets threaded through the map function, it comes
>> out as a LazySeq. But don't we want to keep the entities as a vector? This
>> seems to be causing problems in my own code, and the only way to keep it
>> working is to change it back to a vector every time I do this, which seems
>> inelegant. Just wondering if I'm missing something.
>> -Kris
>>
>>
>> On Sun, Apr 13, 2014 at 3:13 PM, James Trunk  wrote:
>>
>>> There's a link to a gist of 
>>> core.cljin the video's 
>>> description.
>>>
>>> Cheers,
>>> James
>>>
>>>
>>> On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>>>
 Actually, I thought it would be even more helpful if you had the source
 code available (for searching/skimming). Is that somewhere online?
 -Kris


  On Sun, Apr 13, 2014 at 2:47 PM, James Trunk wrote:

>  Hi Kris,
>
> Thanks for your comment, and I'm very glad that you found the video
> helpful.
>
> I started doing screencasts because I realised that I learn a new
> concept fastest by watching someone else doing/explaining it - and I
> figured I might not be the only one. Saying that, I know screencasts 
> aren't
> for everyone, and they have a few drawbacks compared to text (harder to
> search, skim, or repeat sections). So positive comment like yours remind 
> me
> that I'm not the only auditory/visual learner around here, and inspire me
> to keep going. Thanks!
>
> James
>
>
> On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>>
>> Great video! I've looked through Zach's examples, and even started
>> coding a game myself. But your screencast helped me have a better
>> understanding of some of the concepts and code that I was having trouble
>> understanding just by looking at the example games. Thanks!
>> -Kris
>>
>> On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>>>
>>> Hi everyone,
>>>
>>> I thought some of you might be interested to watch my screencast
>>> about game development in Clojure with 
>>> play-clj
>>> .
>>>
>>> Cheers,
>>> James
>>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
>
> Note that posts from new members are moderated - please be patient
> with your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/clojure/mR1IBJ_OomY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+u...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>

  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@googlegrou

Re: [Video] Game development in Clojure (with play-clj)

2014-04-15 Thread Zach Oakes
Kris, the entities are automatically converted back into a vector by 
play-clj after being returned by a given function. Can you elaborate on 
what problem you believe is occurring when you don't change it back to a 
vector?

On Tuesday, April 15, 2014 5:26:07 PM UTC-4, Kris Calabio wrote:
>
> James, I have a question. I see this pattern a lot in the sample code and 
> in your code as well, for example:
>
> (defn- move-player [entities]
>   (->> entities
>
>(map (fn [entity]
>   (->> entity
>
>(update-player-position)
>(update-hit-box
>(remove-touched-apples)))
>
>
> When the entities vector gets threaded through the map function, it comes 
> out as a LazySeq. But don't we want to keep the entities as a vector? This 
> seems to be causing problems in my own code, and the only way to keep it 
> working is to change it back to a vector every time I do this, which seems 
> inelegant. Just wondering if I'm missing something.
> -Kris
>
>
> On Sun, Apr 13, 2014 at 3:13 PM, James Trunk 
> > wrote:
>
>> There's a link to a gist of 
>> core.cljin the video's 
>> description.
>>
>> Cheers, 
>> James
>>
>>
>> On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>>
>>> Actually, I thought it would be even more helpful if you had the source 
>>> code available (for searching/skimming). Is that somewhere online?
>>> -Kris
>>>
>>>
>>>  On Sun, Apr 13, 2014 at 2:47 PM, James Trunk wrote:
>>>
  Hi Kris,

 Thanks for your comment, and I'm very glad that you found the video 
 helpful.

 I started doing screencasts because I realised that I learn a new 
 concept fastest by watching someone else doing/explaining it - and I 
 figured I might not be the only one. Saying that, I know screencasts 
 aren't 
 for everyone, and they have a few drawbacks compared to text (harder to 
 search, skim, or repeat sections). So positive comment like yours remind 
 me 
 that I'm not the only auditory/visual learner around here, and inspire me 
 to keep going. Thanks!

 James


 On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>
> Great video! I've looked through Zach's examples, and even started 
> coding a game myself. But your screencast helped me have a better 
> understanding of some of the concepts and code that I was having trouble 
> understanding just by looking at the example games. Thanks!
> -Kris
>
> On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>>
>> Hi everyone,
>>
>> I thought some of you might be interested to watch my screencast 
>> about game development in Clojure with 
>> play-clj
>> .
>>
>> Cheers,
>> James
>>
>  -- 
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To post to this group, send email to clo...@googlegroups.com

 Note that posts from new members are moderated - please be patient with 
 your first post.
 To unsubscribe from this group, send email to
 clojure+u...@googlegroups.com

 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to a topic in the 
 Google Groups "Clojure" group.
 To unsubscribe from this topic, visit https://groups.google.com/d/
 topic/clojure/mR1IBJ_OomY/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 clojure+u...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Clojure" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/clojure/mR1IBJ_OomY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit t

Re: [Video] Game development in Clojure (with play-clj)

2014-04-15 Thread Kris Calabio
James, I have a question. I see this pattern a lot in the sample code and
in your code as well, for example:

(defn- move-player [entities]
  (->> entities
   (map (fn [entity]
  (->> entity
   (update-player-position)
   (update-hit-box
   (remove-touched-apples)))


When the entities vector gets threaded through the map function, it comes
out as a LazySeq. But don't we want to keep the entities as a vector? This
seems to be causing problems in my own code, and the only way to keep it
working is to change it back to a vector every time I do this, which seems
inelegant. Just wondering if I'm missing something.
-Kris


On Sun, Apr 13, 2014 at 3:13 PM, James Trunk  wrote:

> There's a link to a gist of 
> core.cljin the video's 
> description.
>
> Cheers,
> James
>
>
> On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>
>> Actually, I thought it would be even more helpful if you had the source
>> code available (for searching/skimming). Is that somewhere online?
>> -Kris
>>
>>
>> On Sun, Apr 13, 2014 at 2:47 PM, James Trunk  wrote:
>>
>>> Hi Kris,
>>>
>>> Thanks for your comment, and I'm very glad that you found the video
>>> helpful.
>>>
>>> I started doing screencasts because I realised that I learn a new
>>> concept fastest by watching someone else doing/explaining it - and I
>>> figured I might not be the only one. Saying that, I know screencasts aren't
>>> for everyone, and they have a few drawbacks compared to text (harder to
>>> search, skim, or repeat sections). So positive comment like yours remind me
>>> that I'm not the only auditory/visual learner around here, and inspire me
>>> to keep going. Thanks!
>>>
>>> James
>>>
>>>
>>> On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:

 Great video! I've looked through Zach's examples, and even started
 coding a game myself. But your screencast helped me have a better
 understanding of some of the concepts and code that I was having trouble
 understanding just by looking at the example games. Thanks!
 -Kris

 On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>
> Hi everyone,
>
> I thought some of you might be interested to watch my screencast about 
> game
> development in Clojure with 
> play-clj
> .
>
> Cheers,
> James
>
  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@googlegroups.com
>>>
>>> Note that posts from new members are moderated - please be patient with
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+u...@googlegroups.com
>>>
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Clojure" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>> topic/clojure/mR1IBJ_OomY/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> clojure+u...@googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/mR1IBJ_OomY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2014-04-14 Thread halitolali
Great video, thanks!

On Monday, April 14, 2014 5:41:45 AM UTC+3, Kashyap CK wrote:
>
> +1 nice video
>
>
> On Mon, Apr 14, 2014 at 3:45 AM, Kris Calabio 
> > wrote:
>
>> Oh great! I guess I must have missed that :P
>>
>>
>> On Sun, Apr 13, 2014 at 3:13 PM, James Trunk 
>> > wrote:
>>
>>> There's a link to a gist of 
>>> core.cljin the video's 
>>> description.
>>>
>>> Cheers, 
>>> James
>>>
>>>
>>> On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>>>
 Actually, I thought it would be even more helpful if you had the source 
 code available (for searching/skimming). Is that somewhere online?
 -Kris


  On Sun, Apr 13, 2014 at 2:47 PM, James Trunk wrote:

>  Hi Kris,
>
> Thanks for your comment, and I'm very glad that you found the video 
> helpful.
>
> I started doing screencasts because I realised that I learn a new 
> concept fastest by watching someone else doing/explaining it - and I 
> figured I might not be the only one. Saying that, I know screencasts 
> aren't 
> for everyone, and they have a few drawbacks compared to text (harder to 
> search, skim, or repeat sections). So positive comment like yours remind 
> me 
> that I'm not the only auditory/visual learner around here, and inspire me 
> to keep going. Thanks!
>
> James
>
>
> On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>>
>> Great video! I've looked through Zach's examples, and even started 
>> coding a game myself. But your screencast helped me have a better 
>> understanding of some of the concepts and code that I was having trouble 
>> understanding just by looking at the example games. Thanks!
>> -Kris
>>
>> On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>>>
>>> Hi everyone,
>>>
>>> I thought some of you might be interested to watch my screencast 
>>> about game development in Clojure with 
>>> play-clj
>>> .
>>>
>>> Cheers,
>>> James
>>>
>>  -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
>
> Note that posts from new members are moderated - please be patient 
> with your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/clojure/mR1IBJ_OomY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> clojure+u...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>

  -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@googlegroups.com
>>> Note that posts from new members are moderated - please be patient with 
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+u...@googlegroups.com 
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> --- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "Clojure" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/clojure/mR1IBJ_OomY/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> clojure+u...@googlegroups.com .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@g

Re: [Video] Game development in Clojure (with play-clj)

2014-04-13 Thread C K Kashyap
+1 nice video


On Mon, Apr 14, 2014 at 3:45 AM, Kris Calabio  wrote:

> Oh great! I guess I must have missed that :P
>
>
> On Sun, Apr 13, 2014 at 3:13 PM, James Trunk wrote:
>
>> There's a link to a gist of 
>> core.cljin the video's 
>> description.
>>
>> Cheers,
>> James
>>
>>
>> On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>>
>>> Actually, I thought it would be even more helpful if you had the source
>>> code available (for searching/skimming). Is that somewhere online?
>>> -Kris
>>>
>>>
>>>  On Sun, Apr 13, 2014 at 2:47 PM, James Trunk wrote:
>>>
  Hi Kris,

 Thanks for your comment, and I'm very glad that you found the video
 helpful.

 I started doing screencasts because I realised that I learn a new
 concept fastest by watching someone else doing/explaining it - and I
 figured I might not be the only one. Saying that, I know screencasts aren't
 for everyone, and they have a few drawbacks compared to text (harder to
 search, skim, or repeat sections). So positive comment like yours remind me
 that I'm not the only auditory/visual learner around here, and inspire me
 to keep going. Thanks!

 James


 On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>
> Great video! I've looked through Zach's examples, and even started
> coding a game myself. But your screencast helped me have a better
> understanding of some of the concepts and code that I was having trouble
> understanding just by looking at the example games. Thanks!
> -Kris
>
> On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>>
>> Hi everyone,
>>
>> I thought some of you might be interested to watch my screencast
>> about game development in Clojure with 
>> play-clj
>> .
>>
>> Cheers,
>> James
>>
>  --
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To post to this group, send email to clo...@googlegroups.com

 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+u...@googlegroups.com

 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups "Clojure" group.
 To unsubscribe from this topic, visit https://groups.google.com/d/
 topic/clojure/mR1IBJ_OomY/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 clojure+u...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Clojure" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/clojure/mR1IBJ_OomY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> clojure+unsubscr...@googlegroups.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receivi

Re: [Video] Game development in Clojure (with play-clj)

2014-04-13 Thread Kris Calabio
Oh great! I guess I must have missed that :P


On Sun, Apr 13, 2014 at 3:13 PM, James Trunk  wrote:

> There's a link to a gist of 
> core.cljin the video's 
> description.
>
> Cheers,
> James
>
>
> On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>
>> Actually, I thought it would be even more helpful if you had the source
>> code available (for searching/skimming). Is that somewhere online?
>> -Kris
>>
>>
>> On Sun, Apr 13, 2014 at 2:47 PM, James Trunk  wrote:
>>
>>> Hi Kris,
>>>
>>> Thanks for your comment, and I'm very glad that you found the video
>>> helpful.
>>>
>>> I started doing screencasts because I realised that I learn a new
>>> concept fastest by watching someone else doing/explaining it - and I
>>> figured I might not be the only one. Saying that, I know screencasts aren't
>>> for everyone, and they have a few drawbacks compared to text (harder to
>>> search, skim, or repeat sections). So positive comment like yours remind me
>>> that I'm not the only auditory/visual learner around here, and inspire me
>>> to keep going. Thanks!
>>>
>>> James
>>>
>>>
>>> On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:

 Great video! I've looked through Zach's examples, and even started
 coding a game myself. But your screencast helped me have a better
 understanding of some of the concepts and code that I was having trouble
 understanding just by looking at the example games. Thanks!
 -Kris

 On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>
> Hi everyone,
>
> I thought some of you might be interested to watch my screencast about 
> game
> development in Clojure with 
> play-clj
> .
>
> Cheers,
> James
>
  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@googlegroups.com
>>>
>>> Note that posts from new members are moderated - please be patient with
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+u...@googlegroups.com
>>>
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Clojure" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>> topic/clojure/mR1IBJ_OomY/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> clojure+u...@googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/mR1IBJ_OomY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2014-04-13 Thread James Trunk
There's a link to a gist of 
core.cljin the video's 
description.

Cheers, 
James

On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
>
> Actually, I thought it would be even more helpful if you had the source 
> code available (for searching/skimming). Is that somewhere online?
> -Kris
>
>
> On Sun, Apr 13, 2014 at 2:47 PM, James Trunk 
> > wrote:
>
>> Hi Kris,
>>
>> Thanks for your comment, and I'm very glad that you found the video 
>> helpful.
>>
>> I started doing screencasts because I realised that I learn a new concept 
>> fastest by watching someone else doing/explaining it - and I figured I 
>> might not be the only one. Saying that, I know screencasts aren't for 
>> everyone, and they have a few drawbacks compared to text (harder to search, 
>> skim, or repeat sections). So positive comment like yours remind me that 
>> I'm not the only auditory/visual learner around here, and inspire me to 
>> keep going. Thanks!
>>
>> James
>>
>>
>> On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>>>
>>> Great video! I've looked through Zach's examples, and even started 
>>> coding a game myself. But your screencast helped me have a better 
>>> understanding of some of the concepts and code that I was having trouble 
>>> understanding just by looking at the example games. Thanks!
>>> -Kris
>>>
>>> On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:

 Hi everyone,

 I thought some of you might be interested to watch my screencast about 
 game 
 development in Clojure with 
 play-clj
 .

 Cheers,
 James

>>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Clojure" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/clojure/mR1IBJ_OomY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2014-04-13 Thread Kris Calabio
Actually, I thought it would be even more helpful if you had the source
code available (for searching/skimming). Is that somewhere online?
-Kris


On Sun, Apr 13, 2014 at 2:47 PM, James Trunk  wrote:

> Hi Kris,
>
> Thanks for your comment, and I'm very glad that you found the video
> helpful.
>
> I started doing screencasts because I realised that I learn a new concept
> fastest by watching someone else doing/explaining it - and I figured I
> might not be the only one. Saying that, I know screencasts aren't for
> everyone, and they have a few drawbacks compared to text (harder to search,
> skim, or repeat sections). So positive comment like yours remind me that
> I'm not the only auditory/visual learner around here, and inspire me to
> keep going. Thanks!
>
> James
>
>
> On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>>
>> Great video! I've looked through Zach's examples, and even started coding
>> a game myself. But your screencast helped me have a better understanding of
>> some of the concepts and code that I was having trouble understanding just
>> by looking at the example games. Thanks!
>> -Kris
>>
>> On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>>>
>>> Hi everyone,
>>>
>>> I thought some of you might be interested to watch my screencast about game
>>> development in Clojure with 
>>> play-clj
>>> .
>>>
>>> Cheers,
>>> James
>>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/mR1IBJ_OomY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2014-04-13 Thread James Trunk
Hi Kris,

Thanks for your comment, and I'm very glad that you found the video helpful.

I started doing screencasts because I realised that I learn a new concept 
fastest by watching someone else doing/explaining it - and I figured I 
might not be the only one. Saying that, I know screencasts aren't for 
everyone, and they have a few drawbacks compared to text (harder to search, 
skim, or repeat sections). So positive comment like yours remind me that 
I'm not the only auditory/visual learner around here, and inspire me to 
keep going. Thanks!

James

On Saturday, April 12, 2014 11:28:29 PM UTC+2, Kris Calabio wrote:
>
> Great video! I've looked through Zach's examples, and even started coding 
> a game myself. But your screencast helped me have a better understanding of 
> some of the concepts and code that I was having trouble understanding just 
> by looking at the example games. Thanks!
> -Kris
>
> On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>>
>> Hi everyone,
>>
>> I thought some of you might be interested to watch my screencast about game 
>> development in Clojure with 
>> play-clj
>> .
>>
>> Cheers,
>> James
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Video] Game development in Clojure (with play-clj)

2014-04-12 Thread Kris Calabio
Great video! I've looked through Zach's examples, and even started coding a 
game myself. But your screencast helped me have a better understanding of 
some of the concepts and code that I was having trouble understanding just 
by looking at the example games. Thanks!
-Kris

On Thursday, March 27, 2014 10:07:21 AM UTC-7, James Trunk wrote:
>
> Hi everyone,
>
> I thought some of you might be interested to watch my screencast about game 
> development in Clojure with 
> play-clj
> .
>
> Cheers,
> James
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Video] Game development in Clojure (with play-clj)

2014-03-27 Thread James Trunk
Hi everyone,

I thought some of you might be interested to watch my screencast about game 
development in Clojure with 
play-clj
.

Cheers,
James

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.