Turn N' Fall - Codea Cook-Off Competition Entry [UPDATE #17]

@JakAttak it isn’t, it’s just like ‘another’ of those games… xd there are already alot of games with the kind of gameplay i use xd

This is awesome.

And you are totally winning.

Update 8: Tutorials

Spent a good chunk of time putting theses tutorial slides together and wrapping them up in a stylish display. Think I did pretty good.

Screenshot:

Video:

https://www.dropbox.com/s/ymi64pkrm0aq64i/Video%20Dec%2025%2C%207%2050%2011%20PM.mp4

Latest code: http://twolivesleft.com/Codea/CC/alpha/index.php?v=1204

Just added a new upgrade: increase the arm length

Screenshot:

Just realized that with my unlimited upgrades system, you could upgrade the arm length so high that you were off screen and untouchable (infinite run). So I added a limit to that one (max is longest that still fits on screen)

Upgrade 9: The falling illusion wasn’t very convincing, and since the theme is fall I though this cannot be. This is my attempt to improve it.

Screenshot:

Video: https://www.dropbox.com/s/xwoj5x61juesb9l/Video%20Dec%2026%2C%209%2034%2036%20PM.mp4

Latest code: http://twolivesleft.com/Codea/CC/alpha/index.php?v=1212

Any thoughts on how convincing it is, or how to improve it are welcome as always.

looks nice! maybe add some graphics to the invincibility period, like a shield around it instead that blinks when its about to disappear?

Maybe an occasional flyer working it’s way upward as an extra obstacle. Bats might work hanging under the ledge with one breaking off and heading upwards now and again.

Side vents spewing god knows what here and there?

Nice clean simple design :slight_smile:

Update 10: I liked the idea of additional obstacles. To start things off, I added falling rocks.

Screenshot:

Latest code: http://twolivesleft.com/Codea/CC/alpha/index.php?v=1216

Keeps crashing on ipad1… Sob! Do you use high res graphics?

@JakAttak you don’t even wanna give me a very small chance to kinda compete fairly…? xd

jk, I only have time to code a little a day, but i try my best, just didn’t have the greatest idea, I now have some more ideas but yeah it’s kinda to late to restart a whole project xD

Update 11: I took some of your advices and changed the shield powerup to display a ‘shield’ over the ball that blinks twice before you lose it.

@Jmv38, I am sad to hear it and would like to try and fix it. The largest graphics i believe are 1024 by 768… What part does it crash at?

Side note… As you can see from some of the images, I’m using your XFC and it is very helpful.

Update 12: I said to myself, what kind of game doesn’t have a logo, and so I make one. Here it is:

Any thoughts are welcome.

@JakAttak thanks for the answer. The crash is during startup. The loading is finished (all dots blue) but then, after few seconds… Crash! Dont worry too much about that, i’ll check when you are finished with the game.
I am happy to see XFC is useful to you!
Comment concerning the logo: usually the logo is zoomed smaller => the objects will isappear => maybe make them bigger vs the logo size?

@Jmv38, odd… Perhaps it is the transition causing a crash. Could you try changing the setup to

function setup()
    STANDARDFONT = "HelveticaNeue-Light"
    
    Scene = SceneManager(2)
    
    Scene:addScene("start", Start)
    Scene:addScene("game", Game)
    Scene:addScene("scores", Scores)
    Scene:addScene("shop", Shop)
    Scene:addScene("help", Tutorial)
    
    Scene:change("start")
end

Perhaps it is just the loader, but I think likely it is the transitions causing crash.

Thanks. I’ve replaced the setup by your new setup, but now i get an error instead of a crash:


error: [string "Start = class()..."]:69: bad argument #1 to 'sprite' (codeaimage expected, got nil)

ipad1 is very limited in memory, so crashes are in general related to image creation.

It seems the images are not being downloaded after all… I wish I had iPad 1 to test on myself. Perhaps try in Start:init replacing the self.leafImg = readImage(“blah”) with any image

@Jmv38 @JakAttak, well the error is very easy…
in the start class, on line 22 you load an image from dropbox, replace line 22 by this

self.leafImg = readImage("Documents:BALeaf")

@stevon8ter, thanks for catching that. I noticed and fixed it, but I guess not in the latest version on CC