Joined: May 12, 2005 Posts: 976 Location: Seaside, England
Posted: Sun Dec 10, 2006 5:11 pm Post subject:
games programming is by no means easy. As i suggested take a look at the source code for an app such as DVD2XBOX that will give you a feel for creating static screen layouts then you can start to move onto the thousands of lines of code required to get moving characters
Thor1983 Xbox-HQ Experienced
Xbox Version: 1.6,1.0,and 1.1 Modded: softmod w/splinter cell
Joined: Mar 13, 2006 Posts: 132 Location: New York
Posted: Sun Dec 10, 2006 9:01 pm Post subject:
lol yeah i realize that now hehe...took a bit of looking around at actual code to figure out that it wasnt gonna be as simple as i thought. although the one thing im wondering about is the coding its self...does it really matter if i code in C++? why cant i code in C# i seem to understand that format much better. does C# have the ability to use the DirectX 3D? those are just a couple of the questions on my mind atm hehe. im really interested in this stuff but i just hope its not gonna take years upon years b4 i learn to make my first game..even if it is a crappy 2D game or worse yet one of those text games were you type "go north, go south, go east, or go west" lol
ill ttyl guys, thanks for your interest in my topic
\m/Thor\m/ _________________ If you wanna check out some of my music go to http://www.myspace.com/4evertrying Ill appreiciate your support.
I love Halo 2. If anyone wants to play me online you can find me on Xlink Kai Evo VII. My screen name is Thor1983 (big suprise!! lol)
pezzar V.I.P. Lifetime
Xbox Version: V1.6 Modded: Xenium Gold OS v2.3.1
Joined: May 12, 2005 Posts: 976 Location: Seaside, England
Posted: Fri Dec 15, 2006 8:09 pm Post subject:
have you thought about trying ur hand at VB first off before delving into more complex languages
Thor1983 Xbox-HQ Experienced
Xbox Version: 1.6,1.0,and 1.1 Modded: softmod w/splinter cell
Joined: Mar 13, 2006 Posts: 132 Location: New York
Posted: Tue Dec 19, 2006 6:09 am Post subject:
idk man. i tinkered around with something back when i was 13 on a Tandy computer...i had the Tandy with the orange and black screen lol. anyway the coding looked something like this:
10 goto line 30
20 run
30 goto line 20
^pretty crappy example but i typed in hundreds of lines of this and finally i could play a game or use a paint program. i never had disks or anything to save the program to so everytime i wanted to use it i had to type for hours lol. idk what that language is though. i had a Mattel Aquarius too. i always liked playing that Advanced Dungeons n Dragons game for that. ive been wondering if i could find the source code for that game. and on another note...does anyone know the name of the game Tom Hanks plays on the movie BIG? the game with the evil ice wizard and he has to throw the thermal pod?
let me know if that ^ is VB
ttyl
\m/Thor\m/ _________________ If you wanna check out some of my music go to http://www.myspace.com/4evertrying Ill appreiciate your support.
I love Halo 2. If anyone wants to play me online you can find me on Xlink Kai Evo VII. My screen name is Thor1983 (big suprise!! lol)
pezzar V.I.P. Lifetime
Xbox Version: V1.6 Modded: Xenium Gold OS v2.3.1
Joined: May 12, 2005 Posts: 976 Location: Seaside, England
Posted: Wed Dec 20, 2006 3:01 pm Post subject:
no vb.net looks more like this
Code:
Function startProcess(ByVal BatPath, ByVal BatFile)
Dim install = New Process
If File.Exists(BatPath & BatFile) Then
install.EnableRaisingEvents = True
install.StartInfo.Arguments = BatPath & BatFile
install.StartInfo.FileName = "CMD.EXE"
install.StartInfo.WindowStyle = _ System.Diagnostics.ProcessWindowStyle.Normal
install.StartInfo.WorkingDirectory = BatPath
install.Start()
install.WaitForExit()
install.close()
Else : MessageBox.Show("File '" & BatPath & BatFile & "' does not exist!" & vbCrLf _
& vbTab & vbTab & " Check the file and try again", "Check file")
End If
End Function
Public Class Frm_main
Inherits System.Windows.Forms.Form
Private Sub Btn_exit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn_exit.Click
Application.Exit()
End Sub
the use of goto is considered bad programming and ideally should not be used
Thor1983 Xbox-HQ Experienced
Xbox Version: 1.6,1.0,and 1.1 Modded: softmod w/splinter cell
Joined: Mar 13, 2006 Posts: 132 Location: New York
Posted: Thu Dec 21, 2006 2:03 am Post subject:
hmmm if you look at that closely it kind of looks like algebra doesnt it. the IF, THEN statements. idk about all of this coding stuff anymore. having some gf problems and idk if i can concentrate on something like this for a while maybe later. thanks for the help though
\m/Thor\m/ _________________ If you wanna check out some of my music go to http://www.myspace.com/4evertrying Ill appreiciate your support.
I love Halo 2. If anyone wants to play me online you can find me on Xlink Kai Evo VII. My screen name is Thor1983 (big suprise!! lol)
pezzar V.I.P. Lifetime
Xbox Version: V1.6 Modded: Xenium Gold OS v2.3.1
Joined: May 12, 2005 Posts: 976 Location: Seaside, England
Posted: Sun Dec 24, 2006 8:54 am Post subject:
Thor1983 wrote:
hmmm if you look at that closely it kind of looks like algebra doesnt it. the IF, THEN statements. idk about all of this coding stuff anymore. having some gf problems and idk if i can concentrate on something like this for a while maybe later. thanks for the help though
\m/Thor\m/
the IF...THEN are basic iteration statements in any programming language (along with the FOR loop). Until you can read and understand these you'll have no success games programming as loops and conditions are what you would use to control character generation/movement. Best thing is to keep reading
Thor1983 Xbox-HQ Experienced
Xbox Version: 1.6,1.0,and 1.1 Modded: softmod w/splinter cell
Joined: Mar 13, 2006 Posts: 132 Location: New York
Posted: Sun Dec 24, 2006 10:24 am Post subject:
i think this stuff is pretty amazing though. cause you never see any of this while youre playing the games. i guess thats what they call "private" right. but although this stuff is interesting and amazing...its hard to understand! lol. like alot of things i wish it was one of those things you could just understand overnight but its not. guess i have some reading to do huh lol.
Merry Christmas!!!!
\m/Thor\m/ _________________ If you wanna check out some of my music go to http://www.myspace.com/4evertrying Ill appreiciate your support.
I love Halo 2. If anyone wants to play me online you can find me on Xlink Kai Evo VII. My screen name is Thor1983 (big suprise!! lol)
pezzar V.I.P. Lifetime
Xbox Version: V1.6 Modded: Xenium Gold OS v2.3.1
Joined: May 12, 2005 Posts: 976 Location: Seaside, England
Posted: Sun Dec 24, 2006 6:33 pm Post subject:
Thor1983 wrote:
you never see any of this while youre playing the games. i guess thats what they call "private" right.
no, its called compiled source code. why would you want to play a game that showed you thousands of lines of source code
Thor1983 wrote:
10 goto line 30
20 run
30 goto line 20
what you show above is old BASIC or QBASIC high level language. This is not a compiled language but an interpreted. The interpreter converts the code at runtime (program executon will be slow) whereas with VB.net, C#, C++,VB, etc they are all compiled so u have a .EXE which is the main executable. No code conversion takes place as it is already done
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum