Monday, December 9, 2019

objective c - Can Xcode be used to create very simple games?


I am brand new to Xcode, and I am also brand new Objective-C programmer.


I was wondering if it is possible to create simple Mac games with Xcode. If it's not possible, could you recommend me some good, cheap game engines?



Answer



Xcode can indeed be used to create games. You can do anything a Mac/iOS device is capable of by programming in Xcode.


I think you should focus on what part of the project you want to focus on. As you state you are a brand new Objective-C programmer (welcome). In my opinion it would be quite a mouth full to try and just into Objective-C programming whilst taking on Xcode AND game development (starting with engine design continuing with game design).


If the purpose is to write great games - get a nice engine that fits your needs (3D/2D/??) - have a look at Unity if you like. If the focus is actually learning programming Objective-C and/or Xcode I'd recommend that you make some small utility programs before jumping on to game development. If the point is to simply do game programming consider the alternatives to Objective-C and Xcode - pure C/C++ or even Java.


All that said - I wish you the best of luck in your adventure!


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...