English 中文(简体)
制作模拟视频游戏
原标题:Making a simplistic video game
  • 时间:2011-04-17 13:37:22
  •  标签:
  • c
  • graphics

I m about establishing a simisticisticistic video. game. I m not talking about anything fancy, but about a game as this:

“Poleposition

自2006年以来 我要学习的是,我更希望不要使用图书馆,而是像我自己那样进行滚动。 我需要知道如何使汽车和轨迹化,处理与其他汽车的碰撞。 I m Target-030, MacOS X andOS。 我担心,像开放式利比里亚民主运动这样的图书馆使事情“简单”。

是否有很好的资源来讨论这一问题? 我发现的多数辅导/论文都以大众图书馆和建筑、发动机为基础。

最佳回答
问题回答

<<>>>

Don,你仍有大量的工作要做。

在REAL世界,方案设计者使用尽可能多的图书馆,这是产生一种应用的唯一途径,这些应用侧重于事情应如何运作,而不是花几年时间处理每一个小事。

然后,如果你想要把自己的图书馆分成细节,就开始在图书馆上进行节目,并更换你使用的图书馆。

将你的申请分为自我控制的部分,是一种良好做法,可以在不破坏一切的情况下加以改变。

此外,我建议你首先学习C++。 能够用目标导向的方法模仿你的问题领域,将有助于你将问题分解成可减半的单位。

It will be more or less impossible to develop a game without using any library. I guess you would have to go back to good old C64 days to do that. If you are interested in learning, I would look for a more low level library, which provides access to graphics, sound, ... But it should leave the logic to you.

I would propose to have a look at http://www.pygame.org/. It makes working with graphics, sprites, ... easy, is still relativly low level and Python is a great language to get started with.





相关问题
Fastest method for running a binary search on a file in C?

For example, let s say I want to find a particular word or number in a file. The contents are in sorted order (obviously). Since I want to run a binary search on the file, it seems like a real waste ...

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

Trying to split by two delimiters and it doesn t work - C

I wrote below code to readin line by line from stdin ex. city=Boston;city=New York;city=Chicago and then split each line by ; delimiter and print each record. Then in yet another loop I try to ...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

Encoding, decoding an integer to a char array

Please note that this is not homework and i did search before starting this new thread. I got Store an int in a char array? I was looking for an answer but didn t get any satisfactory answer in the ...