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

Report as inappropriate.

Game/maniac
Game/maniac presents ...

2013/7/2

Pixel dust

A scenario I made inspired by MatheMagician's Sandbox scenario.

WARNING: Runs terribly in the browser, try using either the Applet or running Locally.

Controls:
1-6 change material (
-1 = stone(not a dust)
-2 = yellow dust
-3 = orange dust
-4 = green dust
-5 = blue dust
-6 = red dust
)
right click to erase
left click to draw with the selected material
up & down to change brush size
'c' to clear the page
'i' to get a random sand image
'u' to change your user image into sand

4895 views / 27 in the last 7 days

7 votes | 0 in the last 7 days

Tags: demo with-source

This scenario is a member of: Games/Simulations by Game/maniac


open in greenfoot
Your browser does not support the canvas tag.
Game/maniacGame/maniac

2013/7/2

I was going to remove it, but then I decided not to just in case I want to tweak it
pretty pattern... The DoctorProfessor is out!
A new version of this scenario was uploaded on Wed Jul 03 18:54:57 UTC 2013 dust forms stronger structures added the abbility to change images to sand fixed alot of bugs
Looked at your source code, and realized you only have to call setBackground(img) (in the render() method) once. Once you've set the image, you can edit it and it will show up on the Actor/World using that image. Doesn't change performance much, but just wanted to point that out.
h123nh123n

2013/7/9

This is awesome! I made a Dracula face with stone then put a bunch of red dust in it, rubbed a bit of the mouth out, there perfect. Most fun I have ever had with dust. If only sand was like this in minecraft.
JetLennitJetLennit

2013/7/17

That would be an interesting mod...
Entity1037Entity1037

2013/7/30

Are the particles individual actors, or part of the background?!?!??!?
Game/maniacGame/maniac

2013/7/30

they are part of the background
A new version of this scenario was uploaded on Wed Dec 10 16:28:52 UTC 2014 fixed a bug
A new version of this scenario was uploaded on 2021-05-07 07:37:40 UTC Updated for latest version of Greenfoot

See all comments

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

Who likes this?

JetLennit h123n DoctorProfessorYoshi FlyingRabidUnicornPig MatheMagician Gevater_Tod4711 Kartoffelbrot