Notices
Results 1 to 7 of 7

Thread: Does anyone here write games?

  1. #1 Does anyone here write games? 
    Forum Senior
    Join Date
    Jun 2013
    Posts
    309
    I have an idea for a evolution-simulator game that I want to make, but I need a decent 2d graphics engine to make it work right. Any idea which I should use? I've never tried "directdraw" or "openGL". Are they hard to right in?
    I'm using a version of C++.


    Reply With Quote  
     

  2.  
     

  3. #2  
    Forum Radioactive Isotope MagiMaster's Avatar
    Join Date
    Jul 2006
    Posts
    3,440
    There's no right answer. DirectDraw and OpenGL are just libraries of functions and they'll both do the job. It's just whichever you're more comfortable with or which one has the feature set you like. You might want to look in to SDL since it's supposed to be simple. Allegro might also work.

    Really, even something like GameMaker would work. Algorithmic complexity is likely to have a much more drastic effect on your performance than any differences in the language or libraries, so just try them and use whatever you find most comfortable.


    Reply With Quote  
     

  4. #3  
    has lost interest seagypsy's Avatar
    Join Date
    Nov 2012
    Posts
    3,107
    This link might help you a bit. I haven't written any games but my son is using Blender which I think is python based. he doesn't know any programming languages but is still actually creating a 3d game.

    List of game engines - Wikipedia, the free encyclopedia
    Speaking badly about people after they are gone and jumping on the bash the band wagon must do very well for a low self-esteem.
    Reply With Quote  
     

  5. #4  
    Forum Senior
    Join Date
    Jun 2013
    Posts
    309
    I came across Allegro after posting the topic. I might try it.

    I have the idea for the basic code already, but it almost requires a visual interface to work out the positions of the cells in the game. At the very least I think it would help me if I could see them.
    I know I'll have an array of locations (maybe a few hundred by a few hundred). I'll then list (one array each category) the resources (they feed mostly through osmosis), toxins, and objects (say a piece of gravel) that are in each. I'll also have an array to keep track of which cell each lifeform is in and its vector and speed. I'll also have list to keep track of cell's health, nutrient and toxin levels, energy, genetic code, and whether or not it's reproducing, and, if it is doing so sexually, which cell it's reproducing with. I'll list new cells as soon as they first appear.
    After this I'll just have to write algorithms to change these values and to save the data of dead lifeforms for future reference.
    Also, I'll have nutrients, toxins, radiation sources, lights, heat sources, etc. that you can add. And a way to directly engineer them.
    Reply With Quote  
     

  6. #5  
    has lost interest seagypsy's Avatar
    Join Date
    Nov 2012
    Posts
    3,107
    Quote Originally Posted by TheUnknowable View Post
    I came across Allegro after posting the topic. I might try it.

    I have the idea for the basic code already, but it almost requires a visual interface to work out the positions of the cells in the game. At the very least I think it would help me if I could see them.
    I know I'll have an array of locations (maybe a few hundred by a few hundred). I'll then list (one array each category) the resources (they feed mostly through osmosis), toxins, and objects (say a piece of gravel) that are in each. I'll also have an array to keep track of which cell each lifeform is in and its vector and speed. I'll also have list to keep track of cell's health, nutrient and toxin levels, energy, genetic code, and whether or not it's reproducing, and, if it is doing so sexually, which cell it's reproducing with. I'll list new cells as soon as they first appear.
    After this I'll just have to write algorithms to change these values and to save the data of dead lifeforms for future reference.
    Also, I'll have nutrients, toxins, radiation sources, lights, heat sources, etc. that you can add. And a way to directly engineer them.
    That sounds like a very complex game. I hope it works for you and is a good rival for Spore. Something a bit more accurate to science would be a great way to teach evolution to kids and even adults.
    Speaking badly about people after they are gone and jumping on the bash the band wagon must do very well for a low self-esteem.
    Reply With Quote  
     

  7. #6  
    Forum Senior
    Join Date
    Jun 2013
    Posts
    309
    Think "Darwin pond" on steroids. Also, look at a game called "Species: Artificial Life, real evolution". It's in Alpha, or maybe beta, but it seems better.

    I just need to figure out how to work out breeding. I'm thinking 10% genetic difference will work, or maybe a set number of genes.
    Reply With Quote  
     

  8. #7  
    Forum Freshman
    Join Date
    Aug 2013
    Posts
    18
    i have some experience in game dev
    if you want to learn direct X, i recommend to learn directx 10, its the worst of al directX but if you can write Dx10 you can do Dx9 and Dx11 also
    if you want to use an engine, UDK is best to start with, its free to use unles u want to go commercial, than it costs 100 $ (until u make more than 25 000 $ than u have to give them a percentage of your profit )
    in udk u can script everything or u can even code with nodes( yeah i was skeptic about it to but it can create a very nice overview about how your code works )
    Reply With Quote  
     

Similar Threads

  1. How to write such research proposal?
    By dexoey in forum General Discussion
    Replies: 0
    Last Post: September 9th, 2012, 04:23 PM
  2. write the monomer of the polymer
    By NOF in forum Chemistry
    Replies: 2
    Last Post: January 23rd, 2011, 05:24 AM
  3. I NEED HELP TO WRITE AN ALGORITHM
    By ineedhelp06 in forum Computer Science
    Replies: 4
    Last Post: July 20th, 2010, 10:31 AM
  4. If I were to write...
    By scientstphilosophertheist in forum Scientific Study of Religion
    Replies: 35
    Last Post: August 17th, 2007, 09:55 PM
  5. write info on any surface ?
    By bajopalabra in forum General Discussion
    Replies: 2
    Last Post: November 18th, 2005, 08:35 AM
Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •