Jump to content

  • Log In with Google      Sign In   
  • Create Account

Thomas Wiborg

Member Since 05 Jan 2013
Offline Last Active Jun 26 2016 03:07 AM

Posts I've Made

In Topic: Where to learn 2D Math for game dev

26 April 2016 - 01:55 PM

Basic graph theory and trigonometry, arithmetic. Khan Academy should have everything you want.

Do you have experience programming? If not, you'd probably be better off learning that first. This article outlines some good projects to start with, which you can tackle before trying some of the more advanced stuff you mentioned in your post.

Yep I can program. Thanks for the tips!


In Topic: What should i learn to become a gamedev?

28 October 2015 - 06:05 AM

Thanks for alot of good replies!

Seems like trying/failing while programming games, and learn along the way is what we should do!

Ill take this with me to my friends :)


In Topic: Terraria clone. What do I need to learn

31 August 2015 - 03:20 AM

Hmmm, yes its alot to learn :)
But are there any good books on 2D Game Math that you guys know of? Pref. in C#


In Topic: Terraria clone. What do I need to learn

28 August 2015 - 01:05 AM

I see, pretty much alot of learning,

What kind of math should i study more on? I see Tangletail says fractals. What else is good to learn?
 

Sean, how do you learn all those concepts, rendering, physics, etc etc... Just learning by doing? Or use google as your friend?


In Topic: Mouse pointer out of applicationresolution when running fullscreen

31 July 2015 - 04:53 PM

If people wonder how i managed it.... I made this method.
Now my mousePos is scaling after the resolution. Works great.
 

public Vector2 ReturnNewMousePosScale(float defaultComputerResolutionWidth, float defaultComputerResolutionHeight, float gameScreenWidth, float gameScreenHeight, Vector2 defaultMousePos)
        {
            Matrix ScaleMatrix = Matrix.CreateScale(defaultComputerResolutionWidth / gameScreenWidth, defaultComputerResolutionHeight / gameScreenHeight, 0.0F);

            Vector2 Scale = new Vector2(ScaleMatrix.M11, ScaleMatrix.M22);

            defaultMousePos = new Vector2(getMouseState.X, getMouseState.Y);

            return defaultMousePos = defaultMousePos / Scale;
        }

PARTNERS