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 jaydenpiz · Jun 23, 2012 at 09:04 AM · 2dtextureplatformer

animation 2d platformer

hey guys, me and my mates are aking a 2d platformer game. and we have a plane with our image. We have all our drawing for jump and run but we need a script or a how to so we can change to the picture OnButtonDown and go back to the original picture OnButtonUp? and whilst the picture has changed have an animation sheet activated so the character looks like its walking. i know this is a mouthfull but any and all help is welcomed

Comment
Add comment · Show 4
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 whydoidoit · Jun 23, 2012 at 09:06 AM 0
Share

Hey $$anonymous$$den - the answer to that is longer than you might imagine. $$anonymous$$ight be better to go for a free 2d graphics like Othello

avatar image Fattie · Jun 23, 2012 at 11:03 AM 1
Share

WD ... you know, I got all of the 3.5D $$anonymous$$its out there and tried them all, and they are all made by nice people (the Orthello guy is particularly nice).

It feels mean-spirited to choose one but I have to say 2dToolkit is the way to go.

You would know just what I mean: there is no learning curve. If you're a Real programmer like we all wanna be, it's just totally natural. There's just nothing to learn. It's just one of those packages that makes it look so easy you're like "this is easy, anyone could have programmed this"-- the ultimate OO design.

Then again Orthello has more "help in it" it does stuff for you. In short: if yu're about to pend the 100s of man hours involved in doing a 2.5D game, it would be basically essential, I think, to grab all of the packs available, spend a day with each one, and decide which is for you !!

It would be crazy to spend the time on learning curve and then developing, if you had not tried 'em all

2.5D is huge fun!

I was a "3d programmer" (I guess you'd say) and we had to do some 2.5D projects. It's great !

avatar image whydoidoit · Jun 23, 2012 at 11:05 AM 0
Share

Got to agree with @Fattie- if you are going for 2.5D then 2D Toolkit is fantastic, one of the best things I ever bought - Othello is free.

avatar image Fattie · Jun 23, 2012 at 11:20 AM 0
Share

right ... he sells a Pro version (but not on the asset store). it's an interesting model, free version onthe asset store, pro version on Own Website (no 30%) ... I dunno.

it's a tough market for those dudes, there's only money in it for the top handful of products.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by sonic220 · Jun 23, 2012 at 10:10 AM

You can make a plane object with your drawing as texture and changing it with a script, I think that there is some tutorial in the wiki that you can search

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
0

Answer by POLYGAMe · Jun 23, 2012 at 11:02 AM

You can do sprite sheets... there is code somewhere on here, I have used it before... but if the animation isn't huge, you can simply change the textures (have several different png images for each sprite). I have done that for my racing game. Just have a loop that cycles through the different textures with a set amount of time between each change for, say, walking. It's pretty simple... take a look at the Unity scripting reference for how to set textures through code. Cheers!

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

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

7 People are following this question.

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

Related Questions

2D Platform game ladder climbing 1 Answer

Unity 2D Platformer Enemy flipping 1 Answer

(Solved) Continuous movement 1 Answer

Advice needed on my first c# 2D jump script 1 Answer

Tiled Map Display Problem 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