• Register

I'm an Aussie highschool student in year 12. I code, I music, I play hockey, I code, I play TF2. Oh, and I do homework. I'm making CODENAME LITHIUM, a 2D platformer with a personal story to tell.

Image RSS Feed Latest Screens
Explosion! :D Laser from LasersAndRockets Voxles
Blog RSS Feed Report abuse Latest Blog: Long Time, No Activity

0 comments by Geko_X on Feb 10th, 2013

Yeah... sorry about that. I had a few personal issues come up, including school and my general state of mind. All is good now, and I'm back into CODENAME LITHIUM! I think the break did more good than bad, so even better!

Anyway, progress report.

I had a play with some Minecraft-like voxel terrain generation in Unity. Its a hell of a lot harder than what I thought it would be, which was awesome, because I could spend some time on it. I had to teach myself perlin noise, too. I ended up writing an algorithm, which went something like this:

  1. Make a PNG from the perlin noise function
  2. Read back the PNG, and create a 2D array filled with the red (or blue or green, doesnt matter) value of each pixel
  3. Multiply each value by 1000 (Unity stores colors as floats) and then divide by the height limit
  4. Spawn a cube at position(i, h, j), where i and j are counters in for-loops and h is the height determined before

This worked great, but only for small terains (less than 128*128 voxels, each voxel being a square metre). Anything more, and I started running out of memory. I thought that this was a rendering problem, so I wrote a script to toggle the visibility and colliders of each voxel depending on if you should be able to see it or not, but this just made it run at about 0.1 - 0.5FPS. At this point I called it quits and a semi-successful job. I did learn however, that you should NEVER DO VOXEL TERRAIN IN UNITY. At least, not just for teh lulz.

Screenshot (click for big image):
Voxles

Hmm... what else did I do...?

Oh, yeah, that's right! I made a multiplayerFPS game in a weekend. And by made, I mean "is playable, works, but still is far from done". Again, I used Unity.

Screenshots (click for big images):
Explosion! :D Laser from LasersAndRockets
Aside from that, I spent my time doing school work. Who knew that you'd get a lot of work in your final year? Not me, obviously.

I think that's about it.

Until next time, Geko out. (Hopefully next time will be sooner than last time's next time)

Media RSS Feed Latest Video
Groups
Unity devs

Unity devs

Hobbies & Interests group with 1,207 members, open to all members

For all Unity developers and developers-to-be, both beginners and professionals!

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Level
Avatar
Avatar
Offline Since
Sep 7, 2013
Country
Australia Australia
Gender
Male
Member Watch
Track this member
Statistics
Activity Points
34
Rank
47,685 of 475,666
Watchers
0 members
Time Online
1 second
Comments
1
Site Visits
113
Profile Visitors
1,283 (2 today)
Contact
Private Message
Send Now
Email
Members Only
Twitter

Latest tweets from @geko_x

@Alce_X Thanks! Hope you also have/had a great day too!

Dec 25 2013, 6:51pm

If all goes well, you'll be able to play the demo in a few days. Menus are hard

Dec 25 2013, 6:49pm

I've been slowly coding away at a demo of Gravity while life was being life. Here's a video of it! T.co

Dec 25 2013, 6:48pm

Merry Christmas everyone! I've been pretty inactive for a few months because of life, but let's change that!

Dec 25 2013, 6:46pm

#ScreenshotSaturday time again! Have a video! T.co

Sep 7 2013, 1:18am

My new sounds: SomethingSomething8BitSomething T.co on #SoundCloud

Jul 8 2013, 9:17am

@DarkestKale Just doing my bit to help. Thanks for taking the initiative to make that post. There's some good advice in there

Jul 7 2013, 12:23am

New #gamedev blog post: T.co Not much done this week :P

Jun 15 2013, 3:38am

I have a blog for my SDD Major project! T.co

Jun 10 2013, 6:51am

#ScreenshotSaturday is up! T.co

Jun 7 2013, 11:56pm

No one is friends with Geko_X awww. You should invite your mates to the site, or make new ones.