Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. game dev doubt

game dev doubt

Scheduled Pinned Locked Moved C#
csharphtmlcomgame-devhelp
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sai Yasodharan
    wrote on last edited by
    #1

    i m new to game dev and now developing a small 2d scrolling game in VC# 2005 using XNA framework. i completed the player movements, and some player controls(like shooting). now i donno how to write code for a mission. not even a basic idea of how to start with it. (for eg. mission is to shoot X ppl in some Y time). shud i hav to hard code in the update method or write mission details in a separate data file and read from it, and check for condition... pls pls pls some one help me on this...

    Known is a Drop, UnKnown is an Ocean More about me at http://in.geocities.com/slagio2002/me.html

    C M B 3 Replies Last reply
    0
    • S Sai Yasodharan

      i m new to game dev and now developing a small 2d scrolling game in VC# 2005 using XNA framework. i completed the player movements, and some player controls(like shooting). now i donno how to write code for a mission. not even a basic idea of how to start with it. (for eg. mission is to shoot X ppl in some Y time). shud i hav to hard code in the update method or write mission details in a separate data file and read from it, and check for condition... pls pls pls some one help me on this...

      Known is a Drop, UnKnown is an Ocean More about me at http://in.geocities.com/slagio2002/me.html

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Most people create a format to define missions, and then write a program with which they can create as many missions as they like, just by creating new data files.

      Christian Graus Driven to the arms of OSX by Vista.

      S 1 Reply Last reply
      0
      • C Christian Graus

        Most people create a format to define missions, and then write a program with which they can create as many missions as they like, just by creating new data files.

        Christian Graus Driven to the arms of OSX by Vista.

        S Offline
        S Offline
        Sai Yasodharan
        wrote on last edited by
        #3

        thanks for ur explanation. but i still need some sample or tutorial to understand the concept... cud u give me some link to such kind of tutorial... i hav searched in google for about 15 minutes and havnt found any...

        Known is a Drop, UnKnown is an Ocean More about me at http://www.raidan.co.cc/about/default.html

        C 1 Reply Last reply
        0
        • S Sai Yasodharan

          i m new to game dev and now developing a small 2d scrolling game in VC# 2005 using XNA framework. i completed the player movements, and some player controls(like shooting). now i donno how to write code for a mission. not even a basic idea of how to start with it. (for eg. mission is to shoot X ppl in some Y time). shud i hav to hard code in the update method or write mission details in a separate data file and read from it, and check for condition... pls pls pls some one help me on this...

          Known is a Drop, UnKnown is an Ocean More about me at http://in.geocities.com/slagio2002/me.html

          M Offline
          M Offline
          musefan
          wrote on last edited by
          #4

          Sorry but if i understand your question you want to store how many things you need to shoot and how long to do in? well just use some variables, get from a file or something. simple file with level, target, time would do, i.e. 1-10-60 2-15-55 3-20-50 4-25-45 etc. then for each level you load your target and time

          My opinion is... If someone has already posted an answer, dont post the SAME answer

          S 1 Reply Last reply
          0
          • S Sai Yasodharan

            thanks for ur explanation. but i still need some sample or tutorial to understand the concept... cud u give me some link to such kind of tutorial... i hav searched in google for about 15 minutes and havnt found any...

            Known is a Drop, UnKnown is an Ocean More about me at http://www.raidan.co.cc/about/default.html

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            How it works, is up to you. I'm not going to write a game to show you. You could look to see if the XNA framework has any samples you can look at.

            Christian Graus Driven to the arms of OSX by Vista.

            S 1 Reply Last reply
            0
            • C Christian Graus

              How it works, is up to you. I'm not going to write a game to show you. You could look to see if the XNA framework has any samples you can look at.

              Christian Graus Driven to the arms of OSX by Vista.

              S Offline
              S Offline
              Sai Yasodharan
              wrote on last edited by
              #6

              k. thanks...

              Known is a Drop, UnKnown is an Ocean More about me at http://www.raidan.co.cc/about/default.html

              1 Reply Last reply
              0
              • M musefan

                Sorry but if i understand your question you want to store how many things you need to shoot and how long to do in? well just use some variables, get from a file or something. simple file with level, target, time would do, i.e. 1-10-60 2-15-55 3-20-50 4-25-45 etc. then for each level you load your target and time

                My opinion is... If someone has already posted an answer, dont post the SAME answer

                S Offline
                S Offline
                Sai Yasodharan
                wrote on last edited by
                #7

                thanks...

                Known is a Drop, UnKnown is an Ocean More about me at http://www.raidan.co.cc/about/default.html

                1 Reply Last reply
                0
                • S Sai Yasodharan

                  i m new to game dev and now developing a small 2d scrolling game in VC# 2005 using XNA framework. i completed the player movements, and some player controls(like shooting). now i donno how to write code for a mission. not even a basic idea of how to start with it. (for eg. mission is to shoot X ppl in some Y time). shud i hav to hard code in the update method or write mission details in a separate data file and read from it, and check for condition... pls pls pls some one help me on this...

                  Known is a Drop, UnKnown is an Ocean More about me at http://in.geocities.com/slagio2002/me.html

                  B Offline
                  B Offline
                  benjymous
                  wrote on last edited by
                  #8

                  It's worth having a browse of the XNA community forums - there's lots of good stuff there: http://forums.xna.com/forums/[^]

                  Help me! I'm turning into a grapefruit! Buzzwords!

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups