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 MrRandomFella · Nov 27, 2013 at 07:30 AM · camerabackgroundtopdownshooterspaceship

How do I create a shmup in Unity?

I have been making a top-down Shoot'em up for a school project and I'm having trouble figuring out how to create this project. How would I get the player to move on two axes and rotate when I press the left or right arrow keys? How would I make a moving background that changes direction and how would I create a boss fight. I have used Unity for 3 Years (making small projects) and I'm not sure how to tackle this one. Here's an example of the controls and scrolling background I would like to achieve: (The background starts to change directions at 1:30) http://www.youtube.com/watch?v=qBR8-zNHMxA

Im so bad at scripting :(

Comment
Add comment · Show 1
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 Rhadow · Nov 28, 2013 at 09:01 AM 0
Share

This tutorial is just for your reference. http://pixelnest.io/tutorials/2d-game-unity/table-of-contents/

2 Replies

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

Answer by Ekta-Mehta-D · Nov 28, 2013 at 09:31 AM

Sir, You can have scrolling background and allow ship to move up to certain area left-right.. And for boss fight , just spawn the bass out of the scene and then transform the boss so that it comes under screen area and don't stop scrolling background.

For basic start you can refer this link :

http://www.3dbuzz.com/training/view/unity-standard/simple-2d-shooter

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
avatar image
3

Answer by fafase · Nov 27, 2013 at 07:34 AM

http://www.youtube.com/watch?v=LUn_VE31osw

(this has been turned into an answer)

Well, I just post a link because your requirement are too big. You claim not to know programming, that is where you need to start. Your game will just gain out of your skills. If you cannot even perform basic programming tasks, you will be quickly stuck. Programming is not different than other jobs, if you don't know, you won't get far.

People tend to think that doing a game is easy because it is more about interaction and look than the actual programming of a software. This is totally wrong, a game is a software. Just a funny one. So just learn C# to some extents, you do not need to know multi-threading or even how your GPU treats info, just the basic things, and then give it a go.

That was my lesson on life through programming games.

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 MrRandomFella · Nov 28, 2013 at 08:36 AM 0
Share

Thanks for the tip. :) I do know a lot about Javascript but not much C#. I was just wondering how I would construct the scenes etc. For example, to get the scrolling background, would I have the ship constantly moving forward or would I be better making the ship static and having the background move around it? For the boss fights, would I have to load a new scene or just stop the environment and spawn the boss? These questions have been bugging me. :/

avatar image fafase · Nov 28, 2013 at 11:16 AM 1
Share

Your boss could be on the same scene. Now two approaches, either your guy does not move and the world moves around him. That means you need to code the whole scene with timer or countdown of dead enemies.

You have a game manager that keep track of things supposed to trigger events.

The other way is to move the player in the world. This time you have less code but you need to position everything in the world and you need to design a long level. Easier maybe to start with.

The second actually would also have a lot of code since you should disable enemies that are too far and only enable them when you reach a certain position. Then by the end the boss is waiting.

$$anonymous$$y advice would be the second approach as you have a better visualization. Also, the first case makes debugging more cumbersome as you need to reach a part of the level to debug or develop the script in a debug mode (which is also good practice) so that you would start right from the spot you want to debug.

avatar image Ekta-Mehta-D · Nov 28, 2013 at 11:33 AM 0
Share

hmm.. This can be the another option.

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

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Deadfrontier type crosshair 1 Answer

Camera Setup for Top Down Shooters 3 Answers

Mouselook in space, without a 'down' or 'up' 1 Answer

Camera looking down 1 Answer

Cinimachine virtual camera not updating when in standby mode 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