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 725 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
May 22, 2013
Country
Australia Australia
Gender
Male
Age
17
Member Watch
Track this member
Statistics
Activity Points
33
Rank
36,402 of 328,176
Watchers
0 members
Time Online
1 second
Comments
1
Site Visits
79
Profile Visitors
832 (2 today)
Contact
Private Message
Send Now
Email
Members Only
Twitter

Latest tweets from @geko_x

#WiiU, anyone? T.co

Apr 24 2013, 9:09pm

Woo! Boosters! T.co #screenshotsaturday

Mar 30 2013, 12:08am

Reddit #screenshotsaturday post done T.co

Mar 30 2013, 12:07am

Writing code in a shitty mood results in shitty code. Who would have thought?

Feb 26 2013, 4:18am

@Seagaia2 Genius

Feb 12 2013, 5:32am

Used "hence" in my physics task conclusion. No way I'll fail now #hence

Feb 11 2013, 4:31am

Used "hence" in my physics task conclusion. No way I'll fail now

Feb 11 2013, 4:22am

Ok, I posted the wrong link last night. Try this one. T.co

Feb 11 2013, 1:22am

@Alce_X Ah, woops! Try this one T.co Thanks for pointing that out. (Those two links look very similar)

Feb 11 2013, 1:22am

So, after a long(ish) while, I guess I'm back T.co

Feb 10 2013, 5:02am

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