Re: Problems Installing SDL

2017-06-05 Thread breno
Hello!

After downloading/unpacking the SDL dist, try adding the following line to
the top of inc/My/Builder/Darwin.pm:

use File::Spec::Functions qw(rel2abs);

and let us know how the build goes.

If it still fails, please let us know the output of:

* perl -V  (note capital V)
* set | grep -e SDL -e PERL
* perl -MData::Dumper -MAlien::SDL -E 'say
Dumper(Alien::SDL->config(q(libs))); say
Dumper(Alien::SDL->config(q(ld_shlib_map)))'

Thanks!

On Sat, Jun 3, 2017 at 7:52 PM pmesa1  wrote:

> Hello,
>
> I need SDL for a project that I am working on however I am unable to
> install it because when I run Build.pl I receive an error "Undefined
> subroutine ::Builder::Darwin::rel2abs called at inc/My/Builder/Darwin.pm
> line 115.". The same thing happens when I install using cpan or manually.
> I don’t know where to go from here so any help would be appreciated. Thank
> you.
>
> Best,
>
> Paul
>


Re: Introducing Play Spine

2013-04-26 Thread breno
Cool! Keep it up! =)


On Thu, Apr 25, 2013 at 4:53 PM, Kartik Thakore thakore.kar...@gmail.comwrote:

 Hey Guys,

 So I have been using http://backbonejs.org/docs/backbone.html and
 templates
 for web development a lot and I was thinking it would be great if we had
 that for game dev in perl.

 https://github.com/PerlGameDev/PlaySpine/blob/master/README.md

 What do you guys think?

 Regards,
 Kartik



Re: PerlGameDev Annonces, Aftermath YAPC::NA

2011-07-01 Thread breno
Hi Kartik,

great that you got the time to spawn this list of goals, and I'm glad
you got the chance to brainstorm so much stuff during the YAPC! Makes
me even sadder I wasn't able to make it this year :(


 =head1 PerlGameDev Monthly Aims and Releases
 =blame chromatic
 =for kthakore, FROGGS, garu, jtpalmer

 chromatic has opened my eyes on having a monthly goal that we aim for.
 In SDL perl5 we have had a progressive chaos. But I think having a
 progressive chaos that aims to get something done each month (even a few
 docs) might be a great idea cause we are all busy, and I would hate to
 lose what we have a year. These will go up on this mailing-list and
 maybe the wiki (we haven't used both as regularly as we should). Because
 I consider all of PerlGameDev a single project, I will just be adding
 them together in an announce end of each month. And you are reading
 it :D. You might have notice I have actually gotten off my lazy ass and
 did a good job with this announce. I will be using POD format but
 subsequent need not be. I have also add 'blame and for' tags so people
 can understand where ideas are coming from (=blame) and who should maybe
 perhaps (please oh please) glance at it (=for). So this way ppl can
 search for their tags/names and ignore the other stuff should they
 want.


I like the idea, specially since it isn't focused on SDL and
Alien::SDL per-se, but on all related projects as well. Having public
announcements will definitely increase people's awareness to the
project!

As for the POD format, my email client doesn't know how to format it
(or maybe I'm just too lazy to set it up). We can all parse POD in our
heads but a simple list should be enough - even Markdown if you feel
like it :)


 =head1 Continuing Projects
 =blame kthakore, chromatic
 =for kthakore, chromatic, garu

 =head2 SDL_Manual Book Indexing and Chapter Intentions and Exercises

 I am hoping to read over Modern Perl source today, and do some of the
 indexing I talked about. The chapter intentions should be done end of
 July. That leaves the exercises which I can't really promise cause I am
 bad at making those (garu would you be interested in this ?).


Sure, why not. Let's talk this over in irc so I can get a better
notion of what you need and what the deadlines are.

Now, for my own goals, I'm gonna keep working on Box2D::Simple and the
Avenger layer, which hopefully will make it even easier for newcomers
to create nice games in Perl. Porting the games we made during the
Game Contest onto CPAN was also requested, and next on the list for
me.

Have a nice trip!

breno


The SDL Perl Game Contest - week 4 roundup

2011-04-02 Thread breno
Hi everyone! Sorry for delaying this post, it's been one hellish week...


Wow, 4 weeks already... can you believe it? I'm really sad this is the
last round of the SDL Perl Game Contest - I guess time flies when
you're having fun - but I'm also pretty excited to show you guys the
awesome entries we had this week. Check'em out!


* Electric Lines, by JT Palmer (jtpalmer)

JT does it again, providing players with a very challenging (and fun)
piece! Electric Lines was inspired by Mario's Slides, a mini-game in
Nintendo's Super Mario 64 and New Super Mario Bros., both for the DS
console. Drag your mouse cursor to draw lines across the horizontal
paths in order to guide the electric energy balls to the exit, but
watch out: you can only hit the red circles three times!


* Rand Explorer, by Blaise Roth (Blaizer)

This quick-and-dirty submission was born a classic. In Rand Explorer,
you use the spacebar to fill a gauge randomly, and earn your points
based on its length. Feeling lucky?


* Groove Board, by... me (garu)

Groove Board is a music rhythm game, similar to Dance Dance Revolution
(DDR) and StepMania. I'm particularly proud of this one since it was
done in a single day! The gameplay is dead simple: just listen to the
music and press the arrow keys when the scrolling arrows reach the top
ones. Have fun!


Screenshots and download links can be found at the original blog post:
http://yapgh.blogspot.com/2011/04/sdl-perl-game-contest-week-4-roundup.html


Wrapping Up
===

Thus ends the very first SDL Perl Game Contest - and what a rush! We
had a total of 16 new games written from scratch in just one month!!
I'd like to take this opportunity and thank everyone that joined and
wrote all those amazing entries, week after week. You guys rock!

Also, a big thanks to all of you that followed this one-month
challenge, reading the weekly posts and playing the games. I had a
good time and hope you guys had a good time too!

The Contest is over, but that doesn't mean you have to wait for the
next one to turn your awesome game idea into a reality. Just install
the latest SDL Perl distribution, read the fine manual and get
cracking! If you have any questions at all just drop by the IRC
channel (#sdl at irc.perl.org) or send them to the SDL Perl mailing
list.


See ya =)


garu


The SDL Perl Game Contest - week 2 roundup!

2011-03-16 Thread breno
Yes, I know it's already wednesday, sorry for the delay! The SDL Perl
Game Contest continues - I should know, I'm about halfway through my
third game now! - and last week we had some real nice entries. Check
'em out!


Wheel of Fortune, by Tobias Leich (FROGGS)
===

Who never yelled madly in front of the TV watching contestants make a
fool out of themselves for not knowing the words in Wheel of Fortune?
Well, now you can show them how it's done in this Hangman style
classic! One note though: to play it, you must install the latest
experimental version of SDL Perl, that includes rects with alpha
blending and other goodies.


Snake, by JT Palmer (jtpalmer)
===

Another classic remake beautifully done by jtpalmer. This nibbles
clone actually comes with a nice twist: a full-blown network version
that lets you enjoy the game with a friend anywhere in the world.
Sweet!


CyberHack, by Zach Morgan (zpmorgan)
==

CyberHack is a quick platformer demo by zpmorgan, our newest
participant in the Challenge! In this game, you control a green
creature that falls through a deep underground maze. It still has some
minor quirks in the image blitting, but it's nevertheless really fun
to play!


Synthesia Kinda, by Kartik Thakore (kthakore)
==

The Mad Canadian strikes again, in a dazzling... thing. It was
originally supposed to be based in Synthesia, but kthakore envisioned
a game that plays any image! Of course, as FROGGS put it, you can't
play a random image and expect that it sounds like mozart, but
kthakore is determined to work on it even more, letting it flow until
it find its course in game art history.


Reflex, by... me (garu)


This is a very simple game in which you test your reflexes by pressing
any key on your keyboard whenever the big red button lights up. Your
Top 20 times appear on the right. According to HumanBenchmark, the
average reaction time for visual stimuli in a humans is 215
miliseconds. Are you faster??

This week's roundup of games showed some pretty interesting stuff, and
we saw a lot of ideas come to life in a very short period of time. I
can't wait to see the next entries!

You can find links and screenshots for all the games in the blog post url:
http://yapgh.blogspot.com/2011/03/sdl-perl-game-contest-week-2-roundup.html

And remember: it's never too late to join! Who knows, your next game
might be just what other people wanted to play. Make sure to join the
#sdl IRC channel over at irc.perl.org so we can share game ideas, and
help you write your awesome game!

See you next week =)

garu


SDL Perl Game Contest - week 1 roundup

2011-03-08 Thread breno
As you probably know, last week we started the SDL Perl Game Contest
(more like a Game Challenge, as people pointed out), where you have to
write one game per week throughout the entire month of March!

So far we had some awesome entries - people really stood up to the
challenge! Check them out:


* Solar Conflict, by JT Palmer (jtpalmer)

When JT came to #sdl in the middle of the week with some bugfixes for
SDLx::Controller::Interface, we knew he was up to something. Solar
Conflict is a brilliant clone of Spacewar!, one of the earliest known
computer games, where two spaceships battle against each other while
steering clear of a star's gravity well. This version of the game lets
you play against the computer or another player, and all graphics were
taken from Open Game Art. Funny fact: the initial version of the
original Spacewar! game took approximately 200 hours to be created.
Way to go, JT!


* Asteroids, by Tobias Leich (FROGGS)

Speaking of spaceships and classic remakes, who doesn't remember
Asteroids? This Atari masterpiece served as inspiration to FROGGS this
week, and he provided a beautifully crafted clone, taking you back to
the golden age of arcade games.


* Polyzle, by Kartik Thakore (kthakore)

But enough of rethinking the past - Kartik pushed the limits of
avant-garde this week and brought us Polyzle (or Polygon Trouble).
The player is faced with several colored polygons swarming around the
screen, and needs to click on them to score points - but only has 30
seconds to do it, and believe me, it's not as easy as it looks! While
the game certainly doesn't fit the usual rationalities of a standard
gameplay, Kartik replies that maybe his game is just too ahead of its
time. What do you think? Could he be the Van Gogh of game design? Only
time will tell ;-)


* FingerTwister, by... me =P (garu)

Last but not least, my preciou FingerTwister! In this
game, the player needs to press the keys on the keyboard as they show
up on screen, and keep them pressed as new keys appear. You can only
let go the keys after they disappear from the screen, and the sooner
you press a key (the green bar on the bottom) the more points you get.
The game also features music and sound effects from talented artists
at ccMixter and FreeSound, and a highscore table. Unfortunately, as
any game that requires multiple keys pressed at the same time, it
suffers from key-jamming issues on regular (plain) keyboards. I tried
to provide a workaround for that, but the only real solution is
getting a n-key rollover keyboard like razerzone's and logitech's
G15/G19.


Overall, I'm really happy about this week's roundup of games, and
we're still receiving submissions! Perl coder or not, if you always
wanted to write a computer game, join us on the SDL Perl Game Contest,
and we'll help you take it out of your TODO list and into the glory it
deserves!

See you next week =)


Re: SDL Perl Game Contest - week 1 roundup

2011-03-08 Thread breno
On Tue, Mar 8, 2011 at 6:36 AM, Thomas Klausner d...@cpan.org wrote:

 PS: I tried to convert my old SpaceInvader hack from YAPC::Europe 2008
 to SDLx-stuff (during Dutch Perl Workshop last weekend, and on my train
 journey back..), but I had some problems. I'll post them later (now at
 work), but do you prefere mailing list posts or blog posts? I guess blog
 posts are more visible, so I was planning a blog post, but than blogs
 aren't the greatest medium for detailed technical discussions etc.

 Any opinions?


If you have a specific question, I think the mailing list and/or #sdl
should be better. Then you can later blog about wherever your findings
led you  :-)

Cheers,

garu


The SDL Perl Game Contest!

2011-02-25 Thread breno
Everyone know that by far the Coolest Game Ever™ is the one *you*
write, from that silly idea you had the other day to a playable game
you and your friends can enjoy.

This march, the SDL Perl team is going to help you take that project
out of your dusty drawer of TODOs and turn it into a reality, with
the SDL Perl Game Contest!

The rules are simple, and much like the Perl Ironman contest:

  One game per week. Every week of march.

This means by the end of march you'll have not one, but FOUR games to
show for. How cool is that?!

In fact, you can even make your weekly game the subject of your
Ironman posts this month, and take out two birds with one stone
(hmm... more game ideas)!

So this monday (feb. 28), start writing your game! You have until the
following monday to make it playable (complete) and start all over
again with a brand new game for the next week.

** But what if I miss a deadline? What if I can't start this monday?

It doesn't really matter - just join the party and have some fun! Even
if you only get to do one game, it's still a great opportunity to
improve your skills and learn a bit about game design and development.

If you need any assistance writing your game, from ideas to code, WE
WILL HELP! Just send an email to the SDL Perl mailing list with your
questions (you know, this one) or, better yet, join us live in #sdl
over at irc.perl.org and we'll be more than happy to assist you and
try your game out. If you never used irc before, please keep in mind
people might be busy or in different timezones than you, so you may
get instant responses or have to wait a few of hours before you get a
reply. Be patient!

It can be a game about anything. Just make sure it's doable in a week.
Some games take years to be complete, but you might be surprised at
how much you can accomplish in just a few hours with SDL Perl :)

Oh, there's one extra rule, actually, and that's mandatory - HAVE FUN!! :)

Cheers,

breno (garu)


The SDL Perl Game Contest!

2011-02-25 Thread breno
Everyone know that by far the Coolest Game Ever™ is the one *you*
write, from that silly idea you had the other day to a playable game
you and your friends can enjoy.

This march, the SDL Perl team is going to help you take that project
out of your dusty drawer of TODOs and turn it into a reality, with
the SDL Perl Game Contest!

The rules are simple, and much like the Perl Ironman contest:

     One game per week. Every week of march.

This means by the end of march you'll have not one, but FOUR games to
show for. How cool is that?!

In fact, you can even make your weekly game the subject of your
Ironman posts this month, and take out two birds with one stone
(hmm... more game ideas)!

So this monday (feb. 28), start writing your game! You have until the
following monday to make it playable (complete) and start all over
again with a brand new game for the next week.

** But what if I miss a deadline? What if I can't start this monday?

It doesn't really matter - just join the party and have some fun! Even
if you only get to do one game, it's still a great opportunity to
improve your skills and learn a bit about game design and development.

If you need any assistance writing your game, from ideas to code, WE
WILL HELP! Just send an email to the SDL Perl mailing list with your
questions (you know, this one) or, better yet, join us live in #sdl
over at irc.perl.org and we'll be more than happy to assist you and
try your game out. If you never used irc before, please keep in mind
people might be busy or in different timezones than you, so you may
get instant responses or have to wait a few of hours before you get a
reply. Be patient!

It can be a game about anything. Just make sure it's doable in a week.
Some games take years to be complete, but you might be surprised at
how much you can accomplish in just a few hours with SDL Perl :)

Oh, there's one extra rule, actually, and that's mandatory - HAVE FUN!! :)


Re: Errors while binding ODE to Perl

2010-08-23 Thread breno
On Mon, Aug 23, 2010 at 10:36 AM, kmx k...@volny.cz wrote:

 Hi Kartik,

 1/ check whether you are linking with -lstdc++


Yup, that was it. We actually figured it out a couple of hours after
he posted this, and forgot to post a follow-up. The code you tested
likely already had this implemented, btw.

Thanks anyway!