Mar 102012
 

A very solid little Boggle clone created in under 350 lines in less than 1:30 hours.
I saw a set of tutorials for making Boggle in another SDK recently and realized that I’ve never attempted this kind of app before.

Then I saw a suggestion that this other series (totaling about 2:20 hours) was not something that could be done in Corona in a similar amount of time – and I felt like maybe there was a wider misunderstanding about Corona that I could help to set straight; we are fast. So fast in fact that this tutorial was created in just over half the time of the series that inspired it.

But this isn’t about who is faster – it’s about me feeling like staying up crazy hours to make something unlike anything I’d ever tried to make before and share the results with the community – luckily for you guys, it was a success!

So, 8 videos, a little under 10 minutes each and less than 350 lines of code – and you can make your own Boggle clone in Corona.

All parts are below, I hope you enjoy them and can perhaps learn something new in the process!

*NOTE: Bump up quality and consider viewing in the larger window on YouTube if you have issues reading the code.

**Source code for download at the bottom via Tweet and Get It button.

Download Boggle Corona Template

Peach Pellen :)
PS – Want to show your support buy can’t afford to donate? No worries, a follow, a friend, a tweet, etc. is always appreciated!

 

Like this post? Subscribe to the monthly newsletter!

 

  21 Responses to “Boggle in under 350 lines in CoronaSDK – Full Video Tutorial”

  1. [...] for getting a list of the words to compare against was derived from Peach Pellens wonderful site Techority, so thanks goes to her for making my life [...]

  2. Hey, Peach, I just incorporated the word checking mechanics I got from your boggle game to my new game. It works like a charm! Thank you for the tutorial!!

    Naomi

  3. I just downloaded the boggle.zip — thank you! I’m currently collecting resources for my next project as I finish up my current one. I can’t wait to start learning from it and building my next project.

    Thanks again!

    Naomi

    • Oh great, sorry, I saw your post before I saw this comment – let me know how you go, I hope it’s useful for you :)

  4. [...] y si tengo tiemp, estudiaré algunos tutoriales de Techority, esta semana vi que lanzaron un nuevo tutorial, así que no puedo esperar mas para estudiarlo! Recommend on Facebook Tweet about it Bookmark in [...]

  5. [...] study some of the tutorials by “Techority“, this week I saw they released a brand new tutorial so I can’t wait to study it as well! Recommend on Facebook Tweet about it Bookmark in Browser [...]

  6. Open TextMate and press CMD+ALT+L ;)

    Glad you liked the vids :)

  7. Ahh, I yes, I caught that after the fact.

    I did exactly that, ditched SB for now. I have 29,000 lines of code (just one space between local vars, and functions and the functions themselves are single spaced into blocks). Needless to say, migrating I realize is WAYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY complicated right now.

    I started modularizing and I cut it down from 41K so I guess I’m making progress….ugh. lol. Now I’m integrating score (using ego) into level unlock (using ego) so now I’m combining the two. Weee!

    Anyway, I learned a ton from these vids, I’m still working through it. Also, I started using textmate (I was using BBedit) and I like it better….only if I can get line numbers to show on the side (like BBedit does).

    Great videos, great tutorials people will learn a lot from this!

    -Ng

  8. Ahh, I yes, I caught that after the fact.

    I did exactly that, ditched SB for now. I have 29,000 lines of code (just one space between local vars, and functions and the functions themselves are single spaced into blocks). Needless to say, migrating I realize is WAYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY complicated right now.

    I started modularizing and I cut it down from 41K so I guess I’m making progress….ugh. lol. Now I’m integrating score (using ego) into level unlock (using ego) so now I’m combining the two. Weee!

    Anyway, I learned a ton from these vids, I’m still working through it. Also, I started using textmate (I was using BBedit) and I like it better….only if I can get line numbers to show on the side (like BBedit does).

    Great videos, great tutorials people will learn a lot from this!

    -Ng

  9. In this case, as I mention in the first video, I’m using Director because I believe it is what most people are comfortable with at this time.

    If you are using Director I wouldn’t migrate – I’d keep using it and switch to SB fresh on your next project.

    Just my 2 cents :)

  10. So, any reason you are NOT using Storyboard API? I’m a huge director fan, I’ve started testing the SB api, but it’s kind of oddball. I would like to migrate my code from director to storyboard, but I may just leave it alone and use director on this project, and SB API on the next.

    The real question is though, why are you not using Storyboard API? :)

    ng MMFTND

  11. Haha, thanks J – and very valid points above :)

    I did consider using string.char but then I think I got muddled up by something. (I was trying to think one step ahead to make sure I didn’t fall over completely while recording.) ;)

  12. Oh, and awesome tutorial! :)

  13. In Part 2 where you typed in letterList you could have also done something like this:

    1
    2
    3
    4
    letterList = {}
    for x = 1, 26 do
        letterList[x] = string.char ( 65 + x - 1 )
    end

    That gives you the same thing but is less boring to write. :) It’s actually about 75% as long (when you count the number of characters) but when you’re talking about just 26 things in the list it’s not that big a deal.

    But if you find yourself needing to create a list of a LOT of things, doing something like this can save your sanity.

    Jay

    PS – For a tutorial video “spelling it out” the way you did might be better just for clarity — this is just a tip for people who might not know about it.

  14. Nice! This is really nice! Thanks for the new magic spell :)

  15. Yup, will do. Thanks!

  16. Great tutorial as always Peach, i’ll give it a try this week :)

  17. Sweet, looking forward to getting started on this. One quick thing though, is there any chance you could provide the image files used? I’m still new to this site so if there’s already a way to download them then excuse my ignorance :D

    • Hey Basil, yeah, I will post the full game including images – am currently uploading it to server. Link will be available on the page in 5ish :) (I encourage you to just pull images though, learn to write the code yourself, etc – that isn’t just directed at you, I know it’s tempting for everyone but I’m hoping people resist the temptation.)

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.