[Factor-talk] Game programming in Factor

2012-12-07 Thread Samuel Proulx
Hi,

I was wondering what was the best way to make simple 2D games with Factor.
I've been programming simple games in Python using either Pygame or Pyglet,
which is pretty easy and straightforward. Although, in Factor, I doesn't
appear to work the same way.

My questions are the following:

1. Which vocabulary should I use? I'm guessing I should use the OpenGl
vocabulary in combinaison with the game vocabulary for things such as the
main loop. Is that right?

2. Are there any tutorial about game programming in Factor? / Where shall I
start?

Thanks in advance,
Samuel
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Game programming in Factor

2012-12-07 Thread John Benediktsson
I suggest you look at the "game.loop" vocabulary (in addition to general
opengl things).

Joe Groff has some blogs about it, one of the first is here:

http://duriansoftware.com/joe/The-Factor-game-framework.html

These demos might be useful to look at:

IN: scratchpad "tetris" run
IN: scratchpad "boids" run
IN: scratchpad "terrain" run

Also, there are some demos using the GPU:

IN: scratchpad: "gpu.demos.bunny" run
IN: scratchpad: "gpu.demos.raytrace" run

Also, this is a fun little game demo built by Joe:

https://github.com/jckarter/papier





On Fri, Dec 7, 2012 at 6:57 AM, Samuel Proulx wrote:

> Hi,
>
> I was wondering what was the best way to make simple 2D games with Factor.
> I've been programming simple games in Python using either Pygame or Pyglet,
> which is pretty easy and straightforward. Although, in Factor, I doesn't
> appear to work the same way.
>
> My questions are the following:
>
> 1. Which vocabulary should I use? I'm guessing I should use the OpenGl
> vocabulary in combinaison with the game vocabulary for things such as the
> main loop. Is that right?
>
> 2. Are there any tutorial about game programming in Factor? / Where shall
> I start?
>
> Thanks in advance,
> Samuel
>
>
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Game programming in Factor

2012-12-07 Thread Samuel Proulx
Thank you John! I'll look this up and I'll hopefully be able to figure it
out.


2012/12/7 John Benediktsson 

> I suggest you look at the "game.loop" vocabulary (in addition to general
> opengl things).
>
> Joe Groff has some blogs about it, one of the first is here:
>
> http://duriansoftware.com/joe/The-Factor-game-framework.html
>
> These demos might be useful to look at:
>
> IN: scratchpad "tetris" run
> IN: scratchpad "boids" run
> IN: scratchpad "terrain" run
>
> Also, there are some demos using the GPU:
>
> IN: scratchpad: "gpu.demos.bunny" run
> IN: scratchpad: "gpu.demos.raytrace" run
>
> Also, this is a fun little game demo built by Joe:
>
> https://github.com/jckarter/papier
>
>
>
>
>
> On Fri, Dec 7, 2012 at 6:57 AM, Samuel Proulx wrote:
>
>> Hi,
>>
>> I was wondering what was the best way to make simple 2D games with
>> Factor. I've been programming simple games in Python using either Pygame or
>> Pyglet, which is pretty easy and straightforward. Although, in Factor, I
>> doesn't appear to work the same way.
>>
>> My questions are the following:
>>
>> 1. Which vocabulary should I use? I'm guessing I should use the OpenGl
>> vocabulary in combinaison with the game vocabulary for things such as the
>> main loop. Is that right?
>>
>> 2. Are there any tutorial about game programming in Factor? / Where shall
>> I start?
>>
>> Thanks in advance,
>> Samuel
>>
>>
>>
>>
>> --
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>>
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk