Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 31 Mar 2013
Online Last Active Today, 08:39 AM

#5198536 How Do Terraria Animations Work?

Posted by dsm1891 on 16 December 2014 - 08:40 AM




Lots of things are multi-sprite animations, but other things like swinging a weapon/tool just rotate a single sprite.



Terraria is hardly a shining example of game development and the fact it "shipped" and made a lot of money shouldn't really detract from that.

Thanks guys. But what would a good, efficient way of animating sprites be? I'm really curious,in case I want to dabble in 2D sprite-style games.



skeletal animation


#5194843 Quick C++ question on pointers

Posted by dsm1891 on 26 November 2014 - 04:00 PM

Just glancing throught this thread... but:




cannot convert 'const char*' to 'MyClass*' in initialization



You have not initialised the pointer.



Todo so you need to do:

   MyClass * newChar;
   newChar = new MyClass(arg1, "arg2");

//.... Now you can use newChar's members



Just looked back at your code, I noticed that newChar and NewChar2 are non pointer objects, but you use them as pointers in: ChangeChar  class.  If you change them to pointers (as the code above) it should work.  


--Sorry not much time to go indepth, hope this helps/correct

#5194572 Revel Immortal

Posted by dsm1891 on 25 November 2014 - 04:57 AM

Its a cool game 10/10 -DSM

#5192970 Stencil shadow on large env

Posted by dsm1891 on 15 November 2014 - 06:21 AM

Not relevant, but it is necessary...





#5187436 Texturing problem - weird swap

Posted by dsm1891 on 16 October 2014 - 11:17 AM

I am sorry, I know this isn't relevant, but it is necessary...


#5185741 Tutorial Series

Posted by dsm1891 on 08 October 2014 - 07:43 AM

You should defiantly do one on how to talk to a coder, so your vision of, I don't know...cloud placement, can come to light

#5184374 This chat, apparently, is a gigantic coding horror

Posted by dsm1891 on 01 October 2014 - 11:49 AM

No, dsm, that's wrong. It's "&​#x200B;", which is a ZERO WIDTH SPACE, which I've been trying to explain to you this past half hour that it can be used to escape chars:

"__&​#x200B;A__" is displayed as "__A__", whereas
"__A__" is displayed as "&".

I am not wrong. If you trype "&​#x200B" into the chat, you are indeed able to print a blank line.





Now, I wouldn't mind you saying mean things ( :( ) if I was indeed incorrect, but I do believe I never gave an explanation of why it printed a blank line - Which you are unable to do if you press space.



thank you for the information, it is very wise.




you 'trying to explain something' constisted of about 2-3 lines of cryptic information

#5184368 This chat, apparently, is a gigantic coding horror

Posted by dsm1891 on 01 October 2014 - 11:31 AM

Whilst we are taking credit for other peoples work:



if you type (don't copy): &​#x200B , into the chat, you are able to print a blank line (which is not possible by any other means) works quite nicely if you are speechless

#5182513 Funding a game through kickstarter

Posted by dsm1891 on 23 September 2014 - 04:19 PM

well, just so happened somebody who did just this stumbled into the chat today


Prototype kickstarter:



actual game kickstarter


#5182114 Computer Science vs. Computer Game Science

Posted by dsm1891 on 22 September 2014 - 09:15 AM

I have a 4.0 in a Computer Science (Games) Programs type degree. now I seem to be stuck in limbo at getting a job. IT companies think im a risky candidate because I have a 'games' degree and that is clearly where I want to go so I will leave their company at a drop of a game job hat. Also Game companies want a CS degree too, which makes it harder to get a job there. 



... so yeah I wish I did a CS degree.

#5181952 3d vector total madness @#@#@!#!

Posted by dsm1891 on 21 September 2014 - 03:33 PM

hmm, I don't think you have enough buttons on the screen.


Did you try adding another button?

#5179718 And this is why you don't change names to lowercase

Posted by dsm1891 on 11 September 2014 - 04:46 PM

http://izismile.com/2009/11/05/30_most_unfortunate_websites_domain_names_24_pics.html made me chuckle, I was trying to find a site I found a while ago, but this will do

#5177623 Calling all Artists (Good or Bad)

Posted by dsm1891 on 02 September 2014 - 03:11 AM

one can not simple question art

#5177522 Did I begin learning late?

Posted by dsm1891 on 01 September 2014 - 04:25 PM

I'm 15 Years Old 

Do I begin learning python late?


If 15 is too late to learn programming god help me!


In the UK programming has only just been introduced into the schools curriculum (although to what extent I am unsure). This means that most of the people in the UK where not professionally taught programming until after the age of 16*. Learning is a continuous progress I doubt you will find anybody who has learnt every nook and cranny of a particular language. Sure the sooner you start the better but that said imo, 15 is a good young age to start. In fact if you decide to go to university, you will find you started before most people there.


Just keep at it and no doubt you will surpass the person who said you didn't know anything.

#5177065 Calling all Artists (Good or Bad)

Posted by dsm1891 on 30 August 2014 - 09:55 AM

I has drawing skills: