Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    29
  • comments
    35
  • views
    18067

Some revision...

Sign in to follow this  
walle

301 views

Have had some party here this weekend...but when I waved goodbye to my guests I took uot my computer and looked at the code I had produced a couple of days ago...

I had forgot to convert from polar coordinates ro rectangular...I had done it the other way around...but in my code I used angles instead of xy values on my particles =)

So here is the revision nr.1.
I'm quite proud of my self, because I have made a little particle simulation without even looking at a piece of code or reading anything about it, just using my common sense...
I'll make some improvments on it...but for now its just a "big bang" simulation. One pixel in the center that explodes and sent of 360 particles in each degree, just that they bounce of the walls.

Well just dont sit there...test it!
Sign in to follow this  


2 Comments


Recommended Comments

Wow no one comments in your journal do they [sad]

Anyway I got about ~170 FPS.

Share this comment


Link to comment
Quote:
Original post by Scet
Wow no one comments in your journal do they [sad]


No...no one...[sad]

Perhaps I have to write something interesting soon...[smile]

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!