|
-
Oct 26th, 2013, 02:26 PM
#10
Member
Re: GDI+ For Beginners
Public Class Form1
'Image variables
Private m_BallImage As Bitmap = My.Resources.ball
Private m_PaddleImage As Bitmap = My.Resources.paddle
Private m_BackgroundImage As Bitmap = My.Resources.background
'Variables
Private m_BallLocation As Point = New Point(0, 0)
Private m_BallDirection As Point
Private m_Paddle1 As Integer = 0
Private m_Paddle2 As Integer = 0
'Load handler
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
End Sub
End Class
This is interesting, how ever if you want a vertex graphics drawn ship, how do you get that moving around?
Almost all graphics used in 2D games are usuall bitmap.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|