xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Special Limited Offer: SuperNews Unlimited Usenet Access, Unlimited Speed for $11.99
256-bit SSL, 350 Days Retention, 30 Connections - Join Today! - ONLY $11.99

Support this site - buy the X-Scene Tshirt $17.95


Welcome Guest ( Log In | Register )

 Forum Rules Rules
4 Pages V  1 2 3 > »   
Reply to this topicStart new topic
> Where To Get Started Programming For The Xbox, Where to get started programming for the
jippie
post Apr 15 2003, 07:49 AM
Post #1


X-S X-perience
**

Group: Members
Posts: 316
Joined: 2-October 02
Member No.: 4553



Couple of weeks ago I sent a message in the forum about me coding minesweeper for fun.
Now I get a least 1 message a day asking for help, where to get started.

Most of what I know I learned from here http://www.xfactordev.net. There are some really good tutorials.
There is also some source code for xinvaders on this site. I read this to understand a bit.

If you have done anything in directx before then you have no problem. It is the same.
If you are new to directx then don't bother with the XBOX YET!!
Just code stuff in the directx on your PC, it much quicker.

This is a site good for this http://www.xbdev.net/ for both Xbox & PC tutorials.

Start with the PC stuff at the beginning with the most simple tutorial.
Understand it before you move on, it will make you life easier later on. Trust me :-)

Google search for loads more http://www.google.com/search?hl=en&q=direc...ctx%20tutorials

nexe & andypick are both good sites for the PC. Use them.

In the XDK itself, there are loads of examples, and they are good to play with.
X:\Program Files\MS Xbox SDK\Samples\Xbox\Graphics\Tutorials

Three weeks ago is the first time I have started anything in Directx.
And I have almost finished two games. You must start simple. Don't start thinking you going to code QUAKE4, you are not. Think of a simple game and try.

I have 10 year of C programming, almost no C++. Not a lot of programming on the PC.
No maths, so a lot of the time I get very lost in what is going on.
It will take a long time, a lot of frustrations. But it can also be a lot of fun.

I started badly as I never used the XDK examples/XTL framework.
Use it!!

Edit: Visual Basic is a no no for XBOX, if you aim is to code on the xbox then you will never be able to code with Visual Basic.

Good luck and here are the links:
Fr*shgloop - wishi's site, with source code
xfactordev - one of the best but not updated anymore sad.gif

Freakdave made a good comment, we are talking DirectX + C, but what maybe is a good step is SDL + C
http://www.lantus-x.com/SDLx/
I would think it is a lot easier to get started. I found DirectX fun and I had been wanting to learn it.
SDL has been around for a long while. There is a lot of good games + scores out there to play with.


jippie

PS maybe someone can add stuff to explain the debug bios??

This post has been edited by jippie: Apr 30 2004, 06:06 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wishi
post Apr 26 2003, 09:39 AM
Post #2


X-S X-perience
**

Group: Members
Posts: 300
Joined: 17-November 02
Member No.: 9163
Xbox Version: v1.0



BTW, XFactorDev.Net and xbdev.net is kinda the same thing but the XFactorDev.Net is solely for Xbox and so will have Xbox specific features etc.

Just wanted to let everyone know that after an extended break of ... too long, we're now updating the site pretty regularly with new tutorials and classes.

Oh, and if you want to speak to any of us, we're in #xfactor on EFnet.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wishi
post Apr 26 2003, 01:54 PM
Post #3


X-S X-perience
**

Group: Members
Posts: 300
Joined: 17-November 02
Member No.: 9163
Xbox Version: v1.0



Yes, MS don't give it away, but it's around.... *he says mysteriously (or not)*

When, if, OpenXDK reemerges we'll gladly start supporting but at the moment, it's pretty useless for any serious software.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
rhonk
post Jul 4 2003, 01:18 AM
Post #4


X-S X-perience
**

Group: Members
Posts: 335
Joined: 18-May 03
Member No.: 38763
Xbox Version: v1.0



heh, right now im trying to port dosrar to the xbox tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
atombomb
post Jul 10 2003, 08:55 PM
Post #5


X-S Enthusiast


Group: Members
Posts: 12
Joined: 14-January 03
Member No.: 19616



Hello folks..

I´m trying to learn to use DirectX, and i have a problem.

I´ve read a couple of tutorials on how to start using DirX on PC. (The goal is programming the X-Box).
But the tutorials i´ve read refers to directxlibraries. (d3dx8.h,d3d8.lib,d3dx8.lib)

In the tutorial i read that i had to download headers and libraries from www.MS.com/directx.

I´ve looked allover the site, but found nothing. ohmy.gif
Downloaded directx9.0a (No header files included in package??) ohmy.gif

Can anybody out there help me ??

I have now search for 2 days after these files.
(The files must be top secret unsure.gif )

Best Regards
Terje.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
BenJeremy
post Jul 10 2003, 09:20 PM
Post #6


X-S Elysian
*************

Group: Head Moderator
Posts: 9649
Joined: 19-July 02
Member No.: 1853
Xbox Version: v1.1
360 version: v1 (xenon)





QUOTE (atombomb @ Jul 10 2003, 05:55 PM)
Hello folks..

I´m trying to learn to use DirectX, and i have a problem.

I´ve read a couple of tutorials on how to start using DirX on PC. (The goal is programming the X-Box).
But the tutorials i´ve read refers to directxlibraries. (d3dx8.h,d3d8.lib,d3dx8.lib)

In the tutorial i read that i had to download headers and libraries from www.MS.com/directx.

I´ve looked allover the site, but found nothing. ohmy.gif
Downloaded directx9.0a (No header files included in package??) ohmy.gif

Can anybody out there help me ??

I have now search for 2 days after these files.
(The files must be top secret unsure.gif )

Best Regards
Terje.

You need the DirectX SDK, not the runtimes (which are included)

Keep looking.... M$ offers the SDK for free. Start with msdn.m$.com
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
atombomb
post Jul 11 2003, 09:35 AM
Post #7


X-S Enthusiast


Group: Members
Posts: 12
Joined: 14-January 03
Member No.: 19616



Thanks !!

I´ve found it. laugh.gif

I was inside msdn yesterday, but missed the last chapter with the links. tongue.gif

Now i have to download and learn

Thanks again. rolleyes.gif

Terje
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
atombomb
post Jul 14 2003, 08:04 PM
Post #8


X-S Enthusiast


Group: Members
Posts: 12
Joined: 14-January 03
Member No.: 19616



Hello Again.

I´ve installed the DirectX SDK and Visual C++.

All the tutorials i have tested on internet does not work. blink.gif

(Yes, i think it is something wrong in my linkersettings).

I have newer used C++ before.

Linker says :

--------------------Configuration: Cube - Win32 Debug--------------------
Linking...
d3d1.obj : error LNK2001: unresolved external symbol _Direct3DCreate9@4
Debug/Cube.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Cube.exe - 2 error(s), 0 warning(s)

Its the same error if i use DirectX8 includefiles.

What went wrong for me ? huh.gif

Best Regards
Terje
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
atombomb
post Jul 14 2003, 09:23 PM
Post #9


X-S Enthusiast


Group: Members
Posts: 12
Joined: 14-January 03
Member No.: 19616



Hello !!

I´ve found the problem.

It look like it´s something wrong with the linker.

In options->directory i showed where the lib and include file for sdk is found.

But the linker does not se the lib files. blink.gif

So solve this problem by writing this line in the code.

#pragma comment(lib,"d3d8.lib") biggrin.gif

Okay. 0 errors. laugh.gif

Best Regards
Terje.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ZASADAR
post Aug 7 2003, 10:37 AM
Post #10


X-S Genius
****

Group: Members
Posts: 951
Joined: 14-July 03
Member No.: 49927
Xbox Version: v1.0



will it do me any good to learn to program direct x on visual basic then xbox?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
BenJeremy
post Aug 7 2003, 11:05 AM
Post #11


X-S Elysian
*************

Group: Head Moderator
Posts: 9649
Joined: 19-July 02
Member No.: 1853
Xbox Version: v1.1
360 version: v1 (xenon)





QUOTE (ZASADAR @ Aug 7 2003, 07:37 AM)
will it do me any good to learn to program direct x on visual basic then xbox?

Learn DirectX Programming using Visual C/C++ on the PC, then move to Xbox.

So your path is: VB -> VC/C++ -> DirectX(PC) -> Xbox
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ZASADAR
post Aug 12 2003, 09:12 AM
Post #12


X-S Genius
****

Group: Members
Posts: 951
Joined: 14-July 03
Member No.: 49927
Xbox Version: v1.0



aw man hehe ok well your the pro thanx man ill do that

so why is it so hard to program on xbox not enough tutorials?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
node
post Aug 12 2003, 08:47 PM
Post #13


X-S Young Member
*

Group: Members
Posts: 45
Joined: 3-January 03
Member No.: 16369



I'm a bit late with this reply.........but this topic is of intrest to me has i have modded my xbox my self and done the hd transplant on my dinner table smile.gif
NOw i would like to give somthing back to the scene smile.gif
i have read the threads with intrest, i was going to teach my self C and have taken out a book titled " C Programming in easy steps" by Mike Mcgrath from my local library.
How ever since reading the threads it seems like this would be like running before learning to walk.
Would i be better of learning vb.net if so can you recommend any books for a total beginner?
blink.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wishi
post Aug 13 2003, 10:00 AM
Post #14


X-S X-perience
**

Group: Members
Posts: 300
Joined: 17-November 02
Member No.: 9163
Xbox Version: v1.0



If you've got a book called "C Programming in easy steps", then it's probably gonna be at the right level for the absolute beginner I'd think. All I recommend is keep reading and trying. So what if you don't need some pointless calculator or classes which figure how many boxes can fit into other boxes, just keep trying.

And reading other people's code can help, but you'll be confused if you take a look at a complex app before you're ready. After you've finished that book, go down to the library and look for another.. and another. They'll probably cover similar topics but in different ways and it's always best to get a rounded view instead of relying on one author.

Persistence and determination is key.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
node
post Aug 13 2003, 02:25 PM
Post #15


X-S Young Member
*

Group: Members
Posts: 45
Joined: 3-January 03
Member No.: 16369



ohmy.gif That sounds like me Persistent and determined, all ways wanting to know how things tick over if u know what i mean.
Only one thing left do i start with c or visual basic.net ?
which would u recommend?
ps thanks for the rapid reply.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





4 Pages V  1 2 3 > » 
Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 9th February 2010 - 08:14 PM