PDA

View Full Version : I was wondering...


JudgementXD
07-18-2006, 04:37 PM
Hey guys I was just wondering if u can actually program games in Microsoft Visual C# cause I was having some doubts when some1 told me I can't...
I was also wondering if u need to know all the Integer, Boolean and Double stuff to be a game programmer.
Anyways thx in advance!

TwitcH
07-18-2006, 05:15 PM
Hey guys I was just wondering if u can actually program games in Microsoft Visual C# cause I was having some doubts when some1 told me I can't...

Yes you can (and good ones too)

I was also wondering if u need to know all the Integer, Boolean and Double stuff to be a game programmer.
Anyways thx in advance!

Yes you do

JudgementXD
07-18-2006, 11:16 PM
KK thx for clearing up my doubts TLM and I've got another question-not about programming- could some1 plz give me the GIMP site? Cause Naruto 123 told me that the GIMP software was good for making complex sprites. Thx in advance.

Mossa TheGreat
07-19-2006, 10:04 PM
Between you and me I would says that it is all about preference. Some might says that C++ is faster, others mean that C# can be even faster and cleaner, if your a good programmer, but I believe the same goes for C++.

To make GREAT 3D Games with animation and high level rendering and such things, you need to know MORE then the boolean and variable things. You need to have a mathematic level worthy university to do that, and also you need to be able to... Use API's and stuff equaly.

XceeD
07-19-2006, 10:57 PM
Just a question about C# and C++.
Do they have pointers and stuff in C#? And is the print thing cout?
Cuz I don't like C++ basically because of that... 1) pointers are wierd, something out of the ordinary and is confusing and 2) cout is... wierd xD

And what's the difference between C# and C++ (besides company or w/e).
Cuz if C#'s easier, I'll learn C#!

JudgementXD
07-19-2006, 11:56 PM
Xceed I can't answer all your questions but C# is different from C++ because it is more modern, therefore it is suppossed to be an improvement over C++. This is practically all I know because I just started learning C# and I haven't learned C++ yet (and I probably will never learn it)

P.S. R u saying that if I want to become an accomplished programmer I have to do Maths in university!?!?!? and what else must I learn thoroughly?

TwitcH
07-20-2006, 02:04 AM
You dont need university level maths to program, but if you want to program like a pro then yes alot of high level maths is needed. Making a game as far as I can see only requires as much maths as you intend it to, in short more detail = more maths.

XceeD
07-20-2006, 02:26 AM
I looked into a C# code and (to me, at least) it looks like java :/...
C#:
using System;
class HelloCsharp
{
public static void Main()
{
Console.WriteLine("Hello CSharp World");
}
}

Java:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}

They look... pretty similar... Well, I know that C++ was before Java (at least I think so :confused: ) and C# is after Java and made my microsoft. So, I didn't really not expect it not to be different.

TwitcH
07-20-2006, 03:45 AM
*shudders*

There horrid.

*cuddles up to C*

naruto1327
07-20-2006, 03:57 AM
KK thx for clearing up my doubts TLM and I've got another question-not about programming- could some1 plz give me the GIMP site? Cause Naruto 123 told me that the GIMP software was good for making complex sprites. Thx in advance.

Its Naruto1327... _ _|||

At least say naruto-jumble-of-numbers! :p

Anyway heres the link to "The GIMP".
http://gimp-win.sourceforge.net/stable.html

1. Download the file, GTK+ 2 Runtime Environment (version 2.8.18, for Windows 2000 and newer) and run the .exe file, follow further instructions.

2. Download the file, The GIMP for Windows (version 2.2.12) and run the .exe file, follow further instructions.

3. You know the rest, just follow further instructions.

Have any questions, ask here.

Eriond
07-20-2006, 04:04 AM
*shudders*

There horrid.

*cuddles up to C*

LOL... I feel exactly the same way ^_^

JudgementXD
07-20-2006, 10:10 AM
Lol sorry naruto 1327 but I was close enough wasn't I? Anyways thx for the Gimp site, I downloaded it but it looks NOTHING like MS Paint. When I choose the pencil it draws stuff out in a very strange way-not pixel per pixel....I'm gonna try to get help from their site otherwise meh I'll stick with MS Paint XD.
Finally when u say the more detail the more maths about how much maths would I need to know for making a 2D game such as Sonic Advance but in MMO version?

P.S. Don't tell me copyright infringement cause i'll use different character names and my own sprites =P

naruto1327
07-20-2006, 10:52 PM
What do you mean "maths"?

Anyway theres a pencil and a paintbrush. On default, they both have anti-aliasing, which sometimes is a good thing, and sometimes is a bad thing. There should be a checkbox somewhere that says "Anti-aliasing" or something, check that out. It takes a while to get used to The GIMP because the GUI is defferent from Photoshop.

JudgementXD
07-20-2006, 10:58 PM
Em..Naruto how can I explain maths? like Mathematics...U know Variables Constants multilication and such...I can't get any deeper than that. ANyways thx for the reply =D

XceeD
07-21-2006, 03:44 PM
(why did you say maths on your post, it's math xD)
and for a game like sonic, you don't really need that high level of math :/. It doesn't really have much relating to physics (cuz, think about it... physics+sonic... c'mon!). I would say the max of math you'll need in sonic is addition, subtraction, multiplication, division, maybe a little of trigonometry...

Since I'm a Flash Programmer (I think that's how you spell it :/), I've experimented a lot with 2d side-scrollers. If you're going to make a game like sonic, you'll need to know hittest (pretty accurate ones too, I can give an example of one), controlling the walking system, acceleration (+ decceleration), and a lot of spriting skills.
Hittest is by far the most important because without it, you can't detect if sonic is on the floor or not. If he is on the floor, he shouldn't fall further, that kinda stuff.
You'll need a good walking system for this because sonic accelerates when he walks and can go into the bally mode (I think, not sure). Also, he can "charge" up for a roll attack or something...
Acceleration is needed for gravity and speeding up and all. It's really easy, just something like:
if(conditionforjump)
{
acceleration=10
}
acceleration-=1
_y-=acceleration
(Flash has a upside down coordinate plane right is positive-x, down is positive-y, so _y-=[positive] makes him go up)
Lastly, you'll need a lot of sprites, for sure... And you'll need to know how to control them.

But if you're asking about math, you don't really need too much xD, don't worry about that.

P.S. You'll need trig (most likely) to make him roll around that circley ring thing.

JudgementXD
07-21-2006, 03:52 PM
Phew I can leave maths next year! And yes I said mathS because the normal way is mathematics, abbreviated it's mathS!! Lol anyways I don't care which way u guys abbreviate it I still understand it XD. Anyways thx for your help Xceed. I'm still working on sprites..it's hard especially because they're EXTREMELY complex...anyways when I form a team (which will be a long time from now)I'll have at least one extra spriter cause I can't possibly do ALL of the spriting and some of the programming, that would be insane XD.
And in a ny case if I did need physics I wouldn't mind cause I'm pretty good at it.

naruto1327
07-21-2006, 10:35 PM
If you want to make animated sprites with the GIMP, pretend to layers are frames. mess around with all the options and buttons and whatnot on the GIMP, and I think you'll do fine...