nickchops / wrong-prototype

"Wrong" Marmalade Quick demo game - prototype version
1 stars 3 forks source link

backdrop.png missing from textures folder. #1

Open thebothead opened 11 years ago

thebothead commented 11 years ago

According to the code and blog post here (https://www.madewithmarmalade.com/blog/building-marmalade-quick-game-pt-3-building-wrong-prototype) there should be a backdrop.png file in the textures folder, but there is not one. I would have posted on the blog with a comment but there does not seem to be any way to leave a comment there about it so I can only open an issue here in relation to it. This was a little disappointing since I was just about to run through this demo...

bengosu commented 11 years ago

Apparently this code does not match the one from the blog anymore as it does not create the battle background with the backdrop.png but with a rectangle: background = director:createRectangle({ x=0, y=0, w=appWidth, h=appHeight, strokeWidth=0, color=color.black, alpha=1.0, }) it will still be good to have the file so we can run the code from the blog. I got a dark png image from google images and renamed it backdrop.png :)

nickchops commented 11 years ago

If you look about half way down the blog post, a paragraph below the "Debug vs Release" heading, the code in the blog also switches from using a png background to a generated star field using a rectangle and vectors. The source uploaded to github only has that final version in it, hence no png.

But it would have been handy for me to include that, so I've attached the png I used to this post in case anyone wants it. I'll see if I can upload/link it to the blog as well.

Note that after this prototype build, the game went totally vector crazy so the next versions you'll see won't use a lot of sprites apart from for pixely retro effect. I'll probably use a separate repo for that since it's quite different and I wasn't using git to manage it at the time.

I'm also building another sprite and physics heavy demo game which will pop up on here soon. Feel free to request features. I'm going to try and work so that you get a new feature per commit to the public repos.

backdrop

bengosu commented 11 years ago

I did not get that far into the blog post :). Thank you for your reply and I can't wait for the new demo game!