|
|
hey, I've been learning C# lately. How is writing the code for a game like this? In other words, what was the process like, what kind of commands do you use to get a game/graphics going?
|
|
Just judging based on the video, but if i was to play that game i would have to do so muted. Those sounds are really annoying!
Congrats for starting and finishing a project though!
|
I think it's free though?
|
Ok, wasn't aware of that despite being a TL user since 2003. The game is completely free though. But I think it's also a blog post about android game development, I'm happy to answer questions.
On April 23 2012 02:14 Roe wrote: hey, I've been learning C# lately. How is writing the code for a game like this? In other words, what was the process like, what kind of commands do you use to get a game/graphics going?
I used a game engine (http://cocos2d-x.org/) that took care of most of the graphics stuff. There is a small example game with source code posted on that website that you could modify to make your own game. The most important thing is to know your basics (programming / some elementary math). Writing the code for such a game is actually not that complicated once you've learned these basics. (the complete game is only about ~2000 lines of code)
On April 23 2012 02:14 Turo wrote: Just judging based on the video, but if i was to play that game i would have to do so muted. Those sounds are really annoying!
Congrats for starting and finishing a project though!
Thanks! And yeah, the sound issues will be addressed. Lots of people I showed the game to already mentioned that.
|
Nice job. Have you had any previous experience with cocos2d for Objective-C. I'm curious because I've used both cocos2d and cocos2d-x and I think if I were to have just started with cocos2d-x it would have been very confusing. There are memory management things that are quite strange from a c++ perspective (mimicking the retain/release/autorelease mechanisms of Objective-C). I find myself kind of hating cocos2d-x and c++ coming from using Objective-C for quite awhile. It's funny, I used to think the opposite way coming from a c++ background in school and work, Objective-C was alien to me but after using it for awhile going back to c++ is painful.
|
On April 23 2012 02:39 GogoKodo wrote: Nice job. Have you had any previous experience with cocos2d for Objective-C. I'm curious because I've used both cocos2d and cocos2d-x and I think if I were to have just started with cocos2d-x it would have been very confusing. There are memory management things that are quite strange from a c++ perspective (mimicking the retain/release/autorelease mechanisms of Objective-C). I find myself kind of hating cocos2d-x and c++ coming from using Objective-C for quite awhile. It's funny, I used to think the opposite way coming from a c++ background in school and work, Objective-C was alien to me but after using it for awhile going back to c++ is painful.
Yeah, I did a little iOS game with cocos2d/Objective-C for a 2-week games development seminar at my university.
I'm not a big fan of cocos2d-x either because of exactly the reasons you mentioned, but as far as I know it's the only good native game engine for android. (and also it allows you to port your app to other platforms, which is a plus)
|
Nice! Wouldn't say this should run afoul of advertising rules, good to see TLers talking about their projects I've done some cocos2d development, it's a pretty good engine, though I've mostly been using it on iOS with Kobold. Hope you've lots of success on Android
|
Lol this doesn't breach advertising rules. This is a personal project of yours that you're showing to the community, it's not like you're trying to sell it to us or anything. I think it looks pretty well done (the sounds could use a change though).
|
|
@OP Nice ^.^ Keep working on it, one day you'll be as big as Angry Birds!
My friend's android app:
+ Show Spoiler +
My friend made this game for Android, in fact, you can see me in the credits for "Concept Designer" (Kelvin) but in all honesty I didn't do anything
I'm not gonna advertise the game, it's totally free, this video review was made from some dude on Youtube. It's a balloon popping game..
|
|
|
|