X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Ftags-Design.html-inc;h=1efff67f99636b1c98ccdeb5606b44a830f4cae7;hb=a05e5d4499fb58198e463162d0385e8a156e1f03;hp=076c923248a70d65e33aba37fdb0d24f5dcc668f;hpb=6e0d970b5047980a17d230b86d5c27c49213d18c;p=sdlgit%2FSDL-Site.git diff --git a/pages/tags-Design.html-inc b/pages/tags-Design.html-inc index 076c923..1efff67 100644 --- a/pages/tags-Design.html-inc +++ b/pages/tags-Design.html-inc @@ -1 +1 @@ -

Results for tag: Design

The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
Updates Since the last post SDL Perl has seen an increase of interest to both use and contribute to SDL Perl. Before I dig into the updates, I would like to acknowledge them.
Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation.
Website and Windows Testing FROGGS (Tobias Leich): Came in as a new user to SDL Perl. And after breaking the redesigned SDL Perl in as many ways possible he has decided to help out on the new site.
[more]


The beginnings of modular design for SDL Perl
Sunday, 11 October 2009
Tags: [Design] [SDL] [Updates]
The design before
The bindings before were all in one huge XS file . This was then exported into the SDL module. This means that the XS file has to handle with macros if any component (e.x SDL_Mixer) is not compiled. Moreover having ever binding in one XS file prevents use to treat C structs as object with only one point of free and malloc. This would be BEGIN and DESTROY in Perl. Also the monolithic design introduces a lot of bugs because we have to use free and malloc all over the place. Lastly SDL monolithic design has the constructor for all structs in both Perl and in XS.
The design we are aiming for Simple one XS per Module. This would also simplify the Build code.
[more]


Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. Nothingmuch comes along and solves my problem with this beautiful module XS::Object::Magic . So I will start moving my ugly XS to Magic Land.
SDL Perl Tutorials
This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a Tetris Clone . I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I found online . Another Lunar Lander tutorial has been submitted by Nelson Ferraz.
[more]


Design of SDL::Rect
Saturday, 12 September 2009
Tags: [Design] [Perl] [SDL]
Lately we have been working on cleaning up the XS name spaces of SDL perl. After some bumps and falls we came up with a separated Rect module. Rect is one of the most simple C struct as shown below.

Using the awesome perlobject.map as a reference I was able to create a blessed perl object in XS . So now SDL::Rect->new(...) gave us a blessed reference ready to go. And as an icing it would destroy itself properly no matter where it was used. But once I brought it into our existing code base, garu pointed out the extending it was a little bit of a mess. So far to extend Rect we have to something like below. Any comment or advice would be much appreciated.
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]


--yapgh
[more]

\ No newline at end of file +

Results for tag: Design

Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
After a long chat with a new SDL user on #sdl today, I realize we still have some way to go. Currently it seems we are lacking in a few areas. We can definitely use some feedback and help in these areas.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]

\ No newline at end of file