Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary!

Ludum Dare 22 :: December 16th-19th, 2011 :: Theme: Alone

[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]

[ View All (Compo, Jam) | Warmup ]


1 = 0

Posted by
December 12th, 2009 6:50 pm

So, I’ve been working on that game, and I’ve definitely made headway on it. However, GameMaker must think that “1″ = “0″. I’m using string_char_at(“0101″,4), and it returns 0! What on earth?

2 Responses to “1 = 0”

  1. Deepflame says:

    Usually indices are 0-based. Check string_char_at(“0101″,3) instead.

  2. Cosine says:

    I already know it’s 1 based, I’ve used it before and it worked fine. I also tried switching, and it just made it worse :P

Leave a Reply

You must be logged in to post a comment.


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

[fcache: storing page]