Jump to content
  • Advertisement
Sign in to follow this  

PS Vita - what programming language does it use?

This topic is 2194 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm interested in learning some programming language. Though C++ is nice and all and is most used, I'm more fond of C# since it is "rumored" to be less complex. However, to my dismay, I see that it is mostly designed for microsoft related consoles and hardware. Like Windows computers, windows phones, and the XBOX series.

But I do know that indie games have been made and sent to the PS3. At least, I think? And now there's the PS Vita.

After coming across this announcement on this forums randomly on google: http://www.ngemu.com...ad.php?t=147388

I find out that PS Vita will accept indie games.
Now, don't get me wrong here.
I'm not trying to receive money or anything in return for the games like what the site is saying. I just wanna make them for fun. And while sony's not perfect, I (out of personal experience of using both consoles over many years), I don't really like XBOX. Not for anything really. It's just, the klunky controller and the fact that I have to pay monthly for LIVE. While SONY has not made good use of its online features in the kinds of games I play (putting them and the fact that they're free to waste), I'd still prefer it over paying monthly for LIVE.

So, I'm not doing this for money or anything. Simply because I like games. And I don't think SONY is the "best" but I'm less fond of microsoft's xbox series in comparison to SONY because I liked the PSP, PS2, and PS1. I have good memories of them. The PS1 and PS2 were the consoles that got me into gaming in specific along with Nintendo 64 and its game boy series all the way up to the modern day DSi. So if I could make games that port to them I think that'd be pretty cool. Other than that I've enjoyed using the XBOX. But it's not a console series that I have much attachment to. I lean more towards sony and nintendo.

So, I'm kinda excited that we can make indie games for the Vita.
Now comes my over dramatized question,

what programming language does the PS Vita or PS3 indie games use? Or what language is required to be used in order for the game to port to the console properly or be compatible with it?

Especially the PS Vita.
I see how SONY has decided to join the hype over indie games. But I've looked all over google and couldn't find any information on the type of programming that's compatible with PS Vita and/or PS3. I know C# is used for microsoft. Will it be applicable to Sony consoles as well? Or does it use something else? I'm guessing it probably will since SONY wants indie games designed for the PSV to be sony-exclusive for about a year or two. And that'd be difficult to accomplish if it used C#, right?

I'd be sad if it were strictly C++ or C though; because I've heard that it's very complicated language and takes many years to learn. If I wanted to get a job as a game developer or work at a big company or in a team of developers then that'd be fine. But I don't think that I would want to go for it because I am not interested in going that far. And even if I were, it would not be with programming but something else. ;3

So, please, if anyone can answer my question I'd be thankful <3333
And if you could let me know what the 3Ds uses I'd also be glad. And maybe even the Wii, though I don't know if it'd transfer to the WiiU. But I'm most interested in knowing the Vita right now. >w<;

Many thanks in advance~*spam of less than 3's* <333333333333

EDIT::: Also, almost forgot, "Is it legal to port indie games to the PS Vita?" I mean, it's not hacking is it? @-@ srry, i'm newb. But will it be ok to release free games to port to these consoles and "not" have them published by sony and put up on PSN?

Share this post


Link to post
Share on other sites
Advertisement
Considering PS3 and PSP use C++ I guess PS Vita going to use C++ as well. But this is just my opinion.

C++ isn't that hard. You just have to remember if you wrote new you have to write delete somewhere. There also also some tricks which make code looks complicated, but you don't have to use them.

Share this post


Link to post
Share on other sites
Hmm... thanks Ripiz for the information.
I'm still a little let down that it uses C++ though.
Does it "have" to be C++ for it to work on those consoles? It can't be anything else?

I'm also interested in ActionScript which is for flash-related projects. Would it be possible for it to work on the PSV and other SONY consoles? Or is it really strictly C++?

I know C++ takes years and years of learning before you could really do much with gaming in specific which is the main reason why I don't want to go for it. This is completely out of hobby so I don't want to spend several "years" learning the language before I could actually do anything with it.

XD As you can see, I'm really trying to avoid C++ at all costs. It just doesn't make sense for a hobbyist who wants to make a few simple games on a whim to spend years learning how to do it if there are other alternatives. Though I know some people go that far, knowing myself, I probably wouldn't be able to.

Share this post


Link to post
Share on other sites
C++ isn't that hard. You just have to remember if you wrote new you have to write delete somewhere.


It isn't quite that simple.

Share this post


Link to post
Share on other sites
You can make any language work with the Vita, so long as you can interface with the native layer to use the Vita's system libraries, and that you can compile to ARM machine code. You could make C# work if you could port a C# interpreter/JIT to the Vita.

However, it would be vastly simpler to use C or C++.

Share this post


Link to post
Share on other sites

[quote name='Ripiz' timestamp='1333606293' post='4928394'] C++ isn't that hard. You just have to remember if you wrote new you have to write delete somewhere.


It isn't quite that simple.
[/quote]
Perhaps not, but it's not a bad rule to follow!

Last I heard, the Vita SDK uses C#. According to this article, it will also be multiplatform, including the Vita as well as Android devices.
http://www.pcworld.com/article/243559/sony_launches_beta_sdk_for_android_and_playstation_gaming_program.html

Share this post


Link to post
Share on other sites
For Indie games there will be SDK (PS Suite) based on MonoDevelop that will allow to write games in C# (no native code). On device program will run under Mono.
Here's a presentation from GDC2012: http://www.playstation.com/pss/developer/2012GDC-PSSuiteOverview.pdf
You can see also the parts of API they will provide (video/audio/physics/etc..).
Most likely Unit3D will also allow target PSVita. Currently there are already few games on PSVita that uses unity3D: http://blog.us.playstation.com/2012/02/13/escape-plan-a-touching-adventure-for-ps-vita-escape-plan-a-touching-adventure-for-ps-vita/

AAA+++ game studios most likely can receive C/C++ SDK+API for Vita.

Share this post


Link to post
Share on other sites
Hmm.. well now i'm even more confused of what to pick.

C# is similar to C++ but somewhat easier. <- not my opinion cuz i don't know either of them, but both on this forum and others, that's what people keep saying.

My question is, "how similar are they?". If I decided to put in some effort to learn C++, how easy would it be to transfer that knowledge to C#?

I know C# is more recent than C++. Is there possibility that all future consoles will rely "mostly" on C# instead of C++? Or will C# forever be something on the side that is microsoft oriented and not used too much outside of anything microsoft-related?

Share this post


Link to post
Share on other sites
If your goal is to learn C#, then start with C#; don't worry about C++. C++ has a fairly steep and long learning curve before you really start getting good with it. This can be mitigated by having a good instructor and learning environment, but it's unnecessary for learning C#. And then if you want to learn C++ later, knowing C# will flatten the learning curve.

Share this post


Link to post
Share on other sites
My question is, "how similar are they?". If I decided to put in some effort to learn C++, how easy would it be to transfer that knowledge to C#?
There's a difference between learning a programming language and learning to program. Once you've learnt to program, then that knowledge is transferable to any programming language.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!