Hi. I've had quite a lot of experience in general programming before. Some in normal iPhone SDK and very little in cocos2D. I understand the basic concepts of cocos2D. I would like to make a version of this (http://www.puzzle-light-up.com/) simple (?) online game for the iPhone. If could someone help me to start out and figure out the game logic for this game, it would be greatly appreciated. If you want to help could you post here or give me your Skype?
Starter project ~ Help!
(5 posts) (3 voices)-
Posted 1 year ago #
-
Self-deleted for being mean.
Posted 1 year ago # -
You've got a two dimensional array, in each slot you've got bool representing the value of each on/off state block.
Find out how to read from files, and make an array of levels. Then load that in on the initialization, figure out the logic of your initializer if they've completed this level previously. You do this by saving to your documents folder, because you can't write to your resources folder on runtime on a real device.
You write code to capture your clicks and then just do the logic of how it affects neighboring blocks x+1/x-1/y+1/y-1, and make sure you don't go out of bounds. Keep track of how many are lite vs not lit, and when it reaches zero, run some code to save level progress if it's a further level than previously completed, if not just load the next level.
Posted 1 year ago # -
That said, welcome to the cocos2d-iphone forums! There are a lot of helpful people around here -- feel free to post specific questions when you have them!
Posted 1 year ago # -
Oh my god. That sounds like a lot. Could it be a good project if I just started out? And yet again if someone had skype it would be pretty useful.
Posted 1 year ago #
Reply
You must log in to post.