Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Everything posted by mcaccountman

  1. Hi, I've recently been in love with a game called Mount & Blade Warband and i wanted to see if it is fine to make games with Python or if it causes problems or is inefficient. Thanks!
  2. Hello, Im trying to find an easier way for making a decent amount of things visible / not visible. Preferrably an array that contains the names of said things but im not sure. This is what the redundant code is --     button1.Visible = false;                     button2.Visible = false;                     button3.Visible = false;                     button4.Visible = false;                     pictureBox1.Visible = false;                     pictureBox2.Visible = false;                     pictureBox3.Visible = false;                     pictureBox4.Visible = false;   -- just trying to find a more efficient way than to copy and paste it over and over again and change the name. thanks!
  3. Well as everyone knows you are supposed to make C# games in XNA or Unity. But for me i find it 10x more interesting doing it with the c# framework by itself. Is this bad or will the game be possible without the fancy enxtensions?
  4. Hey, im making pathfinding for c# and understand the algorithm but the code is confusing.  How would i be able to devide the amount of set space and make rectangles using graphics that are 50 , 50 pixels and fill the area if the area is a multiple of 50? Im not using XNA or Unity.
  5. mcaccountman

    Unity Need help with pathfinding C#

    Please be more descriptive. Im trying to make it so there is 44 tiles (i did the math) each 50 by 50 pixels. I want them all named from 1 to 44 using possibly a  loop. Im not sure how loops (or any commands beside manually naming it like (new Rectange recty;)) can be used to name things but if you can find that out it will be extremely helpful.
  6. mcaccountman

    Unity Need help with pathfinding C#

    Guys, All i need is a algorithm to make 50, 50 width and height rectangles that fit into a 1000 , 1000 pixel form. i want to name the tiles so that in different locations it could set a boolean for the tile to be unable to pass or not. It is a 2d game. No xna or Unity. all i want is to make multiple rectangles like new Rectangle blah (blah blah) exept without me having to do it a bunch of times.
  7. mcaccountman

    Unity Need help with pathfinding C#

    Also preferably a list of the rectangles name in listing them like "myTile1" "myTile2" "myTile3" ect.
  8. mcaccountman

    Unity Need help for game. C#

    Im aiming for c# without the game extensions like XNA or Unity. Just plain c# and graphics, such as     e.Graphics.DrawRectangle(new Pen(Color.Black), daleTalkRadius);                 daleTalkRadius.Location = new Point(dalex - 100, daley - 70);                 e.Graphics.FillRectangle(new SolidBrush(Color.PeachPuff), entityDale);                 e.Graphics.FillRectangle(new SolidBrush(Color.PeachPuff), entityThief);                 entityDale.Location = new Point(dalex, daley);                 entityThief.Location = new Point(thiefwalkx, thiefwalky);
  9. mcaccountman

    Unity Need help for game. C#

    Thanks! For me im not sure why but i find it easier o_O
  • 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!