Minigame in C#
Posted: Sun Nov 15, 2009 8:49 am
Hello everybody,
I am kinda new to programming and thanks to GyroVorbis and his youtube videos also new to this forum.
My first - and so far only programming language is C# and i hope i will be able to make a few little games with even when i am still in the progress of learning C#.
I already played around with microsoft tutorials, using Visual Basic C# 2005 Window applications (first GUI steps) and now i want to try a project which includes moving objects for the first time
So the thing is, i just want to make a little charakter, even if its just a colored pixel, which is moving around (without lagging) and "shooting" random appearing objects - so to say a kind of space invaders without complex KI or anything :d (for now..)
Now i already got my little Charakter moving (and it ineed is a colored pixel moving around) but its lagging like hell! so i think i already started totally wrong.
What i did is following:
I created a "simpleOpenGLcontrol" and made it move by clicking "w a s d" and by "w+a, w+d,d+s,s+a," (8 -direction movement) and thats it so far
So my question is:
-is the use of OpenGl necessary for such a kind of "game" ?
-do i have to work with coordinates (x,y) to make it move flawless? (currently its not used)
Well thats it for now since there is not enought code to discuss anything else yet.
//Excuse my english grammar but i am german and i gave it my best shot (!)
I am kinda new to programming and thanks to GyroVorbis and his youtube videos also new to this forum.
My first - and so far only programming language is C# and i hope i will be able to make a few little games with even when i am still in the progress of learning C#.
I already played around with microsoft tutorials, using Visual Basic C# 2005 Window applications (first GUI steps) and now i want to try a project which includes moving objects for the first time
So the thing is, i just want to make a little charakter, even if its just a colored pixel, which is moving around (without lagging) and "shooting" random appearing objects - so to say a kind of space invaders without complex KI or anything :d (for now..)
Now i already got my little Charakter moving (and it ineed is a colored pixel moving around) but its lagging like hell! so i think i already started totally wrong.
What i did is following:
I created a "simpleOpenGLcontrol" and made it move by clicking "w a s d" and by "w+a, w+d,d+s,s+a," (8 -direction movement) and thats it so far
So my question is:
-is the use of OpenGl necessary for such a kind of "game" ?
-do i have to work with coordinates (x,y) to make it move flawless? (currently its not used)
Well thats it for now since there is not enought code to discuss anything else yet.
//Excuse my english grammar but i am german and i gave it my best shot (!)