About | Rules and Guide | Sign In/Create Account | Write a Post
Construction1990’s Internet Montage? No!
Please excuse the site weirdness. Mike is fixing and making things.
Ludum Dare 31 — Coming December 5th-8th 2014!

  • ??? Begins: in 9 days, 21 hours, 37 minutes, 43 seconds
  • October Ends: in 10 days, 21 hours, 49 minutes, 43 seconds
  • Ludum Dare 31 begins: in 45 days, 22 hours, 37 minutes, 43 seconds
  • (FYI: Clock might be off) | Ludum Dare 31: Real World Gatherings (Now Open!)

    [ October Challenge 2014 | Resources | Submit/Edit | View All ]

    About magneus

    Mobile software developer from Central NJ


    MiniLD #28

    magneus's Trophies

    magneus's Archive

    Moonbase Shootout: Texture Mapping Issues

    Posted by
    Monday, August 1st, 2011 11:37 am
    So in Moonbase Shootout, my entrant for Mini LD #28, I ran into some texture mapping issues.

    I'm on LibGDX (which was great to work with!), and here's what my model should look like, textured:


    Unfortunately, in-game, the textures didn't map correctly to the mesh.

    As you see here, the stripe that should circle the UFO is actually on the bottom, and the purple dome doesn't sit flush.


    Here's my texture:


    And here's the offending code to load the mesh and the texture:

          InputStream in = Gdx.files.internal("data/ufo.obj").read();
          Mesh alienMesh = ModelLoaderOld.loadObj(in);

          Texture alienTexture = new Texture(Gdx.files.internal("data/ufo.png"), Format.RGB565, true);
          alienTexture.setFilter(TextureFilter.MipMap, TextureFilter.Linear);

    Anyone seen this before?

    Finished! Moonbase Shootout

    Posted by
    Sunday, July 31st, 2011 4:06 pm

    Here’s the Android .APK: http://dl.dropbox.com/u/11816173/shootout-android.apk


    It will currently work on all 2.2 and up Android devices at 800×480.

    Give me a bit and I can widen the support. Just wanted to post this as the deadline just hit!


    Edit: Here’s the entry write-up.

    Ludum Dare – Breaking Ground

    Posted by
    Saturday, August 21st, 2010 1:35 pm
    For those of you unfamiliar with Ludum Dare, it’s a 48-hour game development competition. This is
    the 18th event, and it began last night at 10PM. Check them out.

    Sadly, this week isn’t optimal for me, since I’m haggard from a poor
    sleep cycle and overwork. The new iPad gig has been much more
    responsibility than I anticipated.

    My devotion to duty won out. Ludum Dare only comes three times a year.
    I’ve missed the last two. I couldn’t allow that to happen again. I’ve
    never written a game before and I love the insanity of putting
    together something on such a tight time frame.

    After the starting gun, I spent last night mainly brainstorming and
    doodling, after the announcement of the theme “Enemies as Weapons.”
    I’m putting together something akin to Bomberman meets Super Mario 2.
    But it’s a little more complicated than that. More on that later.

    I’m targeting HTML5 and the canvas element. The prospect of having a
    game run on virtually every modern platform (including iOS, Android,
    WebOS), universally available through the Internet really spoke to me.
    Native code tends to be very tricky to distribute and support. I’m not
    a big fan of Adobe Flash, otherwise that would be a natural option.
    It’s refreshing to have a new option in the form of HTML5 and canvas.

    Javascript is the language of the web browser, and as such, I have no
    choice but to use it. Javascript is an interesting language with a
    colorful history. Some hate it, others love it. It’s been referred to
    as “The World’s most misunderstood programming language.” Short
    version: it was put together on a short time frame at Netscape. It was
    not meant to get so big so quickly. It did. (There are some awesome,
    redeeming features in the language, but most people don’t like to talk
    about them.)

    Recap of the difficulties: I’ve never written anything of note in
    Javascript. I’ve never really worked with HTML5. I’ve never written a
    game before. I’m still exhausted, even after a full night’s sleep. It
    will be a fun weekend. Luckily, I’m a bit of a masochist.

    To make my life easier, I sought some help.

    To guide my hand as I use Javascript in a major project for the first
    time, I have a copy of Javascript guru Douglas Crockford’s JavaScript: The Good Parts. The book is actually quite small (which
    tells you something about the language :), and it came highly
    recommend. I’m about halfway through. I’ll let you know how it is once
    I’m done.

    I also stumbled across the Akihabara library, which seems to be a very well-put-together
    piece of software. Check out some of the samples on the website to get
    a feel for how nifty it is. I thought that Solitude was
    particularly awesome. Hopefully this will save me some grief in
    putting together my game.

    Did I mention I have to make artwork and sound, too?

    Wish me luck.

    First LD

    Posted by
    Friday, August 20th, 2010 7:34 pm

    Giving this a shot. Wish me luck, folks.

    I’ll be more verbose once I figure out what I’m making.

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

    [cache: storing page]