To enhance your user experience, support technical features, and personalize content and ads, this site uses cookies. An open platform for all web games! Get your games in front of thousands of users while monetizing through ads and virtual goods. With our publishing program, we can help get your games to millions of users on multiple platforms!
Keep exploring Kongregate with more badges and games! Spend your hard earned kreds on some of these games! Hide the progress bar forever? Fake Dogs - AI-generated dogs.
Superhero Name Generator - Find your superhero name. Confessions - Our AI has secrets. Writing Prompts - Our AI starts the story, you finish it. Patent Generator - Turn any website into a patent application. Video Articles - Brought to life by AI. Anagram Generator - Words formed by rearranging the letters.
Ad Slogan Generator - Taglines for your company or product. For songwriters and bands to be able to post their songs to YouTube or social media. Chat Bot - Talk with our AI about anything you want. The more and bigger fish the more food per second. Before starting the game you should flatten the sand and shape a big lake in the middle of the box.
The game is started by pressing f on the keyboard. You can also start the game by pressing 1 complete beginner , 2 novice , 3 standard and 4 expert. Fish and sharks can be taken and moved using your hands if you shape them like a bowl. A mother fish and a mother rabbit can be enabled. The user can help the animals to reach their mothers by digging rivers or building mountains in the sand. The full source code for Magic Sand is available on github.
Magic Sand is based on openframeworks release 0. Be sure to check the openframeworks documentation and forum if you don't know it yet, it is an amazing community! The KinectProjector class handles the communication with the kinect sensor, the calibration and the coordinates conversions between kinect 2D , world 3D and projector 2D coordinate systems.
It requires a pointer to the projector window see provided main. The kinectProjector object can be shared among the various objects that need access to depth and conversions functions not multi-thread proof of course. For instance, a SandSurfaceRenderer object can be constructed with a pointer to the kinectProjector shared object. The kinectProjector object then needs to be updated in the update function of the openframeworks app preferably before the objects that use its functions and drawn in the projector draw function.
The source code of Magic Sand itself is a simple example on how to use the main KinectProjector class to make a simple game. The sandSurfaceRenderer class shows example of shaders that can be used to compute color and how to set uniforms. The following function of KinectProjector are of special interest to setup a uniform.
The sampler2DRect received in the shader is normalized between 0 and 1, a conversion scale thus has to be also sent. The most straighforward conversion goes from kinect coordinates to world coordinate system and projector coordinate system. If you want to animate or display objects, a natural choice would thus be to store then in kinect coordinate and to perform the conversion on display.
Another value that can be used is the elevation which is the distance from a point in world coordinate to a 3D base plane of that is defined by:. KinectProjector also store a matrix of gradients of the kinect depth in the world coordinate system slope of the sand computed with a given resolution with a 10 pixels bin by default.
Falling Sand is a cool particle simulation game about nature and how it works and you can play it online and for free on Silvergames. Let seeds fall into the sand, water from the sky and life will start to grow on Earth. Watch what happens when you set a tiny little sparkle mix with gas gathering on the air above the plants and insects. This game leaves you a lot of creative freedom. Try different things and admire the beauty you can create with only a few clicks.
Create something incredible and let it burn down to ashes as soon as you are bored of it and start from scratch.
0コメント