Ok first of all, epic fail with the drawing method, but im not goint to be an average troll, heres some help: 'Create a picture box on ur form (300 x 300) and a timer set interval 1 - 20, u decide and enabled = true Imports System.Drawing.Imaging Public Class Form1 Dim output As New Bitmap(300, 300) Dim e As Graphics = Graphics.FromImage(output) Sub drawScreen() handles Timer1.tick picturebox1.image = output End Sub End Class Work out the movement by your self. But IMAGE = QUICKER THAN FORM!
Yeah I could have double bufferd it by drawing to a seperate image then drawing that on, it is much faster, and i use that method in Java.
This was coded well over a year ago, since then i have learned a whole lot more and yes i do know my method was bad, there are much better ways like you said.
Havent touched VB for probably a 10 months or so now, mainly now its just PHP, Java and sometimes C#
wouldn't it help if for every one object you drew, two came out, but one is invisible, the invisible one moves a bit lower than the other one, becomes visible then the other one goes invisible. Repeat
i create a 2D phisic engine (only square object) in vb net with collision and a special "portal" like the game half life 2: Portal and it go much fast !!!
Ipersonality, using multiple controls limits how many I can draw. Each will have to have their own code. And it will probably still blink. Sometime in the summer if I have time I will seee if I can fix it
This has been flagged as spam show
i have a source code for the pacman game in my channel pls check it out. =)
MrCybergasm 10 months ago
Change the Default Setting on the main form 'DoubleBuffered' to true, that wil reduce the flickering :]
DSWTutorials 1 year ago
nice flashing with those squares... maybe try to draw them into a buffer first and then show in form
Wegzo 1 year ago
FlowWebDesign 2 years ago
Yeah I could have double bufferd it by drawing to a seperate image then drawing that on, it is much faster, and i use that method in Java.
This was coded well over a year ago, since then i have learned a whole lot more and yes i do know my method was bad, there are much better ways like you said.
Havent touched VB for probably a 10 months or so now, mainly now its just PHP, Java and sometimes C#
Bncplix 2 years ago
wouldn't it help if for every one object you drew, two came out, but one is invisible, the invisible one moves a bit lower than the other one, becomes visible then the other one goes invisible. Repeat
theonethatthinks 2 years ago
No, just use my method /\, and then draw a clear square over it then draw object slightly lower down
'Clears ur screen
e.FillRectangle(Brushes.White, 0, 0, 300, 300)
msg me for more help...ive had alot of practice with GDI
FlowWebDesign 2 years ago
Not to mention the video delay of the recorder
Bncplix 2 years ago
@Bncplix seems pretty good for the movement speed of your mouse and the numbers above
cheatonly2win 1 year ago
ummm... very slow!!!
i create a 2D phisic engine (only square object) in vb net with collision and a special "portal" like the game half life 2: Portal and it go much fast !!!
TheCaspel 2 years ago
Ipersonality, using multiple controls limits how many I can draw. Each will have to have their own code. And it will probably still blink. Sometime in the summer if I have time I will seee if I can fix it
Bncplix 2 years ago
You can create that dynamically way, so the blinking would go away! Not by drawing, but dynamically, with code!
iPersonality 2 years ago
umm i am making it all dynamically through code, check out the source which can be found on the site in the link on the siebar
i probably can fix it now that i know how to double buffer in java but i just dont have time
Bncplix 2 years ago
I'm sorry, I supposed to say that why to draw them, when you can copy new controls...
iPersonality 2 years ago
Actually, another way is to remove the ones that have already hit the ground all together from the initial move and check array
Bncplix 3 years ago
try to set
AutoRedraw = True
Mihawkler 3 years ago
Thanks but that was already tried
Bncplix 3 years ago