Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 31 Mar 2013
Offline Last Active Yesterday, 01:29 PM

#5230218 WTF inconsistent line ending ?

Posted by dsm1891 on 21 May 2015 - 03:15 AM

It also happens on every 3rd blue moon during the solstice at 3:14 AM, but only on Tuesdays.
Just let Visual Studio fix it and be done with it.

L. Spiro

I can confirm this, it does just seemingly randomly happen some times with VS. but spiro is correct,  the moon needs to align with the solar reflection on the south pacific sea when projected though 4 prisms causing line endings to screw up 

#5228337 Projectile Force for Distance

Posted by dsm1891 on 11 May 2015 - 05:17 AM

Sorry for late reply, didn't really want to think about this out of work. Thank you both for your answers I will look into both.



I hope this will clear up any unclear sections of my question:



I believe I was using the formula from http://en.wikipedia.org/wiki/Trajectory_of_a_projectile#Conditions_at_the_final_position_of_the_projectile (first formula), however resolving it for v is a pain in the ass.


I asked about this in the chat, and IYP walked me through another formula which I will try now, along with reading what AEU has linked, 

#5223902 FastCall Is Alll

Posted by dsm1891 on 17 April 2015 - 03:18 AM



The true horror though is that a lot of these already *have* alternative tokens:


I tried some of these alternitives but it failed to compile (VS9)
You have to disable microsofts language extensions...


ah thanks

now I can destroy my codebase :)

#5223727 FastCall Is Alll

Posted by dsm1891 on 16 April 2015 - 11:01 AM

http://ideone.com/1lnIcm from fast callplease give give him your rep

#5223453 PerfectMMORPG

Posted by dsm1891 on 15 April 2015 - 10:22 AM





this was his original


#5223170 How were you learning programming at the age of 5?

Posted by dsm1891 on 14 April 2015 - 10:33 AM

I have heard a lot of stories that this programmer and that programmer started programming in fortran or some other language at the age of 5-7. How?


I told a three year old that I would teach her programming when she is 5. She says, "I am five." So I let her type her name on my laptop (Input and Output). 


Were you hacking calculators at that age?


I am way behind myself. I started this venture 2 years ago. 


There are even programmers that are teaching their children programming. How? 


This is for my learning as well as my teaching. 

UK is introducing coding as mandatory in secondary schools (age 11-16) and some offer it in primary schools (4-10) 

#5219178 Why didn't somebody tell me?

Posted by dsm1891 on 25 March 2015 - 04:33 PM

chest of draws


chester draws




#5217359 Couple of questions regarding graphics API?

Posted by dsm1891 on 18 March 2015 - 09:13 AM

based on all of your previous questions you've asked, i advise you learn how to use this site. to be brief, you seem to have very little understanding how graphic cards and programming in general works, and i advise you actually do research on the subjects rather than asking these questions.

whoops, meant to upvote you.

#5217326 Best comment ever

Posted by dsm1891 on 18 March 2015 - 06:24 AM

I have just wrote this:

// Dear future Developer, if you are looking here for the reason why the gun isnt aiming in the correct position when flipped fret not.
// The problem lies with spine, they still havent fixed that 'not a bug' issue eh?... Well, you just need to add a parent bone to the 
// bone the IK is controlling. And make the IK control those two bones, this fixes the 'not a bug' when flipped.
// Regards Past DSM

(there is a bug with this api which the developers claim isn't a bug.... they also say they can fix it, but it is a big task and will break peoples projects, so isn't on the table atm)

#5217319 2D vs 3D

Posted by dsm1891 on 18 March 2015 - 05:44 AM

I plan on writing a blog post about how 2D games being easier is a misconception. I do agree in some areas 2D is easier, however 2D does have its own set of problem that are just simply easier to solve in 3D. Especially design and gameplay wise, the challenges you face with 2D are just purley different than the challenges in 3D

#5217315 Best comment ever

Posted by dsm1891 on 18 March 2015 - 04:40 AM

Whats a comment?

#5209622 Screen Space Ray Tracing

Posted by dsm1891 on 09 February 2015 - 10:37 AM

They're in homogeneous clip space, not on z=-1; They're still in 4D.


#5204303 How to actually learn game development?

Posted by dsm1891 on 14 January 2015 - 03:04 PM

As Dr. John Dorian said:



Learn by doing, Learn by doing!

#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