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 /
avatar image
0
Question by AlecJLewis · Feb 20, 2011 at 10:05 PM · 2dgamecreation

2-d game creation code help

I have designed and laid out almost my entire game with a full menu set and individual images for all of the assets I want to incorporate into my game. This includes the faces of the characters in three different sets for each character and a few level designs for the beginning stages of the game. I am struggling with coding the assets I have into a functional game even after attempting to use the unity GUI basics instructions. I just cant seem to figure out how to switch between menus and set up a basic 2-d game. All of the actions that will be taking place are simple movements and changes between levels. I have limited knowledge of some action scripting but nothing more to go on. The game concept is simple and should not require much coding at all. There are images available for inspection on my website. Thank you to anyone who may be able to help or offer some advice as to where I may be able to start developing this concept.

Link to images under the advanced time based tab------ http://www.amenation.com/advanced-time-based-projects.html

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Thom Denick · Feb 20, 2011 at 11:21 PM

You don't want to use Unity's GUI system to create your game. You want to use SpriteManager or, if you have the money, SpriteManager 2. Unity's GUI system is just not robust enough for you to create a full game out of it, and it's going to have crap performance on your target devices.

Here's a link to SpriteManager: http://www.unifycommunity.com/wiki/index.php?title=SpriteManager

Here's a link to SpriteManager 2: http://www.anbsoft.com/middleware/sm2/

You want to be utilizing your sprites within the game world, not within OnGUI. To this end, based on your design, I would say forget 2D. Make it in 3D with cubes first. If you want to make it 2D later, it will be easy to convert to SM2. You have a ton of algorithm-building and programming to get out of the way first. If you are planning on doing this yourself, you better just get started now.

  • Step 1.) Learn to program, or at least script.
  • Step 2.) Start breaking down each component of your game, what areas you need to program for.
  • Step3.) Break down each component into programmable tasks.
Comment
Add comment · Show 3 · 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
avatar image AlecJLewis · Feb 20, 2011 at 11:45 PM 0
Share

so then this is just a separate function inside of unity using a sprite function ins$$anonymous$$d of things like OnGui and GUILayout? Would you suggest making the characters and 3d elements in $$anonymous$$aya(i have a large amount of experience in) or just creating cubes and such in unity and applying textures to them?

avatar image Joshua · Feb 21, 2011 at 01:36 AM 0
Share

Unity can only make simple 3d objects, so for making cubes and applying textures it's fine, but for more complicated 3d modelling you can't use it. But from the looks of it all you have are cubes right? =-p

avatar image AlecJLewis · Feb 21, 2011 at 01:44 AM 0
Share

yeah i have that all figured out i may have to adjust the size but that wont take long.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

2D Animation does not start 1 Answer

Player movement boudaries in 2D 1 Answer

2d Lighting - Weird light triangles 0 Answers

How to cover buttons with game objects? 1 Answer

how to make a 2d sniper game. 1 Answer


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