Page 1 of 8

[Game] Pixture

PostPosted: Sun Sep 06, 2015 01:05
by kaadmy
Image
Pixture

About
This is a subgame that I've been working on for a while now.

The graphics design is inspired by Kenney's cancelled subgame, VoXus.

It features completely new graphics, and several new and unique mods.
The goal of this was to create a subgame playable without any mods, and to have a very small download size.

Note: This subgame uses different node/item naming, so most mods will be incompatible.

+ Features

+ Screenshots


Licenses
  • Textures are all CC BY-SA 4.0
  • Sounds are mostly CC0, some GPLv2 in the weather mod(Hopefully these will be replaced with public domain sounds soon), and some are CC BY-SA 4.0
  • Source is LGPLv2.1, except for the mobs API(MIT).

Download

Just unzip into the ~/.minetest/games/ folder.

Servers
Want to try it out i multiplayer?
Connect to pixture.quelcom.xyz, port 30000
No interact is given by default; do "/pm [melzua|void7|kaadmy] Can I have interact?"; A moderator can give you privs next time they join.

Note: expect occasional crashes, this isn't complete or perfect in any way yet.

Re: [Game] Pixture

PostPosted: Sun Sep 06, 2015 07:55
by cd2
wow, that looks really cool :D

Re: [Game] Pixture

PostPosted: Sun Sep 06, 2015 15:12
by kaadmy
cd2 wrote:wow, that looks really cool :D

Thanks :)
Have you played it yet, and if you have, how well does it play?
I know there's some problems with it still.

Re: [Game] Pixture

PostPosted: Sun Sep 06, 2015 22:19
by necron099
Hi Kaadmy,

I played with this for a couple of hours last night, and today, and it's very good. It's a little tough starting if you don't spawn near some apple trees. Maybe your hunger goes down too fast?

The good: The UI, random villages and villagers, crafting (finally a use for grass), only 3 pages of inventory, crafting guide, the music box, and simple farming.

Keep up the good work.

Re: [Game] Pixture

PostPosted: Sun Sep 06, 2015 22:31
by kaadmy
necron099 wrote:the music box

So, somebody noticed the music players :)

necron099 wrote:Maybe your hunger goes down too fast?

I know it goes down a bit fast, most of my testing I did with one seed which spawned me near villages, and with a few minutes of playtesting, I found out that you don't usually spawn near villages or apple trees.
Also, you can sprint(Fast mode), which makes you hungry quite a bit faster.
EDIT: The git repo now has hunger 50% slower.

necron099 wrote:random villages and villagers

I'll also have to fix villages, they spawn a bit patchy right now, I use mgv7's decorations to place them(Ingenious idea, IMO.)
Villages(I call them NPCs) have pretty fixed trading, too.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 10:52
by 4aiman
Quite "toony" :)

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 13:22
by jp
I rarely seen such quality on 16px textures, good work. You should release a texture pack with various original
things.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 15:00
by kaadmy
4aiman wrote:Quite "toony" :)

Well, that was the goal.

jp wrote:I rarely seen such quality on 16px textures, good work. You should release a texture pack with various original
things.

They were inspired by Kenney's game, Voxus.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 16:06
by benrob0329
I like it, but is the blood necessary? It is ultimately your subgame (you dlid a great job!), but not everyone likes to have blood when they punch something.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 16:13
by jp
They were inspired by Kenney's game, Voxus.

Hope this helps...

Image

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 16:17
by kaadmy
Did Kenney actually release the original images, or are those re-makes?

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 16:35
by Dartmouth
I think he did somewhere in the thread :)

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 16:54
by kaadmy
Dartmouth wrote:I think he did somewhere in the thread :)

I just went through the whole Voxus thread, didn't find anywhere him releasing the original textures.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 16:55
by kaadmy
benrob0329 wrote:[...]but not everyone likes to have blood when they punch something.

It's just in the mobs mod I included, I can disable them if you'd like.
Edit: Disabled blood on mobs.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 18:23
by benrob0329
Thanks, I don't mind the dirt and such flying, so you could edit the blood texture too.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 18:27
by Dragonop
Hm I don't think you can use the textures Kenney created.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 19:07
by kaadmy
Dragonop wrote:Hm I don't think you can use the textures Kenney created.

That's what I thought, too...

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 19:27
by Casimir
At first glance the game feels smooth and beautiful. The most of the textures are very good. Values are well chosen and mapgen seems to have a balanced variety without being stuffed or entropic. Of course there are several bugs, but you are in the phase of creating something, you should not worry to much about the small things. (Let me just name those two: Crash as I used the craft guide. Big spikes in cpu use make the game go 0 fps every few seconds.) I don't like the walk and dig sounds that much, you might look out for some softer ones.
Your game also shows what Kenny complained about: With the current engine it is not possible to create a pixel-perfect UI.

What are your general goals in this game? What kind of feeling do you want to create? Which way do you want to go?

btw.: Kenny released some relevant textures on opengameart. But actually I like those used by kaadmy more.
http://opengameart.org/content/voxel-pack
http://opengameart.org/content/pixel-ui-pack-750-assets

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 20:14
by kaadmy
Casimir wrote:Crash as I used the craft guide

Hmm, that's never happened with me before. It works fine, are you using MT 0.4.13? I use things that I think have been added in 0.4.13.

Casimir wrote:Big spikes in cpu use make the game go 0 fps every few seconds.)

Probably weather, i've had problems with it before. Try disabling the weather_enable setting in the pixture/minetest.conf file.

Casimir wrote:What are your general goals in this game? What kind of feeling do you want to create? Which way do you want to go?

I wanted this to be a mininal-styled subgame, playable without any other mods(It doesn't have any active mod support), and I wanted a cartoonish small-person-in-a-small-world kind of feeling.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 20:59
by Casimir
Using 4.13. But it could also be an engine bug.
Disabling weather does remove the spices.

Re: [Game] Pixture

PostPosted: Mon Sep 07, 2015 21:36
by kaadmy
Casimir wrote:Disabling weather does remove the spices.

Good to hear, i'm doing weather very inefficently right now using ABMs, planning on fixing that soon.

Re: [Game] Pixture

PostPosted: Tue Sep 08, 2015 23:33
by Sokomine
As you might imagine, I'm particulary intrested in how you solved the problem of the villages :-) I flew around for some time but sadly didn't find any :-( Perhaps I'd have to wait some time in one region for it to actually appear?

Eventually, I spawned your villages manually by placing the spawner node. The villages are tiny but nice. There does not seem to be much variety? I do like the paths that are slightly lower than the sourrounding terrain and have included that in my mg_villages as well.

Re: [Game] Pixture

PostPosted: Tue Sep 08, 2015 23:40
by kaadmy
Sokomine wrote: I'm particulary intrested in how you solved the problem of the villages :-)

Actually, I spawn them a very simple way; I use mapgen decorations that only spawn in the biomes that I want them to, then use an ABM that spawns a village 1% of the time.

Sokomine wrote:I flew around for some time but sadly didn't find any

Use the seed "pt" when you create a new world, I used that for testing and it has mountains, forests, and villages near where you spawn.

Village generation code: https://github.com/kaadmy/pixture/blob/ ... nerate.lua
Village mapgen code: https://github.com/kaadmy/pixture/blob/ ... mapgen.lua

Edit: GH links

Re: [Game] Pixture

PostPosted: Wed Sep 09, 2015 07:32
by jp
I've spotted some dump() in https://github.com/kaadmy/pixture/blob/ ... nerate.lua.

dump() is only designed for the display in a console, readable by anything other than a human.
Use tostring() or minetest.serialize() (even combined with a pattern-matching), which are faster and more consistent here.

Re: [Game] Pixture

PostPosted: Wed Sep 09, 2015 15:46
by kaadmy
jp wrote:Use tostring() or minetest.serialize()

Here's what I got with a bit of testing:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
10000 iterations with dump({x=0,y=50,z=100}) took 290.00ms
10000 iterations with tostring({x=0,y=50,z=100}) took 50.00ms
10000 iterations with minetest.serialize({x=0,y=50,z=100}) took 700.00ms
10000 iterations with (function({x=0,y=50,z=100}) return v.x..":"..v.y..":"..v.z end) took 100.00ms

So, I should probably use tostring() :)
Edit: the tostring() function returns something like
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
table: 0x9ba29b0

so I'll settle with my custom function as above.

Re: [Game] Pixture

PostPosted: Wed Sep 09, 2015 16:39
by rubenwardy
It just happens that dump() exports Lua readable code, it's not guaranteed to stay that way.

Re: [Game] Pixture

PostPosted: Wed Sep 09, 2015 16:42
by Sokomine
Printing output occours pretty seldom; thus, high performance in that regard may be less important than in other areas. After all there's only a limited amount of messages you can print without hoplessly spamming the debug log beyound anything human-readable :-)

Re: [Game] Pixture

PostPosted: Wed Sep 09, 2015 16:43
by kaadmy
rubenwardy wrote:It just happens that dump() exports Lua readable code, it's not guaranteed to stay that way.

I'm using a custom function for dumping vectors now; it's much faster than minetest.serialize or dump.
This is pretty much it:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
function default.dumpvec(v)
    return v.x..":"..v.y..":"..v.z
end

Re: [Game] Pixture

PostPosted: Wed Sep 09, 2015 17:35
by jp
Sokomine wrote:Printing output occours pretty seldom; thus, high performance in that regard may be less important than in other areas.

Of course but this is not what I was pointing out. Using dump() for the console output is appropriate; elsewhere is what I'd call a hacky way.

Interesting benchmark, though.

Re: [Game] Pixture

PostPosted: Wed Sep 09, 2015 18:27
by kaadmy
jp wrote:Interesting benchmark, though.

Change the line that says testing_enable in games/pixture/minetest.conf to true, it prints it out when you start a singleplayer world or server.
It's a mod I added in a few minutes.
Edit: typos