Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

252 Neutral

About AcePilot

  • Rank
  1. AcePilot

    Favorite comedians?

    And here I thought that Stephen Colbert and Jon Stewart were staples in every human being's TV-diet...
  2. Quote:If i don't miss what you are saying, the flow will be liked this: 1. player/user clicked on button 2. send an event to event manager with button id 3. event manager process the event and ask GUI/overlay manager to find the purpose with the button id 4. GUI/overlay manager say player/user clicked the "exit" button and return to the event manager 5. event manager do the action based on the return value that get from the GUI/overlay manager Exactly. Step 3 is a pretty elegant way to do things. I just hardcoded the id's into the event manager [rolleyes]
  3. AcePilot

    c# then c++?

    The two languages are roughly similar in syntax, but have different sets of features. I would say C# is easier, and if you are beginning programming it would be a good choice for you to learn. There is no need to switch to C++ after you learn C#, unless you want to program at a lower level or on embedded systems. There are many tutorials on C# around the net. Googling "C# tutorial" will get you a plethora of them, such as this one. Edit: beaten to it.
  4. I designed a GUI for a java programming class a while ago and I encountered the same problem. My solution was a bit messy, but it worked. Basically, the event manager had a single function void handleEvent(int id, void *data) // It was actually Object data since there are no void pointers in java When there was an event, the event detector (whatever you want to call it) called the handleEvent function, with the id of the element that recieved the event and a pointer to some extra data. The handleEvent basically contained a huge switch/case block. To make this less messy, you could have multiple functions, such as void handleButtonClicked(int buttonID, int mouseX, int mouseY); void handleTextTyped(int textboxID, char typedChar); void handleTextClicked(int textboxID, int mouseX, int mouseY); ... Each component would then have to be assigned an id. I used a two digit code for this. If I wanted to make a button on the first panel, it's ID would be 11. If I wanted to add another button to the same panel, it woule be 12. If I wanted to add a button to the second panel, it would be 21. You get the idea. Hopefully this works for you.
  5. AcePilot


    You can use pretty much any language that supports sockets and networking. The platform and development tools you use depends on that language choice. For example, if you want to code it in C++, Visual Studio Express would be a good choice. If you really want to make this game as your first project, it will take a lot of design. You will have to decide on a networking architecture such as client-server or peer to peer. If you choose the first, you will have to design and code two programs instead of just one. Then you will have to come up with some type of secure protocol that will allow different players to communicate with each other or the server. The game logic itself will be quite simple since this is a card game, and will probably take up only around ten percent of your time. Graphics also shouldn't be a problem. I would suggest you start off by reading up on networking, then moving on to the game logic and network code. Try to get that done first, and worry about the money part later. Hope that helps. Good luck.
  6. You're not a real programmer until you've written a real program.
  7. AcePilot

    Do mathematicians understand Physics?

    Quote:Original post by socratus The dragon theory was created a long time ago. The quark theory was recently created. The dragon is a strange beast. And the quark is also a strange beast. Both of them are from one myth. Only different times gave this myth the different names. Socratus. Interesting article by Vertner Vergon. There is a difference. The quark theory actually helps explain experimental lab data. The dragon theory doesn't help prove or explain anything. I think that's why we chose one over the other.
  8. AcePilot

    Faith, God and Santa Claus

    Quote:Original post by sheep19 Quote:Original post by HappyCoder One thing I want to make sure you understand is that people who beleive in God don't do it blindly, and they aren't idoits. It seems to me that people who back their beleifs solely on science will build up quite a condecending additude towards those who base some beleif on faith. I beleive on God. I have faith that he exists. I also really enjoy science and I don't ignore anything in science that seemingly goes against my beleif on God. Rather I try to see how scientific knowledge can be joined with my religion. Thus far there hasn't been anything that could scientifically disprove the existance of God. The scriptures describe a lot of events and miracles, but rarely explains how God does such things and how he has his power. Although science is not able to explain God's power. I think it is discovering some of the processes that God has used to create everything. The only thing I know about God is what I learn from the scriptures and God's prophets. He only tells us what we need to know, and not always what we want to know. I personally think that there is something of a science behind God's power, it's just something that we don't understand. What I have said are just my own fillers for the things that God has not revealed, it is not anything that I have heard in church or anything and there is a good chance that many of my ideas are wrong. So when talking about beleifs with releigious people please don't view us being stupid. I think that discrediting somebody elses findings or ideas because it goes agaist our own view is stupid, expecially when there have been many people who have come to the same conclusion. I think that actually applies to both theists and atheists. That's very correct. I believe in God too. Why do people have to see something to believe it? Why don't they believe that there is something more powerful than them? Can you see the wind? No, you can't. God is like that. You can't see him, but you can see his actions. Thats the thing. Most atheists would believe in God if one could show them an action or event that could obviously be the result of a God. Otherwise, no evidence = no God. I personally think the whole debate comes down to interpretation of what happens around us. Some take the recovery from a disease to be an act of God, some take it to be a result of natural laws.
  9. Mithrandir: I am not in university yet so I'm just guessing here. Since university is the place that takes a person from n00b to developer (some high schools offer programming courses though), and after university the individual finds a job and starts developing, I think the university would be to blame here. School tends to give me a 'just get it done' habit. If I need to write a program to help me with math, I don't care what the code looks like as long as it gets the job done. Now I'm guessing that university level courses have the same effect? If they do, maybe an assignment that requires one to constantly update code over a period of time would help. + $0.02
  10. I don't know about you guys, but whenever I code in C++ I randomly feel at ease with the IDE and with my program. Everything is under my control, and I can use whatever I want to solve the problem, even if it means 2 hours of debugging memory bugs. Basically, its like programming the old BASIC-based computers. Other languages such as C#, java, or python might be 5x more productive but just don't give me that feeling, which is basically the only reason I don't do them. Quote: Original post by capn_midnight Since this is apparently bash-on-c++ day, I can't stand header files and having to update methods signatures in TWO places. I actually find that more productive for me in the long run. If I were to decide I need a graphics.cpp file, I would just randomly start writing code and end up with a big mess. Headers, on the other hand, force me to think up an interface (the main functions) first, making me brainstorm everything a bit. When you realise that some functions in your initial interface are crap, or their definitions are messed up, then thats another story.
  11. AcePilot

    Its my day off! WOOHOO!

    Steal your neighbor's ak47, his car, and his kitten. Then pwn some n00bs.
  12. AcePilot


    Even after some in depth research I am unclear on to the exact origin of the words 'pwn' and 'pwned'. Are they simply common typing errors of 'own' and 'owned'? (This is quite likely since o and p are quite close together on the keyboard. Just Curious.
  13. AcePilot

    Role Playing at GDNet

  14. AcePilot

    Game balance tool

    You are probably going to have to design such a tool on your own. Level design is not as easy as it looks... I`m pretty sure I`ve seen relatively thick books on the subject before.
  15. In my engine, I had a problem which this method could have fixed. When the client called the LoadTexture function, it returned a pointer to a texture. TexturePointer -> TextureObject All the DrawTexture function then had to do was to dereference the TexturePointer to get to the texture, and then draw it. However, the problem was that the TextureObject was managed in a dynamic array, in which data was shifted around a lot. So whenever the memory location of the TextureObject was changed, TexturePointer became invalid. If the dynamic array management system had a copy of TexturePointer, it could update the value of that variable (so basically changing where it points) each time the array was shifted around. I had to use a pretty retarded solution... The client passed a pointer to TexturePointer to the engine so the engine could update TexturePointer.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!