![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
Python also has some good web development frameworks (CherryPy, SQLObject, Django etc.) |
|
|
|
|
|
|
#22 |
|
Newbie
Join Date: Oct 2005
Posts: 4
Rep Power: 0
![]() |
Thank
Thank you for reply.
But can you tell me what is dark basics and where can I find that? Thanks. |
|
|
|
|
|
#23 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
Google is your friend, and that post is quite off-thread. You should start a new thread for such questions.
|
|
|
|
|
|
#24 |
|
Newbie
Join Date: Oct 2005
Posts: 4
Rep Power: 0
![]() |
I don't have permission to create a new thread.
Can you help me to create a new thread about game programming? Thanks. |
|
|
|
|
|
#25 | |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,054
Rep Power: 5
![]() |
Quote:
Then, you need to figure out how to do a few things using your environment (compiler and OS) of choice. You'll need to figure out how to a) get user input in whatever form (mouse, keyboard, and joystick/gamepad being popular ones), b) draw stuff on the screen (this may be as simple as drawing pixels and lines to blitting images to texture mapping; I suggest you stick to the simple stuff at first), and c) implementing some sort of timing. Once you've got this knowledge, you should be able to write a simple single-player game. The key point here is simple; try something like Tetris or a 2D top-view scrolling game (the latter isn't as simple as it might seem). Once you have done that, you will be able to tackle something more complex. Try making it two-player (at the same computer, using different keys and/or input devices). From this, you will (hopefully) learn about creating state objects to represent each player. This has two benefits: first, you can save/restore the states to implement saving/loading of games, and second, you will gain scalability by being able to instantiate more of these objects. If you want any kind of multiplayer game that uses two or more computers, you'll also need to learn sockets programming so the machines can talk to one another. Try to keep your code as generic as possible, especially if using an object-oriented language. Don't make a 'monster' class, and then duplicate all of this into a 'friendly NPC' class. Rather, make a 'creature' class, putting all the common characteristics there, and then derive other types from it. The 'creature' class might even be derived from a 'sprite' class, with other subclasses representing inanimate objects, projectiles, and the like. Don't hard-code things in unless you have a valid reason to do so, and even then, try to use symbolic constants; NUM_PLAYERS makes much more sense than 2, and it's much easier to change the constant definition rather than change every occurence of 2 that refers to the number of players without accidentally changing any occurences that refer to something else. Game programming is one of the most complex types of programming there is, so you will have to work at it for a while. Don't expect to create something grand right away; if you make the attempt, it will only discourage you when you fail. Start small and build from there.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
|
#26 |
|
Newbie
Join Date: Oct 2005
Posts: 4
Rep Power: 0
![]() |
Hi
I have another question.
All most my friends have studied PHP programming. I am beginning with Servlet/JSP now(because I love Java,it's really fun) but I feel that it's too difficult for me. I can't find anyone of my friends to make a group so I only read ebooks and study with myself. When I can't understand something , I'll ask someone in this big house. Is this the right thing to do? Would you please to give me some advices? What is the good way to study network programing? Thank a lot. |
|
|
|
|
|
#27 |
|
Professional Programmer
|
You may want to make some notes about QBASIC. It's not useful for anything, really, but it's great for learning the basic fundamentals of programming. Especially for Visual Basic (Since it uses mostly the same commands as QBASIC).
Plus, it's free and will give the new programmer an opportunity to experiment with programming without putting a whole lot of money into something he/ she may not even like. |
|
|
|
|
|
#28 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
For sockets programming, google Beej. You can easily set up a LAMP or WAMP system if you'd like to explore PHP and web design/programming. A number of good C/C++ compilers are available and free, as well as MS Visual Basic and C# compilers. While you can learn the "fundamentals of programming" with QBASIC, the same is true of many languages. I wouldn't recommend moving backward before you get started.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#29 |
|
Newbie
Join Date: Mar 2006
Posts: 1
Rep Power: 0
![]() |
Hi, I will be learning C++ here shortly, and have a question. How long will this language be around? It seems to be a very useful language, and one of the most used, but, you know how technology is.
|
|
|
|
|
|
#30 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Yes, I know how technology is. It's nothing to worry about.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|