Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

122 Neutral

About bourdett

  • Rank
  1. I'm just starting to learn directx and I have made a window that draws something in directx, but I use mouseDown event so that when the mouse is clicked inside the form i want it to bring up an openFileDialog box. I used .net control for that. It works ok the first time but the second time it totally freezes the program. Can i use .net controls like openDialog with in a directx app? Jason
  2. I'm trying to slowly learn about game programming and I have a question about moving around an isometric map. I have created all my tiles and I'm using GDI+ to draw all my tiles to the screen forming my game map. My game map is however bigger then the viewable screen so what I want to do is say when a player gets near the edge then redraw the screen showing more of it. Right now when this happens I'm shifting the whole map by 1 tile and redrawing the map which seems to work but but since my tiles are 100 pixels in width then when a user is near the edge all of a sudden the whole map has shifted 100 pixels. How can I make this transition more smooth like only shifting the whole map by a few pixels at a time. Thanks Jason
  3. bourdett

    building a 2d isometric land

    I have created a 2d isometric game map using tiles and now I'm trying to move around my map..when i go near the edge of the map I want to redraw the map to show new parts of the map however the screen flicker a good bit while this happens. I'm using GDI+ and it say in MSDN that double buffering will fix this but it didnt work for me. this.Setstyle(Controlstyles.DoubleBuffer, true ); this.Setstyle(Controlstyles.UserPaint, true ); this.Setstyle(Controlstyles.AllPaintingInWmPaint, true); this.Updatestyles(); I set double buffering on the form, but I wonder if the problem is that I'm using a panel control to do all my GDI + drawing in. When I set double buffering on a form does that include all object on the form(ie my panel). I cant set double buffer on a panel( i tired). What else could cause this flicker? Any ideas? Thanks Jason
  4. What is the best way to build an isometric game map using C#. I was thinking one of 2 ways. Load a bunch of tiles into an array and then use GDI+ to just draw them to the screen as a game map. Or do I need to do something with directx? I dont no much about directx so please bear with me on that. Thanks Any good tutorials or sample code would be great. Jason
  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!