Wednesday, August 31, 2016

Flappy Bird Lesson Using Scratch

I've made a version of the game "Flappy Bird" using the drag and drop coding environment, Scratch. Kids seem to respond well to this environment. On Saturday at the library, I'll be doing a class that teaches how to create this game using included assets. Hopefully I can include video of the lesson.

Here's a video of the game: https://drive.google.com/open?id=0B5AauB4MKwieRHhqYVRrU21uQzg

Here's the project: https://scratch.mit.edu/projects/119594189/

Sunday, August 28, 2016

Dayz 3D Map Updated

Click here for the 3D Map

I've made a number of changes and updates. Let me know if it runs ok or if there's anything you'd really like to see!

Navigation - I'm not entirely confident in the accuracy of the heightmap data so I've opted not to include pathfinding / navigation. I've included the assets in the source if you want to turn it on and mess around with it though. I'd timed the running speed of the character on the airstrip in-game, then timed the speed of the agent in Unity to make sure the agent speed is accurate.

Movement - I've changed the movement to use a free-fly approach. Thanks to the Unity community for some help there. You can change movement speed with the mousewheel.

Textures - I've included a normal map in the textures and altered the base material to negate some rendering issues. I've also updated the terrain to display a higher res version of the texture at further distances

Lighting - I've included a sun that goes up and down for day/night and also rotates for each day, changing it's position in the sky. Use Z,X,C to alter sun movement speed

Misc - Added town names in English and Cyrillic and made them face the camera and alpha out when getting too close. Added some controls for resetting the scene (Space) and cleaned up lots of little things that I don't immediately recall. Added screen text for controls and credits. I've also tweaked the terrain a bit since it didn't seem to match the ingame map 1:1.

Here's the source project (uses Unity 5.4.0b15). Feel free to modify it as you like. Please let me know if so and please credit me if you do. Thanks to rhennigan for the height map.

Saturday, August 27, 2016

DayZ Map 3D

I've got my hands on a heightmap for DayZ, allowing me to make a 3D map in Unity. I've whipped up a prototype with improvements to come. I'll release the source once it's all done as well.

Click: Set Destination
Ctrl+Click: Teleport
Space: Stop
Scroll: Zoom
1,2,3,4,5: Change map texture

Check it out here