well, i'm trying to make a small game involving shooting arrows at targets, and i'm trying to implement the first part (shooting the arrow) I've made some relatively simple code
Bitmap bit = new Bitmap(this.Width, this.Height);
Graphics g = Graphics.FromImage(bit);
Graphics form = this.CreateGraphics();
pntPoints[0] = this.pictureBox1.Location;
pntPoints[1] = new Point(100,300);
pntPoints[2] = new Point(200, 150);
g.DrawCurve(p, pntPoints);
form.DrawImage(bit, 0, 0);
bit.Dispose();
g.Dispose();
using a bitmap and drawing it to the form (so it can be erased later) and using the random numbers to demonstrate a curve, and from what i can gather, the first point should be where my picturebox is, the second point at (100,300) and the third point at (200,150), meaning I should get a curve going up and then down, however i'm getting a curve that only goes up. Can anyone explain why? thanks :)