PSP Hacks - Forums

Go Back   PSP Hacks - Forums > Tech Talk > PC Programming

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2009, 11:48 PM
Xitherun's Avatar
Xitherun Xitherun is offline
Senior Member
PSP Titan
 

Join Date: Nov 2006
Location: http://www.tacticalbread.net76.net/
Posts: 4,499
Xitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of light
Default [DEMO] Processing Physics

A simple Processing demo using the PPhys2D Library.

czech it out.

Quote:
Controls:
Arrow Keys: Move the blue box.
Shift + Arrow Keys: Boost.
Mouse Click: Create a randomly colored box. Size is a random number between 5 and the value of the 'Max Box Size' slider.
Space: Set the location of the blue box to where the mouse is. Useful if the box goes off the screen. (Note: The box's velocity is unchanged. If it's moving fast, it'll be moving fast when it appears at the mouse coordinates.)
R: Resets all the sliders to their default value.

Sliders:
Gravity:
Pretty self explanatory. Positive values, stuff goes down, negative, stuff goes up, zero, stuff floats around.
Shift Force: Determines the amount of the boost.
Max Box Size: Determines the max of the randomly generated numbers to get the size of new boxes.
Friction: A higher friction means that touching bodies will loose energy, and will result in a "sticky" effect.
Restitution: Set the restitution of the edges, which define itself by the "spring" effect occurring when two bodies. A value of 1 would be a pool ball. The default is 0, which mean no restitution.
Damping: Damping is the effect of "air" on a body. The more damping you have, the more energy lost you will get, resulting in an impression resistance to the gravity effect. Use this function to adjust the damping of all bodies, wich will make it fall faster or slower.



Applet Version:
http://www.tacticalbread.net76.net/P...ng/lolphysics/

Download:
http://www.tacticalbread.net76.net/P...lolphysics.rar
__________________
Xylophones inspecting tortured hearts equal rambunctious unicorn's nightmares.

Reply With Quote
  #2  
Old 05-13-2009, 01:52 PM
greg's Avatar
greg greg is offline
PSP-Hacks
PSP Titan
 

Join Date: Apr 2005
Location: Toronto, ON
Posts: 2,147,483,956
greg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond repute
Default

Quote:
Originally Posted by Xitherun View Post
doesn't work
__________________
Reply With Quote
  #3  
Old 05-13-2009, 02:19 PM
Xitherun's Avatar
Xitherun Xitherun is offline
Senior Member
PSP Titan
 

Join Date: Nov 2006
Location: http://www.tacticalbread.net76.net/
Posts: 4,499
Xitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of light
Default

bah. apparently my site's being a douche right now.

here's the download version:
http://www.mediafire.com/download.php?dwnenztnejm
__________________
Xylophones inspecting tortured hearts equal rambunctious unicorn's nightmares.

Reply With Quote
  #4  
Old 05-13-2009, 02:26 PM
greg's Avatar
greg greg is offline
PSP-Hacks
PSP Titan
 

Join Date: Apr 2005
Location: Toronto, ON
Posts: 2,147,483,956
greg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond reputegreg has a reputation beyond repute
Default

hey that's pretty cool, just tried it out... it's like block bumper cars.
__________________
Reply With Quote
  #5  
Old 05-13-2009, 11:47 PM
wh1tef@ng wh1tef@ng is offline
PSP Titan
 
Join Date: Mar 2008
Location: hell!!
Posts: 3,988
wh1tef@ng will become famous soon enough
Default

going to try this one out
__________________
3 necessary things to do to be fit everyday
Sleep
Eat
Xercise
Reply With Quote
  #6  
Old 05-14-2009, 01:25 AM
Xitherun's Avatar
Xitherun Xitherun is offline
Senior Member
PSP Titan
 

Join Date: Nov 2006
Location: http://www.tacticalbread.net76.net/
Posts: 4,499
Xitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of light
Default

dooo ittt, lol.

here's the final version of the Demo:
edit: site's back up, so:

Applet:
http://www.tacticalbread.net76.net/P...ing/lolphysics

Application:
http://www.tacticalbread.net76.net/P...lolphysics.rar

I'm going to modify the physics engine, and make some sort of game out of this.
__________________
Xylophones inspecting tortured hearts equal rambunctious unicorn's nightmares.


Last edited by Xitherun; 05-14-2009 at 01:47 PM.
Reply With Quote
  #7  
Old 05-15-2009, 05:22 PM
Xitherun's Avatar
Xitherun Xitherun is offline
Senior Member
PSP Titan
 

Join Date: Nov 2006
Location: http://www.tacticalbread.net76.net/
Posts: 4,499
Xitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of lightXitherun is a glorious beacon of light
Default

well, here's my 'sort of game' lol.

Free play mode is still in there.

Applet:
http://www.tacticalbread.net76.net/P...olphysicsgame/

Application:
http://www.tacticalbread.net76.net/P...physicsgame.7z
__________________
Xylophones inspecting tortured hearts equal rambunctious unicorn's nightmares.

Reply With Quote
  #8  
Old 05-18-2009, 01:46 PM
pirata nervo pirata nervo is offline
Moderator
PSP Titan
 

Join Date: Mar 2007
Location: www.consoleworld.net
Posts: 5,556
pirata nervo is on a distinguished road
Default

I love the free play version
__________________

Reply With Quote
  #9  
Old 09-23-2009, 09:53 PM
undefeated undefeated is offline
PSP Ninja
 

Join Date: Nov 2007
Location: Brooklyn, NY
Posts: 685
undefeated is on a distinguished road
Default

Good work bro.. I tried to glitch the game out but couldn't lol.

Applying atleast more than 100+ boxes on the screen lol.
__________________
Upcoming prospect.
"From PSP Hacks!"
www.myspace.com/e_n_j
Reply With Quote
Reply

 



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©