This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

PatrickL123
PatrickL123 presents ...

2023/3/9

Physics and game sandbox.

This physics sand box allows you to move and play with all of its componets. To move the charactor use the arrow keys to move, jump with space, and run with x. With the mouse, most objects can be picked up by holding down on them and moving them, while held some of their properties can be toggeled like gravity, bouncyness, and collision with g b and i respectfully. The top pause button completely pauses the game and the bottom one keeps everything but pauses their movement. As well, by opening the code many of the variables can be changed for different effects, including fast custom animations, changed values for many gravity and friction features and much much more. The comments within descirbe most of the ways to use it and some of the more recent and technical features. For those who desire little modification changing the varaibles with C in their comment and applying the method gravityandjump or gravitynomove to a subclass applys the effects.

904 views / 23 in the last 7 days

1 vote | 0 in the last 7 days

Tags: mouse game physics demo stickman engine sandbox edit

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on 2023-03-09 19:46:49 UTC Source code now avalible.
A new version of this scenario was uploaded on 2023-03-09 19:48:55 UTC Ok doesn't seem to work on website but I encourage anyone who wants to to download the code.
A new version of this scenario was uploaded on 2023-03-09 21:36:56 UTC
A new version of this scenario was uploaded on 2024-02-02 17:11:49 UTC improved invisability, bouncy integrated video player, much else. video too large to fit here and so not added.

Want to leave a comment? You must first log in.

Who likes this?

priscan791