Home | Planet Ludum | Rules Wiki | Mailing List| Sign In/Create Account | Write a Post| #ludumdare on irc.afternet.org

Ludum Dare 16 :: December 2009 :: Theme: Exploration

LD16 Results: Top 20 | Categories | View All 121

Theme Voting: Round 1 | Round 2 | Round 3 | Round 4

's Trophies

Posts Tagged ‘php’

Wikiventure Post-Mortem

Posted by AtkinsSJ
Tuesday, September 15th, 2009 4:12 pm

Wikiventure went far better than I was expecting. Mainly because I wasn’t expecting anything remotely interesting. I’m still working on it, in fact, adding new things – just today I added user-input via a text-box and tags which react to that input, and score and cash variables that can be checked and modified. I’m really enjoying it, and plan to add a basic battle system like in proper game books. :P

What went well

  • The basic game, taking pages from the wiki and letting you travel between them, was very quick and easy to set-up. Then it was just a case of feature-creep for the rest of the weekend, which was perfect for me!
  • People took an interest and wrote some content for me! :P

What went badly

  • Spent rather a long time at the start battling with C++ libraries before moving to PHP. Though that did help me come-up with an idea.
  • Also spent rather a long time at the end trying to fix an infinite loop, but managed to do so before the deadline, so no real bad points. :D

What I would do differently

  • Plan-out code structure before writing it. I spent quite a while on the Sunday rewriting all the tag-parsers to remove a lot of repeated code. There’s still a lot now.
  • Put time into writing content! I only actually created two areas, as a test right at the start before I’d added any tags, and then I kind-of expected people to write my content for me. Which some people did, but it was horribly lazy of me.

Things I’d like to add

  • Cookies or some other way of keeping things persistent between sessions. Could tie it to user-accounts on my site.
  • Combat system, mentioned already.
  • More levels of persistence than ‘IFVISITED’ and ‘IFNVISITED’, so that the player wouldn’t necessarily have to follow the same set of actions multiple times.
  • Any other stuff I happen to think-up.
  • Content!1!1!!1!!!

So yeah, it went pretty well. I’ll keep working on it and maybe it’ll become something really interesting.

Gah, infinite loops!

Posted by AtkinsSJ
Sunday, September 13th, 2009 4:09 pm

Less than an hour until the deadline. It’s gone midnight. I am rather tired. The most complicated tags so far have just gone in, (SPEECH and TALK, for enabling conversation trees. And probably anything that needs a choice actually. Whee!) and I have an infinite loop somewhere. Oh goody.

Anyway, it’s been an awesome Mini-LD. MUST… FIX… INFINITE… LOOP…

EDIT: FIXED! YAYAYAYAY!!!

Turns out, it’s because I’d got the position in a string, modified the string, then still used that position. Silly me. All works now! Time to update the documentation, submit, and go to bed, and only 25 minutes to spare. :D

MiniLD #12: FaerieNet

Posted by Chaoseed
Sunday, September 13th, 2009 2:25 pm

So I had this cool idea about faeries living in the net, and you could browse webpages and recruit them, help them fight off boss critters, etc..

The problem is that I screwed up my time management; I didn’t get started until today, and the deadline is actually much closer than I realized (who uses UTC?!? @_@).  But anyway, I worked up something which is not a game but is still kind of neat.

FaerieNet – Create a Faerie

I probably won’t be able to work on this any more before the official midnight UTC deadline.  So, this is it for me for this MiniLD.  However, I might just continue working on this project in the days ahead…

Items Complete!

Posted by AtkinsSJ
Sunday, September 13th, 2009 12:04 pm

Items can now be gained and lost, there are IFHAVE and IFNHAVE to conditionally output text, and you can click on items in your inventory to use them: if that area has a [[USE:Foo|Bar]] tag, then it will display Bar if you use Foo. Tags can contain other tags, but not perfectly if there are multiple tags at the same level. eg:

[[IFHAVE:Foo| [[GET:Fish]] [[GET:Chips]] ]]

The Get tags are at the same level here, and so will display oddly. Though I think they might still work.

If anybody has any ideas of other things they’d like in, please comment below! And feel free to use tags in pages: They make it a game rather than a wiki browser. :)

Gameplay!

Posted by AtkinsSJ
Saturday, September 12th, 2009 3:41 pm

I’m in the process of adding in codes you can use in area pages.

First, there’s [[GET:Foo]], which will let the player pick-up an item called ‘Foo’ from that area. The item will only appear there if they do not already own it.

Then there’s [[IFHAVE:Foo|Bar]]. This checks if the player has ‘Foo’ in their inventory. If they do, ‘Bar’ is displayed. Bar can contain formatting, but I think it won’t work if you put anything with ]] inside it. I’ll have a go at changing that.

I’m keeping an up-to-date list of codes and formatting that work here, if anybody wants to start messing around with them! :D

I think I’ll go to bed soon, so that’s probably it for today. It’s been really fun so far, especially considering how clueless I was to begin with.

Whee! Screenshot!

Posted by AtkinsSJ
Saturday, September 12th, 2009 9:50 am

OK, so I have a working prototype!

Kind-of pointless screenshot.

Kind-of pointless screenshot.

Not very exciting, but it works. Create and edit pages here (starting with ‘Adventure/’, link them up, and it’ll let you navigate between them. To make it easier, pages that don’t exist will give you a link so you can write them. To jump to a page, simply add ‘p=PAGENAME’ (without the ‘Adventure/’ bit) to the URL. It’s case-sensitive.

Um, not really sure where to go from here. Making ”’ become <b> and ” become <i> would be good. Then maybe some kind of inventory…? I really have no idea. :P

EDIT: The best bit about this is that other people are already writing the actual game pages for me! :P

Wikiventure

Posted by AtkinsSJ
Saturday, September 12th, 2009 7:02 am

I wasn’t planning on entering miniLD 12. But the theme was just so interesting that my mind won’t let me not enter it, so here I go.

My original plan was C++, SDL and cURL. However, cURL refuses to work at all, so I’m stuck with PHP, the only other language I know reasonably well. This limits my choices significantly, but since I didn’t have any to start with, this isn’t really a problem.

So, my current plan is a choose-your-own adventure made of wiki pages. First name I could think of is ‘Wikiventure’, which is awful, sounds like a Wiki-based investment company, and is probably going to stay as the name because I can’t think of any others. :P

It’s located here, and currently just outputs the wiki page, not that exciting.

Maze Of Ludicrosity

Posted by Hamumu
Sunday, February 24th, 2008 12:03 pm

maze final

All done! Already filled with lots of user submissions. I can already tell that making sure submissions work right is going to be murder. But we shall see! It’s pretty awesome already, with multi-part puzzles made by different people.

Play now: http://hamumu.com/maze.php

It requires a Dumb Account to play, but those are free and the most fun thing in the world, so you would be a fool to pass that up.

  • Recent Comments

  • Recent Tweets (Tag: #LD48)

  • Categories

  • Meta

  • Recent Trophies

    The LD to "Chart Topping" Kongregate Award
    Awarded by PoV on March 17, 2010
    The "Ludum Dare Entry on iPhone" Award
    Awarded by PoV on March 17, 2010
    The "Ludum Dare Entry on iPhone" Award
    Awarded by PoV on March 17, 2010
    The "Ludum Dare Entry on Steam" Award
    Awarded by PoV on March 17, 2010
    The Lonely Clapper Award
    Awarded by PoV on March 16, 2010
    The "Ludum Dare Entry in SOWN" Award
    Awarded by PoV on January 26, 2010
    The "Ludum Dare Entry in the IGF" Award
    Awarded by PoV on January 26, 2010
    The "Ludum Dare Entry in the IGF" Award
    Awarded by PoV on January 26, 2010
    The "Funnest Looking Animated GIF Ever" Award
    Awarded by PoV on January 26, 2010
    The "Breakfast With Awesome Thing" Award
    Awarded by PoV on January 26, 2010
    The Official SonnyBone 'RAD GAME' Award
    Awarded by SonnyBone on January 3, 2010
    The Madk Award for Excellence in Graphic Art
    Awarded by madk on January 2, 2010

  • All posts, images, and comments are owned by their creators.