Click here to Skip to main content
15,887,485 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: modify a Variable in a specific line in a text file Pin
Dave Kreskowiak24-Nov-09 9:40
mveDave Kreskowiak24-Nov-09 9:40 
AnswerRe: modify a Variable in a specific line in a text file Pin
Luc Pattyn24-Nov-09 10:39
sitebuilderLuc Pattyn24-Nov-09 10:39 
GeneralRe: modify a Variable in a specific line in a text file [modified] Pin
IvanIT25-Nov-09 3:30
IvanIT25-Nov-09 3:30 
GeneralRe: modify a Variable in a specific line in a text file Pin
IvanIT25-Nov-09 6:26
IvanIT25-Nov-09 6:26 
GeneralRe: modify a Variable in a specific line in a text file Pin
Luc Pattyn25-Nov-09 6:28
sitebuilderLuc Pattyn25-Nov-09 6:28 
GeneralRe: modify a Variable in a specific line in a text file Pin
IvanIT30-Nov-09 5:24
IvanIT30-Nov-09 5:24 
GeneralRe: modify a Variable in a specific line in a text file Pin
Luc Pattyn30-Nov-09 5:38
sitebuilderLuc Pattyn30-Nov-09 5:38 
QuestionErasing GraphicsPath Pin
O.G.I.24-Nov-09 4:26
O.G.I.24-Nov-09 4:26 
Hi everybody
I'm currently developing a 2D RPG game like diablo 2. And this year I finally finished the physics engine Smile | :) .
For drawing the objects I use GDI+. Now I'm working on the level editor and I want to give more freedom for the level designers like giving them the option to decide by their own which regions of the map shall be impassable. The point is to give them a pen tool which they can use to freehand draw the impassable regions - something like Microsoft inkball game(http://www.windowsvistauserguide.com/vista2/games/inkball3.JPG) where you draw a line and when the ball touches the line it bouns from it. For that pen tool I use System.Drawing.Drawing2D.GraphicsPath function - the problem I have is that I don't know how to provide to the level designer a tool for erasing the created impassable regions - do you know a way to erase part of graphic created with System.Drawing.Drawing2D.GraphicsPath function? I've read an article where you can "erase" the created line by drawing another one with the same background color as the containing control but it just didn't work in my case because for background I don't have a solid color but a complex bitmap texture and objects like units and buildings.
Please help, thank you in advance and sorry for my bad english.
AnswerRe: Erasing GraphicsPath Pin
Dave Kreskowiak24-Nov-09 7:24
mveDave Kreskowiak24-Nov-09 7:24 
QuestionCount lines in Textfile after Insert Pin
IvanIT24-Nov-09 2:28
IvanIT24-Nov-09 2:28 
AnswerRe: Count lines in Textfile after Insert Pin
dan!sh 24-Nov-09 3:03
professional dan!sh 24-Nov-09 3:03 
GeneralRe: Count lines in Textfile after Insert Pin
IvanIT24-Nov-09 3:07
IvanIT24-Nov-09 3:07 
GeneralRe: Count lines in Textfile after Insert Pin
Dave Kreskowiak24-Nov-09 3:45
mveDave Kreskowiak24-Nov-09 3:45 
GeneralRe: Count lines in Textfile after Insert Pin
IvanIT24-Nov-09 4:01
IvanIT24-Nov-09 4:01 
AnswerRe: Count lines in Textfile after Insert Pin
Shameel24-Nov-09 4:17
professionalShameel24-Nov-09 4:17 
GeneralRe: Count lines in Textfile after Insert Pin
IvanIT24-Nov-09 4:41
IvanIT24-Nov-09 4:41 
GeneralRe: Count lines in Textfile after Insert Pin
Shameel24-Nov-09 5:24
professionalShameel24-Nov-09 5:24 
QuestionSerial Port Signal to a VB.NET program (rs232) Pin
jamith24-Nov-09 1:07
jamith24-Nov-09 1:07 
AnswerRe: Serial Port Signal to a VB.NET program (rs232) Pin
The Man from U.N.C.L.E.24-Nov-09 2:00
The Man from U.N.C.L.E.24-Nov-09 2:00 
QuestionCalling properties of one Form1 into another Form2. Pin
jeshra27923-Nov-09 18:01
jeshra27923-Nov-09 18:01 
AnswerRe: Calling properties of one Form1 into another Form2. Pin
Johan Hakkesteegt23-Nov-09 20:10
Johan Hakkesteegt23-Nov-09 20:10 
GeneralRe: Calling properties of one Form1 into another Form2. Pin
jeshra27923-Nov-09 22:14
jeshra27923-Nov-09 22:14 
GeneralRe: Calling properties of one Form1 into another Form2. Pin
Johan Hakkesteegt23-Nov-09 22:28
Johan Hakkesteegt23-Nov-09 22:28 
GeneralRe: Calling properties of one Form1 into another Form2. Pin
The Man from U.N.C.L.E.24-Nov-09 1:55
The Man from U.N.C.L.E.24-Nov-09 1:55 
GeneralRe: Calling properties of one Form1 into another Form2. Pin
jeshra27930-Nov-09 18:58
jeshra27930-Nov-09 18:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.