Physics: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
mNo edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
== Description == |
== Description == |
||
=== PenguinMod === |
|||
Box2D Physics extension created by Griffpatch. |
Box2D Physics extension created by Griffpatch. |
||
=== Turbowarp === |
|||
Two dimensional physics. Originally created by griffpatch. |
|||
== Blocks == |
== Blocks == |
||
* set stage boundaries to [ ] |
* [[Please add some|set stage boundaries to [ ]]] |
||
* set gravity to x: () y: () |
* [[Please add some|set gravity to x: () y: ()]] |
||
* enable for [ ] mode [ ] |
* [[Please add some|enable for [ ] mode [ ]]] |
||
* step simulation |
* [[Please add some|step simulation]] |
||
* go to x: ( ) y: ( ) [ ] |
* [[Please add some|go to x: ( ) y: ( ) [ ]]] |
||
* Set velocity to sx: ( ) sy: ( ) |
* [[Please add some|Set velocity to sx: ( ) sy: ( )]] |
||
* change velocity to sx: ( ) sy: ( ) |
* [[Please add some|change velocity to sx: ( ) sy: ( )]] |
||
* push with force ( ) in direction ( ) |
* [[Please add some|push with force ( ) in direction ( )]] |
||
* spin with force ( ) |
* [[Please add some|spin with force ( )]] |
||
* set angular velocity to ( ) |
* [[Please add some|set angular velocity to ( )]] |
||
* set fixed to [ ] |
* [[Please add some|set fixed to [ ]]] |
||
* set density to [ ] |
* [[Please add some|set density to [ ]]] |
||
* set density to ( ) |
* [[Please add some|set density to ( )]] |
||
* set friction to [ ] |
* [[Please add some|set friction to [ ]]] |
||
* set friction to ( ) |
* [[Please add some|set friction to ( )]] |
||
* set bounce to [ ] |
* [[Please add some|set bounce to [ ]]] |
||
* set bounce to ( ) |
* [[Please add some|set bounce to ( )]] |
||
* set scroll to x: ( ) y: ( ) |
* [[Please add some|set scroll to x: ( ) y: ( )]] |
||
* change scroll by x: ( ) y : ( ) |
* [[Please add some|change scroll by x: ( ) y : ( )]] |
||
== Variables and Booleans == |
== Variables and Booleans == |
||
* ( gravity x ) |
* [[Please add some|( gravity x )]] |
||
* ( gravity y ) |
* [[Please add some|( gravity y )]] |
||
* ( x velocity ) |
* [[Please add some|( x velocity )]] |
||
* ( y velocity ) |
* [[Please add some|( y velocity )]] |
||
* ( angular velocity ) |
* [[Please add some|( angular velocity )]] |
||
* < fixed? > |
* [[Please add some|< fixed? >]] |
||
* ( density ) |
* [[Please add some|( density )]] |
||
* ( friction ) |
* [[Please add some|( friction )]] |
||
* ( bounce ) |
* [[Please add some|( bounce )]] |
||
* ( list sprites touching [ ] ) |
* [[Please add some|( list sprites touching [ ] )]] |
||
* ( x scroll ) |
* [[Please add some|( x scroll )]] |
||
* ( y scroll ) |
* [[Please add some|( y scroll )]] |
||
== References == |
== References == |
Revision as of 03:07, 17 October 2023
The Physics extension is a port of the Box2D physics engine.
![](http://static.miraheze.org/pmodwiki/thumb/3/37/Physics.png/266px-Physics.png)
It was originally ported by Griffpatch and then added to Turbowarp. It was originally shown off on his
Youtube channel on February 14th, 2016[1]
Description
PenguinMod
Box2D Physics extension created by Griffpatch.
Turbowarp
Two dimensional physics. Originally created by griffpatch.
Blocks
- set stage boundaries to [ ]
- set gravity to x: () y: ()
- enable for [ ] mode [ ]
- step simulation
- go to x: ( ) y: ( ) [ ]
- Set velocity to sx: ( ) sy: ( )
- change velocity to sx: ( ) sy: ( )
- push with force ( ) in direction ( )
- spin with force ( )
- set angular velocity to ( )
- set fixed to [ ]
- set density to [ ]
- set density to ( )
- set friction to [ ]
- set friction to ( )
- set bounce to [ ]
- set bounce to ( )
- set scroll to x: ( ) y: ( )
- change scroll by x: ( ) y : ( )
Variables and Booleans
- ( gravity x )
- ( gravity y )
- ( x velocity )
- ( y velocity )
- ( angular velocity )
- < fixed? >
- ( density )
- ( friction )
- ( bounce )
- ( list sprites touching [ ] )
- ( x scroll )
- ( y scroll )