AArnie
asked on
vb .net graphics - newbie question...
Hi,
I am attempting to write a simple program that will allow me to just move an image around the screen - just like a simple asteroids type effort -. I wrote a basic one a few months ago in Javascript as an exercise, but his one uses VML and a basic triangle for the "ship". I amtrying to convert it into vb .net, but instead of a triangle I would like to use an image. I have tried using a bitmap, which sits in a picturebox, but when the image is rotated, the picturebox doe not rotate (not surprising really). Am I able to rotate the picturebox, or am i barking up the wrong tree. Should I be using sprites(? examples) or something else? I only seem to be able to display the bmp within the picturebox - are there any other methods.
I don't want to get into directx etc, at the moment, i would rather start off at the beginning - i'm not trying to build the next Half Life!
Cheers
AArnie.
I am attempting to write a simple program that will allow me to just move an image around the screen - just like a simple asteroids type effort -. I wrote a basic one a few months ago in Javascript as an exercise, but his one uses VML and a basic triangle for the "ship". I amtrying to convert it into vb .net, but instead of a triangle I would like to use an image. I have tried using a bitmap, which sits in a picturebox, but when the image is rotated, the picturebox doe not rotate (not surprising really). Am I able to rotate the picturebox, or am i barking up the wrong tree. Should I be using sprites(? examples) or something else? I only seem to be able to display the bmp within the picturebox - are there any other methods.
I don't want to get into directx etc, at the moment, i would rather start off at the beginning - i'm not trying to build the next Half Life!
Cheers
AArnie.
Use Truevision3D. Best DX/VB add-in out there IMO. Piece of cake to use in both VB6 and VB.NET. Go to www.truevision3d.com
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And i am certain that you can Find what you need on www.planetsourcecode.com , good luck :)