Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

3DS Physics Sandbox: Difference between revisions

From GameBrew
No edit summary
m (Text replacement - "Category:3DS homebrew games" to "")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS Homebrews
{{Infobox 3DS Homebrews
|title=3DS Physics Sandbox
|title=3DS Physics Sandbox
|image=3DS-Physics-Sandbox.jpeg
|image=3dsphysicssandbox2.png
|description=Play around with various physics
|description=Play around in simple physics.
|author=pieface-
|author=PieFace
|lastupdated=2016/08/06
|lastupdated=2016/08/06
|type=Other Games
|type=Simulation
|version=0.3
|version=0.3
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/3dshomebrew/3DS-Physics-Sandboxv0.3.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/3dsphysicssandbox.7z
|website=https://github.com/pieface-/3dsphysicssandbox
|website=https://github.com/pieface-/3dsphysicssandbox
|source=https://github.com/pieface-/3dsphysicssandbox
|source=https://github.com/pieface-/3dsphysicssandbox
}}
}}
<youtube>R13nyHYJnTQ</youtube>
3DS Physics Sandbox is a homebrew that allows you to play around in an environment with simple physics.
 
==Features==
* Manipulate multiple different sized squares with the stylus.
* Objects will bounce off of each other.
* The squares are affected by gravity, with walls and friction.
* Modifiable gravity, collision elasticity, and friction values.
* Collisions calculation uses momentum of squares.
* Take a screenshot.
* Control gravity by tilting 3DS (accelerometer).
* Move camera with circle pad.
* Walls that squares will bounce off of.
* Different squares and walls can be made using on screen UI.
 
==Installation==
===Installing===
Available in 3DSX and CIA formats.
* CIA - Install the .cia with the CIA manager of your choice.
* 3DSX - Use the .3dsx provided with the Homebrew Launcher.
 
===Building===
This requires sf2dlib and expects the libsf2d directory to be in the same directory as 3dsphysicssandbox. Just run the makefile to build.
 
==Controls==
Tap and Drag square - Move square
 
X - Reset entire world
 
B - bring selected square back to center of world
 
D-Pad Left/Right - Change modifiable value


== 3ds Physics Sandbox ==
D-Pad Up/Down - Increment current modifiable value
An application for messing with physics on the 3ds.


===Current Features:===
L/R - Change increment (multiply and divide by 10)
* Manipulate multiple different sized squares with the stylus
* Objects will bounce off of each other
* The squares are affected by gravity, with walls and friction
* Modifiable gravity, collision elasticity, and friction values
* Collisions calculation uses momentum of squares
* Take a screenshot
* Control gravity by tilting 3ds (accelerometer)
* Move camera with circle pad
* Walls that squares will bounce off of
* different squares and walls can be made using on screen ui ###Plans for the Future:
* Fix Banner Sound (Warning: sound may be irritable)
* Save and load state to and from file (coming v0.4)
* Different kinds of objects (like circles or custom shapes)
* Proper implementation of forces and vectors
* Tension and ropes
* Develop into physics library
* 3D physics


==Controls:==
Circle Pad - move camera


*Tap and Drag square to move it
Y - toggle gyroscope as gravity
*X - Reset entire world
*B - bring selected square back to center of world
*DPad Left and Right - Change modifiable value
*DPad Up and Down - Increment current modifiable value
*L and R - Change increment (multiply and divide by 10)
*Circle Pad - move camera
*Y - toggle gyroscope as gravity
*Select - Save screenshot
*Start - Exit


==Known Bugs:==
Select - Save screenshot


*If squares are traveling fast enough, they can clip through walls (more apparent in smaller squares)
Start - Exit
*Sometimes squares get "crushed" against vertical walls because of x gravity


==To Do:==
==Media==
'''3DS Physics Sandbox v0.3''' ([https://www.youtube.com/watch?v=R13nyHYJnTQ PieFace]) <br>
<youtube>R13nyHYJnTQ</youtube>


*Fix Banner Sound (Warning: sound may be irritable)
==Known issues==
*More than one objectDone
If squares are traveling fast enough, they can clip through walls (more apparent in smaller squares).
*Different kinds of objects (like circles or custom shapes) - See Pipe01 Fork
*Proper implementation of forces/momentum and vectors
*Tension and ropes
*Develop into physics library
*3D physics


==Building:==
Sometimes squares get crushed against vertical walls because of x gravity.
This requires sf2dlib and expects the libsf2d directory to be in the same directory as 3dsphysicssandbox. Just run the makefile to build.


==Changelog==
==Changelog==
'''v0.3'''
'''v0.3'''
*Added support for up to 32 squares
*Added support for up to 32 squares.
*Added walls, immobile objects(lines) that objects bounce off of (up to 32)
*Added walls, immobile objects(lines) that objects bounce off of (up to 32).
*Removed square bouncing on edges of screen (by default replaced by walls in the same locations)
*Removed square bouncing on edges of screen (by default replaced by walls in the same locations).
*Added camera, use circle pad to move view around
*Added camera, use circle pad to move view around.
*Updated UI:
*Updated UI:
**Now contains two columns of information, global variables and object specific variables
**Now contains two columns of information, global variables and object specific variables.
**Change the mod_val scope to switch between these two
**Change the mod_val scope to switch between these two.
**All data of squares and walls can be modified (position, size, etc)
**All data of squares and walls can be modified (position, size, etc).
**Use obj_type to change between squares and walls
**Use obj_type to change between squares and walls.
**Use curr_view to change which object you are looking at
**Use curr_view to change which object you are looking at.
**Use coord to change the objects position
**Use coord to change the objects position.
**Use vel.x/y to change the square's velocity
**Use vel.x/y to change the square's velocity.
**Use direction to change wall's direction
**Use direction to change wall's direction.
**Use length to change the objects size
**Use length to change the objects size.
**NOTE: the program stops searching through the array when it finds the first inactive object. Add new objects in order
**NOTE: the program stops searching through the array when it finds the first inactive object. Add new objects in order.
*Press X to reset the entire world to default
*Press X to reset the entire world to default.
*Press B to bring the currently selected square to the center of the world
*Press B to bring the currently selected square to the center of the world.
*Started modularization of code
*Started modularization of code.
*Collision now takes momentum into account (more realistic collisions)
*Collision now takes momentum into account (more realistic collisions).
 
==Screenshots==
https://dlhb.gamebrew.org/3dshomebrew/dBM0cyH.png
https://dlhb.gamebrew.org/3dshomebrew/CzcwZgK.png
 
==Credits to:==
* Smealum - creator of ctrulib and the homebrew menu
* xerpi - creator of sf2dlib


==License:==
'''v0.2'''
Copyright (c) 2016 PieFace
* Press Y to toggle using gyroscope as gravity , or allow the square to follow tilt of 3DS.
* Press select to take a screenshot (needs optimization).
* Friction now takes into account appropriate gravity, resulting in mostly increased friction at the default value.
* Fixed precision bug with increment.


Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
'''v0.1'''
* Bugs fixed, banner added, v0.1 finalized.


The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
==Credits==
* Smealum - creator of ctrulib and the homebrew menu.
* xerpi - creator of sf2dlib.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
==External links==
* GitHub - https://github.com/pieface-/3dsphysicssandbox
* GBAtemp - https://gbatemp.net/threads/wip-3ds-physics-sandbox.435936

Latest revision as of 05:44, 6 Mayıs 2024

3DS Physics Sandbox
3dsphysicssandbox2.png
General
AuthorPieFace
TypeSimulation
Version0.3
LicenseMixed
Last Updated2016/08/06
Links
Download
Website
Source

3DS Physics Sandbox is a homebrew that allows you to play around in an environment with simple physics.

Features

  • Manipulate multiple different sized squares with the stylus.
  • Objects will bounce off of each other.
  • The squares are affected by gravity, with walls and friction.
  • Modifiable gravity, collision elasticity, and friction values.
  • Collisions calculation uses momentum of squares.
  • Take a screenshot.
  • Control gravity by tilting 3DS (accelerometer).
  • Move camera with circle pad.
  • Walls that squares will bounce off of.
  • Different squares and walls can be made using on screen UI.

Installation

Installing

Available in 3DSX and CIA formats.

  • CIA - Install the .cia with the CIA manager of your choice.
  • 3DSX - Use the .3dsx provided with the Homebrew Launcher.

Building

This requires sf2dlib and expects the libsf2d directory to be in the same directory as 3dsphysicssandbox. Just run the makefile to build.

Controls

Tap and Drag square - Move square

X - Reset entire world

B - bring selected square back to center of world

D-Pad Left/Right - Change modifiable value

D-Pad Up/Down - Increment current modifiable value

L/R - Change increment (multiply and divide by 10)

Circle Pad - move camera

Y - toggle gyroscope as gravity

Select - Save screenshot

Start - Exit

Media

3DS Physics Sandbox v0.3 (PieFace)

Known issues

If squares are traveling fast enough, they can clip through walls (more apparent in smaller squares).

Sometimes squares get crushed against vertical walls because of x gravity.

Changelog

v0.3

  • Added support for up to 32 squares.
  • Added walls, immobile objects(lines) that objects bounce off of (up to 32).
  • Removed square bouncing on edges of screen (by default replaced by walls in the same locations).
  • Added camera, use circle pad to move view around.
  • Updated UI:
    • Now contains two columns of information, global variables and object specific variables.
    • Change the mod_val scope to switch between these two.
    • All data of squares and walls can be modified (position, size, etc).
    • Use obj_type to change between squares and walls.
    • Use curr_view to change which object you are looking at.
    • Use coord to change the objects position.
    • Use vel.x/y to change the square's velocity.
    • Use direction to change wall's direction.
    • Use length to change the objects size.
    • NOTE: the program stops searching through the array when it finds the first inactive object. Add new objects in order.
  • Press X to reset the entire world to default.
  • Press B to bring the currently selected square to the center of the world.
  • Started modularization of code.
  • Collision now takes momentum into account (more realistic collisions).

v0.2

  • Press Y to toggle using gyroscope as gravity , or allow the square to follow tilt of 3DS.
  • Press select to take a screenshot (needs optimization).
  • Friction now takes into account appropriate gravity, resulting in mostly increased friction at the default value.
  • Fixed precision bug with increment.

v0.1

  • Bugs fixed, banner added, v0.1 finalized.

Credits

  • Smealum - creator of ctrulib and the homebrew menu.
  • xerpi - creator of sf2dlib.

External links

Advertising: