Author Archives: Kaalus

Distance limit

There’s one issue with multiple players that I haven’t worked out how to deal with yet.

The problem is, the game engine does not support having players very far from each other. The maximum allowed distance is about 4000 blocks, and I could make it up to 16000 if really needed, but either way it is finite. At some point, if players keep walking in opposite directions, there will be trouble.

From the gameplay perspective this is not a big deal, because having players so far away from each other is pointless. It essentially degrades the game to a singleplayer game, as players cannot interact with each other without walking back for many days first.

However, there needs to be some mechanism that prevents players from going too far from each other and breaking the game.

“Hard wall” limit is simple to do, but has a major drawback. If one player started to build something, the other player can screw it up by just walking in one direction. At some point, the first player will no longer be able to move away from the 2nd player and parts of his build will become inaccessible.

If you have a better idea how to do it, please share in comments!

 

Thanks for the skins!

Please keep them coming. I’ve got many already, but with each new one there’s some fresh ideas.

Yes, I will probably modify female model slightly to better differentiate it from male. It’s probably best to avoid long hair – there’s no good way of making it properly animate (currently it will just look stuck to the back of the body and not rotate with the head).

Please remember: no clothing other than boxer shorts/bras. File format must be PNG (potentially renamed to .scskin), size 64×64.

human11.pnghuman9.pnghuman12.pnghuman4.png

Thank you!

Skins Request

As you know from the last post, I am adding capability to have multiple players in the same world.

Of course, it looks silly if they all look the same:

LongJohns

(nice long johns!)

What we need is several built-in skins, so that every guy can look different.

I am currently on a short skiing holiday, but have a laptop with me and I’m doing some coding in spare time. There’s still a plethora of things to fix and add before 2.1 can be released.

I am worried that this is going to take too long. I figured out what you can do to help, if you want! Make the skins.

What we are after are both male and female skins. Here’s the requirements:

  • They must be in the same style as the default guy and they must be real men/women (no monsters, clowns, slendermen etc.)
  • They might have different skin color (black, asian, mulatto etc.)
  • They must be clothed in boxer shorts only (male) or shorts + bra only (female). No other clothing.
  • Size must be 64×64 pixels (like the default skin).

Easiest to make them by modifying the default skin:

Human.png

If you make anything, please send png images to candyrufusgames@gmail.com

Please test them in-game before sending!

Big thanks!

This is what I am working on

I have finally got to a point where I think the big thing in 2.1 will work, so here’s what it is.

Is it multiplayer?

It isn’t. But it also is! That’s what I am talking about:

Splitscreen1.jpg

In the photo above, my kids are testing split screen in Challenging mode, trying to grab some wood before the night comes.

Up to 4 people can play:

Splitscreen2.jpg

All of the above screenshots were taken on a PC. One person plays with a mouse, the rest uses gamepads.

What about phones and tablets? Well, it’s more difficult. You can mirror the device’s screen on a TV and use gamepads to play (I am adding gamepad support in 2.1).

But below is an experimental setup that might just work on 10″ tablets without TVs or pads:

Splitscreen4.jpg

The players use opposite sides of the tablet.

I don’t have much hopes this is very comfortable for any length of time, and probably it’s a dud, but the possibility is there.

Today I quickly hacked the terrain generator so that it generates a small island surrounded by ocean only. I played with my kids for a couple of hours in Challenging using 3-way splitscreen, trying to survive on the island. There was no pumpkins, and the only cows were in a cold part of the island, where we could not get without proper clothes. My son was hunting birds with a stone spear to keep us alive (three people need a lot of birds not to starve), my daughter was improving our little house on top of a tree, while I was preparing a farm near the water (we had no bucket yet). It was a blast! Real fun.

During the last month I refactored the code out of all recognition, and it now supports UI that is upside down (funky!) and most importantly having multiple players in the same world.

Now I need to dispel any misunderstandings. This is not multiplayer – all players must play on the same computer/phone/tablet. But yes, you can have many players.

Also, it is badly unfinished still. Plenty of details are wrong. For example if one player goes to sleep, time speeds up about 10x and everyone else is pretty much screwed :-)

Anyway, I hope you get the idea, and I must tell you after playing with my kids, I’ve not had so much fun with a game for a long time! If you have siblings or friends I think you’ll like it too.

[EDIT]

I was reading your comments, and I think you guys are amazing. I posted a couple of puny screenshots and you are already finding bugs! Someone noticed that the temperature meter is invisible for some players in the screenshots – so well spotted! I didn’t notice it. It took me 5 minutes to figure out why they are invisible – if only everything was so simple. It’s not a bug in this case – the players are in a cold area and the bars are flashing – that’s why some of them are invisible in the screenshots :-) But thanks anyway, the fact that you are looking so closely made my day.

 

Colors

The big thing is progressing, but still no cigar.

Yesterday I took a little break from working on it to add something quick that I always wanted to have: customizable colors palette.

palette

palette2

You can change all 16 available colors to whatever you want. The colors are saved with the world and do not affect other worlds.

You can now have browns, oranges and whatnot. I am sure the builds will become a lot more interesting (or psychodelic) from 2.1 on.

Ah yes, clothes are affected too, of course. Here’s how it looks in the world:

palette3

Getting there

I think I have cleared all major obstacles on the way to the big new feature for 2.1. What remains are plenty of minor things and a tiny detail – actually making it playable! That means adding loads of new UI.

I have been working on this monster flat out for almost three weeks now. My list of “things to check when I’m finished” (i.e. whether they are not broken) contains pretty much everything that is in the game.

I hope I’ll be able to show something to you soon.

 

Still working…

Nothing to show so far, but I made big progress. I think we are on the right track here. Several big chunks of work that were very risky are out of the way and working. However, there’s still a few left that can derail the whole thing – chief among them is terrain refactoring work that I am starting just now; I need it for the new feature to work.

Yesterday I was actually looking for some sort of git visualisation tool to boost my ego by seeing how many code changes I made over the last week. Sadly I haven’t found anything practical, otherwise I’d have shown you a nicely spiking graph! In brief, I am averaging about ten commits per day with each commit spanning a hundred or more files. Pretty much rewrote half of the game in the last two weeks.

I feel bad writing so much and showing nothing, but it’s too early for reveals, so you’ll just have to bear with me and wait a little longer :-)

Bogged down

A few days ago I had a brainwave and started working on a very promising idea for 2.1. Unfortunately it seems the amount of work to get it done is absolutely massive. I am currently bogged down, knee deep in classes, almost rewriting entire game from scratch. Maybe it’s an exaggeration, but I am touching almost every bit of code there is. The amount of bugs I am unwittingly introducing must be staggering.

mud.jpg

The problems are caused by some assumptions I hardcoded into the game from day one (5 years ago), so they are deeply entrenched and very hard to root out now.

As much as I would love to, I can’t tell you what the thing is until I am sure it will work. At the moment it seems lightyears away! I hope I am wrong here. At least yesterday the game started compiling again, but lots of things are broken.

If I manage to complete it, it will be grand. If I fail, I’ll have to revert and go back to what I was doing at the start of the week, which was not bad in itself and much easier :-)

 

JB modern house

I’ve been looking through community content, and there are some great new builds there. If you haven’t seen “JB modern house” (it’s near the top) – check it out.

It has loads of awesome modern furniture. Computers, offices, TVs, bathrooms, kitchens, living areas, leisure areas. Must have taken huge amount of work. Kudos to JB!

ModernHouse.jpg

If you have good ideas on how to further improve furniture in the following updates – please let me know in comments. I am after realistic and workable stuff, ideally from people who spent some time making furniture. Experience is scarce at the moment. Please, no random lists full of rayguns, jedis, and star treks :-)

Btw. I’ve unpinned a lot of old cruft in Community Content so that it does not hog the top of the list. There’s now less than 30 items permanently pinned to the top as opposed to hundreds before 2.0 update.

 

Survivalcraft Prehistory

I don’t know if any of you here remembers the first release of Survivalcraft on Windows Phone 7. It was in November 2011, over 5 years ago.

I was digging though the old emails and found some old source code from the time before the first release. The code dates shortly after I started working on the game. It represents maybe a month or two of work.

Survivalcraft August 2011.jpg

It’s not much, but it already has smooth radiosity lighting that some of Minecraft clones lack even today :-)

If you have a PC at hand and want to try it out for yourself, here’s the link:

Survivalcraft Dev August 2011

There’s both debug and release builds included and you need to install XNA framework redistributable (included in zip) for it to work.

I find it hard to believe that scarcely 1.5 months after this build I had a working game with inventory, crafting, proper UI, world generation etc. released on Windows Phone. Must have been working like a madman.