Re: [ANN] play-clj, a game library

2015-12-03 Thread Karim SENHAJI
You can watch: https://youtu.be/9ilUe7Re-RA
It is a live coding demo of a game with play-clj where the author briefly
explains and uses screens and entities.

Le jeu. 3 déc. 2015 05:46, amirteymuri  a écrit :

> I am new to the playclj, and am confused about [screen entities] as
> arguments for all of the functions. I went through the tutorial
> , but am still
> not getting it i think, what these for all of the functions shared
> arguments are and what are they containing? I know screen is a map (a
> record more precisely) containing various functions for the main faunction
> and entitites is a vector containing aspects about the objects in the game.
> What kind of values are the entities and screen holding, are they dependent
> on the functions we define? I would be very thankful if someone could give
> me some declarations and examples.
>
> --
> 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 receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] play-clj, a game library

2015-12-02 Thread amirteymuri
I am new to the playclj, and am confused about [screen entities] as 
arguments for all of the functions. I went through the tutorial 
, but am still 
not getting it i think, what these for all of the functions shared 
arguments are and what are they containing? I know screen is a map (a 
record more precisely) containing various functions for the main faunction 
and entitites is a vector containing aspects about the objects in the game. 
What kind of values are the entities and screen holding, are they dependent 
on the functions we define? I would be very thankful if someone could give 
me some declarations and examples.

-- 
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: [ANN] play-clj, a game library

2014-01-21 Thread James Trunk
> Do you mean *playjure*?
No, I did mean *playure* (pronounced player), though after re-reading my 
post I understand the confusion.

And considering that the current *play-clj* name isn't at all confusing, 
it's probably a good reason to stick with it! :-)

Cheers,
James

On Tuesday, January 21, 2014 12:41:56 PM UTC+1, fmj...@gmail.com wrote:
>
>  On 21/01/14 09:50, James Trunk wrote:
>  
> I like the conciseness of the project name, but I worry that it doesn't 
> roll off the tongue all that well. I guess that *jure* library 
> names are considered passé by most, but in this case I actually thought 
> that the name *playure* seemed like a nice fit. Imagine getting to a 1.0 
> release and being able to call it *playure one*! Just a thought. :-)
>  
> Do you mean *playjure*?
>  

-- 
-- 
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-21 Thread fmjrey

On 21/01/14 09:50, James Trunk wrote:
I like the conciseness of the project name, but I worry that it 
doesn't roll off the tongue all that well. I guess that /jure/ 
library names are considered passé by most, but in this case I 
actually thought that the name /playure/ seemed like a nice fit. 
Imagine getting to a 1.0 release and being able to call it /playure 
one/! Just a thought. :-)

Do you mean /playjure/?

--
--
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-21 Thread James Trunk
Thanks for all your hard work on this - it looks awesome, and I can't wait 
to play around with it!

I like the conciseness of the project name, but I worry that it doesn't 
roll off the tongue all that well. I guess that *jure* library names 
are considered passé by most, but in this case I actually thought that the 
name *playure* seemed like a nice fit. Imagine getting to a 1.0 release and 
being able to call it *playure one*! Just a thought. :-)

Cheers, 
James

On Monday, January 20, 2014 4:31:50 PM UTC+1, Zach Oakes wrote:
>
> Today I'm releasing play-clj , a 
> Clojure wrapper for LibGDX that allows you to write games for desktop OSes, 
> Android, and iOS from the same Clojure codebase. The template automatically 
> creates Leiningen projects for all three platforms:
>
> lein new play-clj hello-world
>
> I am also releasing Nightcode  0.2.6, which 
> includes the play-clj template built-in. I've fixed a lot of bugs since 
> releasing 0.2.0 last month, including finally fixing the REPL input problem.
>
> If you'd like to help me continue working on stuff like play-clj and 
> Nightcode, I am on Gittip  now.
>
> I would also love help optimizing performance, which is pretty bad on 
> mobile OSes at the moment. Try out my example 
> games, 
> including an in-progress clone of Notch's Ludum Dare entry, Minicraft.
>

-- 
-- 
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-20 Thread Zach Oakes
You do not need to jailbreak your iOS device, because it isn't actually 
running Java. Instead, it uses RoboVM  to translate 
the bytecode into ARM machine code. There are already several LibGDX games 
written in Java on the App store.

Regarding performance, play-clj is very slow on Android for games with more 
than a handful of entities, so I could really use some help there. I assume 
it's similar on iOS. Right now, I bet there is a lot of low-hanging fruit 
in my code that could be improved to make it faster.

On Monday, January 20, 2014 10:57:22 PM UTC-5, Michael Gardner wrote:
>
> On Jan 20, 2014, at 09:31 , Zach Oakes > 
> wrote: 
>
> > Today I'm releasing play-clj, a Clojure wrapper for LibGDX that allows 
> you to write games for desktop OSes, Android, and iOS from the same Clojure 
> codebase. 
>
> Neat! 
>
> How is Clojure’s performance on the latest Android devices? Good enough 
> for simple real-time games while still remaining more-or-less idiomatic? 
>
> Also, does running Java on iOS still require jailbreaking?

-- 
-- 
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-20 Thread Michael Gardner
On Jan 20, 2014, at 09:31 , Zach Oakes  wrote:

> Today I'm releasing play-clj, a Clojure wrapper for LibGDX that allows you to 
> write games for desktop OSes, Android, and iOS from the same Clojure codebase.

Neat!

How is Clojure’s performance on the latest Android devices? Good enough for 
simple real-time games while still remaining more-or-less idiomatic?

Also, does running Java on iOS still require jailbreaking?

-- 
-- 
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-20 Thread Zach Oakes
I don't have any plans at the moment for that. LibGDX actually does allow 
you to compile your game to HTML/JS, but it uses GWT which is a source code 
translator, so it only works with Java. Also, it doesn't have access to the 
parts of LibGDX that rely on native code, such as the physics engine 
(Box2D), so that limits it a bit.

On Monday, January 20, 2014 12:52:31 PM UTC-5, john walker wrote:
>
> Is there any chance of support for javascript/webgl?
>
> On Monday, January 20, 2014 10:31:50 AM UTC-5, Zach Oakes wrote:
>>
>> Today I'm releasing play-clj , a 
>> Clojure wrapper for LibGDX that allows you to write games for desktop OSes, 
>> Android, and iOS from the same Clojure codebase. The template automatically 
>> creates Leiningen projects for all three platforms:
>>
>> lein new play-clj hello-world
>>
>> I am also releasing Nightcode  0.2.6, which 
>> includes the play-clj template built-in. I've fixed a lot of bugs since 
>> releasing 0.2.0 last month, including finally fixing the REPL input problem.
>>
>> If you'd like to help me continue working on stuff like play-clj and 
>> Nightcode, I am on Gittip  now.
>>
>> I would also love help optimizing performance, which is pretty bad on 
>> mobile OSes at the moment. Try out my example 
>> games, 
>> including an in-progress clone of Notch's Ludum Dare entry, Minicraft.
>>
>

-- 
-- 
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-20 Thread john walker
Is there any chance of support for javascript/webgl?

On Monday, January 20, 2014 10:31:50 AM UTC-5, Zach Oakes wrote:
>
> Today I'm releasing play-clj , a 
> Clojure wrapper for LibGDX that allows you to write games for desktop OSes, 
> Android, and iOS from the same Clojure codebase. The template automatically 
> creates Leiningen projects for all three platforms:
>
> lein new play-clj hello-world
>
> I am also releasing Nightcode  0.2.6, which 
> includes the play-clj template built-in. I've fixed a lot of bugs since 
> releasing 0.2.0 last month, including finally fixing the REPL input problem.
>
> If you'd like to help me continue working on stuff like play-clj and 
> Nightcode, I am on Gittip  now.
>
> I would also love help optimizing performance, which is pretty bad on 
> mobile OSes at the moment. Try out my example 
> games, 
> including an in-progress clone of Notch's Ludum Dare entry, Minicraft.
>

-- 
-- 
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-20 Thread Zach Oakes
Thank you, I'll look into this. Someone mentioned it to me at our 
Pittsburgh Clojure meetup last week. I don't think I've ever been to the 
west coast!

On Monday, January 20, 2014 11:36:16 AM UTC-5, Alex Miller wrote:
>
> Might be a good topic for a Clojure/West submission
>
> https://cognitect.wufoo.com/forms/clojurewest-2014-call-for-presentations/
>
> On Monday, January 20, 2014 9:31:50 AM UTC-6, Zach Oakes wrote:
>>
>> Today I'm releasing play-clj , a 
>> Clojure wrapper for LibGDX that allows you to write games for desktop OSes, 
>> Android, and iOS from the same Clojure codebase. The template automatically 
>> creates Leiningen projects for all three platforms:
>>
>> lein new play-clj hello-world
>>
>> I am also releasing Nightcode  0.2.6, which 
>> includes the play-clj template built-in. I've fixed a lot of bugs since 
>> releasing 0.2.0 last month, including finally fixing the REPL input problem.
>>
>> If you'd like to help me continue working on stuff like play-clj and 
>> Nightcode, I am on Gittip  now.
>>
>> I would also love help optimizing performance, which is pretty bad on 
>> mobile OSes at the moment. Try out my example 
>> games, 
>> including an in-progress clone of Notch's Ludum Dare entry, Minicraft.
>>
>

-- 
-- 
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-20 Thread Alex Miller
Might be a good topic for a Clojure/West submission

https://cognitect.wufoo.com/forms/clojurewest-2014-call-for-presentations/

On Monday, January 20, 2014 9:31:50 AM UTC-6, Zach Oakes wrote:
>
> Today I'm releasing play-clj , a 
> Clojure wrapper for LibGDX that allows you to write games for desktop OSes, 
> Android, and iOS from the same Clojure codebase. The template automatically 
> creates Leiningen projects for all three platforms:
>
> lein new play-clj hello-world
>
> I am also releasing Nightcode  0.2.6, which 
> includes the play-clj template built-in. I've fixed a lot of bugs since 
> releasing 0.2.0 last month, including finally fixing the REPL input problem.
>
> If you'd like to help me continue working on stuff like play-clj and 
> Nightcode, I am on Gittip  now.
>
> I would also love help optimizing performance, which is pretty bad on 
> mobile OSes at the moment. Try out my example 
> games, 
> including an in-progress clone of Notch's Ludum Dare entry, Minicraft.
>

-- 
-- 
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-20 Thread Zach Oakes
Thanks! I submitted it to HN naturally:

https://news.ycombinator.com/item?id=7090003

On Monday, January 20, 2014 10:46:06 AM UTC-5, Laurent PETIT wrote:
>
> Congratulations !
>
>
> 2014/1/20 Zach Oakes >
>
>> Today I'm releasing play-clj , a 
>> Clojure wrapper for LibGDX that allows you to write games for desktop OSes, 
>> Android, and iOS from the same Clojure codebase. The template automatically 
>> creates Leiningen projects for all three platforms:
>>
>> lein new play-clj hello-world
>>
>> I am also releasing Nightcode  0.2.6, which 
>> includes the play-clj template built-in. I've fixed a lot of bugs since 
>> releasing 0.2.0 last month, including finally fixing the REPL input problem.
>>
>> If you'd like to help me continue working on stuff like play-clj and 
>> Nightcode, I am on Gittip  now.
>>
>> I would also love help optimizing performance, which is pretty bad on 
>> mobile OSes at the moment. Try out my example 
>> games, 
>> including an in-progress clone of Notch's Ludum Dare entry, Minicraft.
>>  
>> -- 
>> -- 
>> 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/groups/opt_out.
>>
>
>

-- 
-- 
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/groups/opt_out.


Re: [ANN] play-clj, a game library

2014-01-20 Thread Laurent PETIT
Congratulations !


2014/1/20 Zach Oakes 

> Today I'm releasing play-clj , a
> Clojure wrapper for LibGDX that allows you to write games for desktop OSes,
> Android, and iOS from the same Clojure codebase. The template automatically
> creates Leiningen projects for all three platforms:
>
> lein new play-clj hello-world
>
> I am also releasing Nightcode  0.2.6, which
> includes the play-clj template built-in. I've fixed a lot of bugs since
> releasing 0.2.0 last month, including finally fixing the REPL input problem.
>
> If you'd like to help me continue working on stuff like play-clj and
> Nightcode, I am on Gittip  now.
>
> I would also love help optimizing performance, which is pretty bad on
> mobile OSes at the moment. Try out my example 
> games,
> including an in-progress clone of Notch's Ludum Dare entry, Minicraft.
>
> --
> --
> 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/groups/opt_out.
>

-- 
-- 
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/groups/opt_out.


[ANN] play-clj, a game library

2014-01-20 Thread Zach Oakes
Today I'm releasing play-clj , a Clojure 
wrapper for LibGDX that allows you to write games for desktop OSes, 
Android, and iOS from the same Clojure codebase. The template automatically 
creates Leiningen projects for all three platforms:

lein new play-clj hello-world

I am also releasing Nightcode  0.2.6, which 
includes the play-clj template built-in. I've fixed a lot of bugs since 
releasing 0.2.0 last month, including finally fixing the REPL input problem.

If you'd like to help me continue working on stuff like play-clj and 
Nightcode, I am on Gittip  now.

I would also love help optimizing performance, which is pretty bad on 
mobile OSes at the moment. Try out my example 
games, 
including an in-progress clone of Notch's Ludum Dare entry, Minicraft.

-- 
-- 
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/groups/opt_out.