Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jan 01, 2016 at 04:07 PM by SgtShadowWalker for the following reason:

Other

avatar image
0
Question by SgtShadowWalker · Nov 14, 2014 at 10:14 PM · c#2djavascript2d-platformerlanguage

2D games; Javascript or C#?

Hello, So I've been wanting to make a 2D game for a while and I'm now working on the story, art, etc. I've been looking into which language is better for a 2D game and it seems that everyone is using C#. Now I'm not that good with C#, so I want to know if it's possible to make one with (mostly) Javascript.

Thank you

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MrSoad · Nov 14, 2014 at 06:56 PM 0
Share

Either is fine but if you are starting from scratch then C# is the better language to learn. $$anonymous$$ixing the two can be problematic at times and most of the useful things you find on the Asset store are in C#, so they are far easier to modify and interact with if your use C# throughout your whole project. I have made a full game only using js though so ultimately the choice is yours.

avatar image Derpyness · Nov 15, 2014 at 12:31 AM 0
Share

It's not really about which is better, it's about which one you are more comfortable coding with. It just happens that most people choose C#, but the choice is yours.

avatar image MrSoad · Nov 15, 2014 at 12:34 AM 0
Share

I know js (Unityscript) far better than C#, but I'm switching over, not because I feel more comfortable with C# but because it is ultimately a better language to use.

1 Reply

  • Sort: 
avatar image
0

Answer by Jeff-Kesselman · Nov 15, 2014 at 12:22 AM

Javascript, like any scripting language, is easy and convenient for fairly small projects.

For projects of any serious size or complexity however, you need the organizational power of a real programming language such as c#.

Just about every full Unity game project I know of that started out in javascript, eventually had to move to C# to complete.

(Btw, its technically not Javascript, its Unityscript. Javascript and Unityscript are two different distinct dialects of ECMAscript. Unityscript files by convention end in .js which confuses things somewhat.)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Access a JavaScript variable from a C# script? 2 Answers

Double jump 2D Platformer 1 Answer

How do i make a one gun only Weapon system. (2D) 2 Answers

2d c# boss follow code 0 Answers

Trying to get Player Tip for player to open on Return and close on Return 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges