Making a mobile game in 24 hours

通过使用高效工具和方法,即使在有限的时间内,也能开发出令人印象深刻且创新的手机游戏。本文提供了从选择强大灵活的工具、避免重复劳动到利用现有资源和简化资产创建流程的一系列建议。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Could you develop a mobile game in 24 hours? It's not as hard as you think.  BlueVia asked some leading games tech companies to provide their expert advice on how to do it

• This blog post is written and editorially controlled by BlueVia, sponsor of the Guardian Apps blog
A computer game being played on an Apple iPhone
A computer game being played on an iPhone. Photograph: Martin Argles/The Guardian

Traditionally 'game hacks' or 'game jams' have seen developers target the desktop or web browser using rapid development environments such as Flash or ActionScript. Using tools that allow you to put something together quickly is the key to success.

Mobile devices offer interesting new ways to experiment with controls and interaction. Features such as multi-touch, accelerometer and the camera allow games developers to innovate in ways that are not possible in a desktop environment. Games such as Znipball have shown that multi-touch can add innovative and intuitive controls to familiar game play.

It is also possible to create something simple, yet innovative, using these mobile-only features. This makes it easier to create something really impressive for mobile without having to work on detailed graphics and gameplay. Think about a game such as Cut the Rope – it's simple, yet addictive and intuitive to play using touch controls. Now consider a classic game such as Pong: what sort of innovative controls could be implemented using the touch screen or accelerometer?

There are also various different mobile platforms to target and developers have already seen the benefits of targeting multiple mobile platforms. Popular iPhone app Instagram, for example, saw over 5m downloads in the first seven days after being released on Android. Other developers such as Rovio have benefitted from releasing on both iOS and Android simultaneously, with Angry Birds Space leaping to the top of the charts on iOS and Android on the day of release.

Developing for mobile can help you reach a huge audience and the distribution channels make it easy to showcase your game once you have made it. The App Store and Google Play offer you the chance to reach about 500 million potential users.

There are different development environments using various programming languages that will allow you to create your game for mobile. If you want to target multiple platforms and are familiar with C++, the Marmalade SDK would be an option for you. Each platform offers its own SDK too - you can program in Objective-C for Apple products, and Java for Android devices using the platform SDKs provided by Apple and Google. Consider that if you choose a platform SDK, your game will only run on that platform and you will most likely need to rewrite your game to target others.

When developing a game in a short space of time you need to choose the right approach to make your game both achievable and the best it can be. If you only have 24 hours to make a game, the design becomes more dependent on what your chosen framework is capable of doing. Think about how quickly and easily you can create your assets and get them moving on the screen.

Here are some top tips for hackathon attendees from our Marmalade games experts:

Choose powerful and flexible tools

It is essential that you have the right tools for the job. You need flexibility and power to make the most of your time. Choose an environment that is familiar and gives you the flexibility to change direction quickly if you need to.

Don't reinvent the wheel

It is a big challenge to write a game engine in 24 hours, so taking advantage of existing engines and libraries will save time and effort. This also ties into your choice of tools - make sure they give you the flexibility to use existing libraries. Popular games engine Cocos2D offers developers an easy to use and flexible framework. The cocos2d-x project allows developers to target multiple platforms and can be used with the Marmalade SDK for easy deployment to phones and tablets.

Use flexible asset tools and pipelines

Use simple tools to create your assets quickly. In 24 hours it is unlikely you will be able to create well-polished and detailed assets, so use tools that are simple but flexible. Pyxeledit is a simple free tool for creating 2D images; Blender is a free tool that can be used to create 3D assets.

Powerful debugging

Use a development environment that offers powerful debugging tools that allow you to debug your code as it is running, perhaps in a simulator. Visual Studio and XCode both offer powerful debugging features and Marmalade provides a simulator environment for debugging.

Keep it simple

It is easy to get carried away when designing your game for the hackathon. If you think something will take about four hours it will probably take you the whole time available. Try to plan the work you do, particularly when it comes to the time spent on creating assets. When developing for mobile you might even consider using existing game code but innovate using mobile specific features.

Marmalade is a cross-platform mobile SDK offering developers the ability to target multiple mobile devices and platforms from a single codebase using C++. Many high profile 2D and 3D games have been made with Marmalade, including Backbreaker, Pro Evolution Soccer, Cut the Rope, Draw Something and Lara Croft.


本文出自:http://www.theguardian.com/technology/appsblog/2012/apr/25/rapid-mobile-app-development

### 回答1: "making a os in 30 days.zip" 是一个名为「30天做一个操作系统.zip」的文件。它可能是一个包含制作操作系统教程或资源的压缩文件。 制作一个操作系统是一个复杂而庞大的任务,需要有深厚的计算机科学和编程知识。一个完整的操作系统由内核、系统调用、驱动程序、文件系统和用户界面等组件组成。为了实现这些组件,需要熟悉底层编程语言和硬件架构。 30天的时间对于初学者来说非常有限。要在如此短的时间内完成一个操作系统,你需要有很强的学习能力和编程经验。可能的情况是该文件可能包含一个有结构的教程,指导初学者按照一定的步骤来实现一个简单的操作系统。这样的教程通常会提供一些基本的框架和代码,以帮助学习者更好地理解操作系统的组成和原理。 然而,30天的时间无法涵盖操作系统开发的所有细节和复杂性。实际上,专业的操作系统开发往往需要数年的时间来完成。因此,这样一个限时任务更适合对操作系统开发有一定了解的人,而不是初学者。 总之,「30天做一个操作系统.zip」可能是一个提供操作系统开发教程或资源的文件。尽管如此,要在如此短的时间内制作一个完整的操作系统对于初学者来说是非常困难的任务,更适合有一定基础的开发者。 ### 回答2: "making a os in 30 days.zip" 是什么? "making a os in 30 days.zip" 是一个以压缩文件形式出现的项目或资源,该项目可能是一个教程、资源集合或文档,旨在教授关于在30天内制作操作系统的相关知识和技能。 制作一个操作系统是一项庞大而复杂的任务,需要深入了解计算机体系结构、编程语言、操作系统原理和底层硬件。这个压缩文件可能为想要学习或探索这些领域的人提供了一个系统的指导,帮助他们在短时间内建立起一个简单的操作系统。 在30天内制作操作系统需要具备坚实的编程基础和高度的自学能力。学习者可能会从构建基本的内核开始,然后逐渐添加功能和模块,直到最终得到一个完整的操作系统。 该压缩文件可能包含的内容可能是教程、代码示例、实践项目和其他参考资料。学习者可以按照其中的指导逐步完成每个步骤,通过实践来加深对操作系统概念和实现细节的理解。 要制作一个稳定且功能齐全的操作系统则需要更长的时间和更广泛的知识。然而,"making a os in 30 days.zip" 可以作为一个初学者入门的良好起点,为那些对操作系统开发感兴趣的人提供了机会,让他们在一个相对短的时间内了解操作系统的基本原理和实践应用。 ### 回答3: "making a os in 30 days.zip" 是一个名为“在30天内制作一个操作系统.zip”的文件。该文件可能是一个压缩文件,其中包含有关制作操作系统的相关信息和资源。 制作一个操作系统是一项复杂的任务,涉及到硬件、软件和系统设计的多个方面。在30天内完成一个完整的操作系统开发是一项非常困难的任务,需要对计算机体系结构和编程语言有深入的了解。 在这个.zip文件中可能包含了制作操作系统所需的代码、文档、示例程序、工具和其他资源。这些资源可能帮助用户了解操作系统的基本原理,理解操作系统的不同层次和模块,以及开始开发自己的操作系统。 一般来说,制作一个操作系统需要更多的时间和专业知识。在30天内制作一个操作系统只能是一个基础版本或者原型,可能存在一些限制和不成熟的功能。对于想要深入学习操作系统开发的人来说,这个.zip文件可能是一个很好的起点,提供了一些学习和实践的材料。 最后,制作一个操作系统是一个具有挑战性的任务。无论是从事这个项目还是研究操作系统开发,请准备好投入大量的时间和精力,并确保对计算机科学有一定的了解和经验,以便更好地理解和实践操作系统的设计和开发过程。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值