Welcome Guest [Log In] [Register]
Welcome to Shadowed Revolutions. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Is Xbox really possible?; Considering C# porting
Topic Started: Jul 23 2008, 11:17 AM (110 Views)
Super_llama
Member Avatar
Game Engine Programmer
[ *  *  *  *  *  *  *  * ]
The more I look into it, the less I'm sure I can pull it off. SR on Xbox might not be possible until they expand XNA to VB. Currently, one can use XNA to make games for WINDOWS with VB, but in order to make XBox games you have to use C#. Switching to C# would be a huge change, and I would have to completely start over or port cyclone (porting would be better). Also when I think about Cyclone's current code, it could definately be optimized. Plus, I'm not sure if even C# can get Xbox games onto a disc. As far as I've seen, it only deploys them through a network... so I'm not sure if even THIS is possible.

I think that switching/porting Cyclone to C# would be a VERY wise decision, although it would be painful. C# is the current gaming language to use, and it's not really that dfiferent from VB.NET.

So do you think we should switch to C#? It would greatly increase the chances of Xbox availability as well as easy porting to PS3 in the future, and since Cyclone is such short code, it would be alot easier than it sounds.

I'm very reluctant to give up VB.NET, but I think switching to C# would be the best decision for the whole team.
TYFR

(thank you for reading :P)
Offline Profile Quote Post Goto Top
 
malzark
Scorpio Soft. Apprentice/ DGS mr useless
[ *  * ]
well i think that we should wait till we are sure that there will even be a PC version not doubting any of the prduction team members but i mean the problem of marketing it will be very hard to find a store willing to ever give a chance to a game produced by a bunch of 16 year olds that have just finnished there first game. unless we team up with another major company. we have been given a chance to team up with EA for OOTG (see Url below for discussion)
http://z9.invisionfree.com/Shadow_Revoluti...hp?showtopic=75
if we prove to them that we are good maybe we could show that we are more than a bunch of teens we are a company but untill then we need to find some one that has a REALLY close bond with a game store manager.

this is only my opinoin to wait till a little later for the XBOX vr besides tons of great companies started of with PC only take Bethseda. now look at them. THEY ARE HUGE. so ya just imagine you bust you buttoks for an Xbox Vr and it does not get released. because in Xbox you need a manufacturer not to mention the Xbox Disk that you need to get directly from microsoft. if im wronge plz tell me
You will probably be eaten by a giant marshmellow!
Offline Profile Quote Post Goto Top
 
Super_llama
Member Avatar
Game Engine Programmer
[ *  *  *  *  *  *  *  * ]
Well the thing about using VB is it will be VERY hard to port to Xbox once it's done. If we ever want to make Xbox versions of our games it will be very tough. If we port it now (while there is very little code) it will be much easier to port later on.

Also I thought I'd post a VB.NET to C# contrast:

VB.NET:

Imports Microsoft.DirectX.Direct3D
Imports Microsoft.DirectX.Direct3DX
Public Class Form1
inherits System.Windows.Forms.Form
...Dim Dev as Device
...Private Sub Form1_Load(sender as Object, e as system.EventArgs) handles myBase.Load
......Dim pp as PresentParemeters
......Dev = New Device(me.handle,0,0,pp)
...End Sub
...Private Sub Form1_Paint(sender as Object, e as system.PaintEventArgs) handles myBase.Paint
......Dev.Clear(Color.Blue)
......Dev.BeginScene
......Dev.EndScene
......Dev.Present(0,0)
...End Sub
End Class

C#.NET:
using Microsoft.DirectX.Direct3D;
using Microsoft.DirectX.Direct3DX;
Class Form1 : System.Windows.Forms.Form {
...Device : Dev;
...Void Form1_Load() {
......PresentParemeters : pp;
......Dev = New Device(this.handle,0,0,pp);
...};
...Void Form1_Paint() {
......Dev.Clear(Color.Blue);
......Dev.BeginScene();
......Dev.EndScene();
......Dev.Present(0,0);
...};
};

As you can see they aren't that different. In fact, C# even looks cleaner.
TYFR

(thank you for reading :P)
Offline Profile Quote Post Goto Top
 
modman
Member Avatar
Resigned admin
[ *  *  *  *  *  *  *  * ]
do whats best for Cyclone.
Darkstar Gaming studios, Striving to Improve your Gaming Experience
Offline Profile Quote Post Goto Top
 
elite_prodigy
Advanced Member
[ *  *  * ]
Ummm...., you don't need semicolons after a closing brace in C#. C# is C-like syntax. No C language needs that, in fact, it probably won't even compile. (I may be wrong, but I'm nearly positive...)
Scherer Programming: Reprogramming the Web

Specializations:
Server backend systems
Server security systems/structures
Ethical server infiltration (ethical hacking)
Apache MOD developement
Core stand-alone engine developement/creation
Foreign language program core emulation remodeling

_______________
David Scherer
Owner
Operator
Systems Adminstrator
Server OP
Lead Programmer/Developer
Security Technition
Offline Profile Quote Post Goto Top
 
modman
Member Avatar
Resigned admin
[ *  *  *  *  *  *  *  * ]
*refers to admin CP about where admins are allowed to imitate volcanoes*

ah, doesnt say anything. bother.
Darkstar Gaming studios, Striving to Improve your Gaming Experience
Offline Profile Quote Post Goto Top
 
Super_llama
Member Avatar
Game Engine Programmer
[ *  *  *  *  *  *  *  * ]
elite_prodigy
Aug 22 2008, 02:34 AM
Ummm...., you don't need semicolons after a closing brace in C#. C# is C-like syntax. No C language needs that, in fact, it probably won't even compile. (I may be wrong, but I'm nearly positive...)

Yeah you're wrong, C# gives errors when you don't put semicolons
TYFR

(thank you for reading :P)
Offline Profile Quote Post Goto Top
 
elite_prodigy
Advanced Member
[ *  *  * ]
Okay, that C# code does not compile. I saved it to my flash drive and hopped on over to my friends house, he has no qualms about over paying for developement suites.

I created a bunch of dummy functions and files to test it and the errors reported were that of the misused semicolons. You do not need, nor should you use, a semicolon after a closing brace.
An if structure for ex:
If (x = y)
.....{
..........// code to exec.
..........// ...
.....} // no semicolon!

I am a C# programmer, I just don't do much GUI work with it.

And modman, please, give me a break, I'm an experienced programmer who has developed countless programs for business and organizations and people accross my state. Your *sigh*ing is redundant. I'm simply trying to give constructive critcisem here. SL is a good programmer, as am I, but we would both be foolish to pretend that we knew everything!

Go back and read all my posts from a neutral point of view. You may actually find that they are helpfull. Don't try to defend SL's ego, he knows what he is capable of, and that is all that matters. I'm simply trying to provide intelligent and constructive alternatives.

My business may not be booming in the MS sense, but I've made enough money from the jobs I've had to pay for my tuition as well as a year abroad in Germany next year. I would say I'm doing something right, or my inbox and phone would not continue to ring and receive requests for my talents.

If you need a programmer, I'm willing to help, simply because this seems like fun. I don't care if I make a penny, a million, or nothing.

If all you want to do is patronize me and my posts, then I'll be more than happy to go and devote my attention elsewhere. But you need more than one programmer in order for this to be a success. This project is huge, 3 planned games with a huge arena. That's a lot of work. More work than one or two of the larger projects I have done. I ended up contracting and using freelancers to finish them.
Scherer Programming: Reprogramming the Web

Specializations:
Server backend systems
Server security systems/structures
Ethical server infiltration (ethical hacking)
Apache MOD developement
Core stand-alone engine developement/creation
Foreign language program core emulation remodeling

_______________
David Scherer
Owner
Operator
Systems Adminstrator
Server OP
Lead Programmer/Developer
Security Technition
Offline Profile Quote Post Goto Top
 
modman
Member Avatar
Resigned admin
[ *  *  *  *  *  *  *  * ]
I never Sighed at all? all i did was look up Admin Volcanoes.
but anyway, im glad to have someone who knows what they are doing - i dont most of the time, and i generally feel happyer if im doodling with paint.net. ive got it open now, and am in a more accepting mood.

so, what can you do for us?
*rest was exerpted into a pm, check ur inbox*
Darkstar Gaming studios, Striving to Improve your Gaming Experience
Offline Profile Quote Post Goto Top
 
Super_llama
Member Avatar
Game Engine Programmer
[ *  *  *  *  *  *  *  * ]
Yes, you are right and I'm stupid :P

I misread your first post, I thought you meant that C# doesn't use semicolons at all. Lol sorry about that. ;)

Also I'm sure you're much more experienced than me, I've been programming for 7 years, but most of that was wasted on VB6.
TYFR

(thank you for reading :P)
Offline Profile Quote Post Goto Top
 
modman
Member Avatar
Resigned admin
[ *  *  *  *  *  *  *  * ]
Super_llama
Aug 29 2008, 01:22 AM
Yes, you are right and I'm stupid :P

I misread your first post, I thought you meant that C# doesn't use semicolons at all. Lol sorry about that. ;)

Also I'm sure you're much more experienced than me, I've been programming for 7 years, but most of that was wasted on VB6.

oh, [censored myself]. that would have been me telling you about it super.

:unsure: :unsure: :unsure: :o :o :(

SORRRY.
Darkstar Gaming studios, Striving to Improve your Gaming Experience
Offline Profile Quote Post Goto Top
 
Super_llama
Member Avatar
Game Engine Programmer
[ *  *  *  *  *  *  *  * ]
Hmmm for some reason I'm having trouble creating the D3D Device. I've never had this problem with any other languages, maybe the Present Parameters are wrong? I checked it with a working Tutorial, everything seems to be right, but the CreateDevice command always fails...
TYFR

(thank you for reading :P)
Offline Profile Quote Post Goto Top
 
« Previous Topic · Public Announcements · Next Topic »
Add Reply