[Game] Pixture

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Game] Pixture

by rubenwardy » Post

It just happens that dump() exports Lua readable code, it's not guaranteed to stay that way.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Sokomine
Member
Posts: 4287
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Game] Pixture

by Sokomine » Post

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 :-)
A list of my mods can be found here.

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

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:

Code: Select all

function default.dumpvec(v)
    return v.x..":"..v.y..":"..v.z
end
Never paint white stripes on roads near Zebra crossings.

Pixture

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [Game] Pixture

by jp » Post

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.

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

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
Last edited by kaadmy on Thu Sep 10, 2015 15:44, edited 1 time in total.
Never paint white stripes on roads near Zebra crossings.

Pixture

necron099
Member
Posts: 63
Joined: Wed Feb 27, 2013 16:10
Location: Florida

Re: [Game] Pixture

by necron099 » Post

I got this error today when I tried to place a bookshelf.

Code: Select all

-------------
  Separator  
-------------

Pixture [loaded] functions
Pixture [loaded] nodes
Pixture [loaded] crafting
Pixture [loaded] tools
Pixture [loaded] furnace
Pixture [loaded] mapgen
Pixture [loaded] hud
Pixture [loaded] player
Pixture [loaded] mod:default
Pixture [loaded] mod:weather
Pixture [loaded] nodes
Pixture [loaded] plants
Pixture [loaded] craft
Pixture [loaded] mod:farming
Pixture [loaded] mod:bed
Pixture [loaded] mod:tnt
Pixture [loaded] mod:mobs
Pixture [loaded] mod:village
Pixture [loaded] jewels
Pixture [loaded] mod:jewels
Pixture [loaded] mod:item_drop
[hunger] 'singleplayer' has 20 hunger and is saturated to 39%
Pixture [loaded] mod:door
Pixture [loaded] mod:builtin_item
2015-09-10 11:22:37: ACTION[Main]:         .__               __                   __   
2015-09-10 11:22:37: ACTION[Main]:   _____ |__| ____   _____/  |_  ____   _______/  |_ 
2015-09-10 11:22:37: ACTION[Main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
2015-09-10 11:22:37: ACTION[Main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  |  
2015-09-10 11:22:37: ACTION[Main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__|  
2015-09-10 11:22:37: ACTION[Main]:       \/        \/     \/          \/     \/        
2015-09-10 11:22:37: ACTION[Main]: World at [/home/fred/linuxgames/minetest0413-dev/bin/../worlds/2pix]
2015-09-10 11:22:37: ACTION[Main]: Server for gameid="pixture" listening on 0.0.0.0:63553.
Got 77 craftable items
2015-09-10 11:22:39: ACTION[Server]: singleplayer [127.0.0.1] joins game. 
2015-09-10 11:22:39: ACTION[Server]: singleplayer joins game. List of players: singleplayer
2015-09-10 11:22:39: ACTION[Main]: Irrlicht: Could not open file of texture: character.png
2015-09-10 11:22:39: ACTION[Main]: Irrlicht: Could not open file of texture: character.png
2015-09-10 11:22:48: ACTION[Server]: singleplayer places node default:bookshelf at (-401,2,291)
2015-09-10 11:22:48: ACTION[Server]: facedir: 3
2015-09-10 11:22:48: ERROR[Main]: ServerError: Lua: Runtime error from mod 'default' in callback item_OnPlace(): Runtime error from mod 'default' in callback node_on_construct(): ...test0413-dev/bin/../games/pixture/mods/default/nodes.lua:447: attempt to call field 'get_slot_bg' (a nil value)
2015-09-10 11:22:48: ERROR[Main]: stack traceback:
2015-09-10 11:22:48: ERROR[Main]: 	...test0413-dev/bin/../games/pixture/mods/default/nodes.lua:447: in function <...test0413-dev/bin/../games/pixture/mods/default/nodes.lua:443>
2015-09-10 11:22:48: ERROR[Main]: 	[C]: in function 'add_node'
2015-09-10 11:22:48: ERROR[Main]: 	...linuxgames/minetest0413-dev/bin/../builtin/game/item.lua:276: in function <...linuxgames/minetest0413-dev/bin/../builtin/game/item.lua:191>
2015-09-10 11:22:48: ERROR[Main]: stack traceback:
2015-09-10 11:22:48: ERROR[Main]: 	[C]: in function 'add_node'
2015-09-10 11:22:48: ERROR[Main]: 	...linuxgames/minetest0413-dev/bin/../builtin/game/item.lua:276: in function <...linuxgames/minetest0413-dev/bin/../builtin/game/item.lua:191>
2015-09-10 11:22:48: ACTION[Server]: singleplayer leaves game. List of players: 

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

All right, bookshelves work in the latest version, I just forgot to change the formspec after I reworked the UI system.
Never paint white stripes on roads near Zebra crossings.

Pixture

necron099
Member
Posts: 63
Joined: Wed Feb 27, 2013 16:10
Location: Florida

Re: [Game] Pixture

by necron099 » Post

I see that jewels spawn in chests, but are they going to mined in the future? Are the enchantments random or does it depend on the material and type of tool?

Also default:leaves are craftable into fiber what about birch and oak leaves?

Lovin' the mineturtle, at first I didn't think they were hostile, until it was too late, great drops though...

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

necron099 wrote:I see that jewels spawn in chests, but are they going to mined in the future?
Currently jewels can only be gotten from trading with NPCs and villlages, but my plan is to have them hidden in the Deep Forests in tree houses.
necron099 wrote:Are the enchantments random or does it depend on the material and type of tool?
It's chosen randomly from a list of possible effects.
necron099 wrote:Also default:leaves are craftable into fiber what about birch and oak leaves?
Whoops! It's a bug, it's fixed now.
necron099 wrote:Lovin' the mineturtle, at first I didn't think they were hostile, until it was too late, great drops though...
It can't be hostile, can it ;) It's got a cute smile and runs towards you >=}
Never paint white stripes on roads near Zebra crossings.

Pixture

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Game] Pixture

by Inocudom » Post

Image
There look of this subgame is very unique and its sound effects are quite impressive.
Attachments
PixtureGoodness.png
PixtureGoodness.png (728.62 KiB) Viewed 886 times

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Game] Pixture

by Minetestforfun » Post

Wow, really great work !

necron099
Member
Posts: 63
Joined: Wed Feb 27, 2013 16:10
Location: Florida

Re: [Game] Pixture

by necron099 » Post

You had mentioned disabling weather in an earlier post which causes a ton of lag for me (especially snow). But I missed the rain, so I commented out references to snowstorm in the init.lua file. It doesn't snow but it still rains, and the lag is not nearly as bad.

Also glad that when tnt explodes it doesn't cause a huge forest fire. The trees spawning in your game are pretty cool too.

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

necron099 wrote:You had mentioned disabling weather in an earlier post which causes a ton of lag for me (especially snow). But I missed the rain, so I commented out references to snowstorm in the init.lua file. It doesn't snow but it still rains, and the lag is not nearly as bad.
I know that snow has bad performance right now, i'll need to find a way to improve that.
I'll probably just redo the entire weather system some day.
Never paint white stripes on roads near Zebra crossings.

Pixture

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Game] Pixture

by Minetestforfun » Post

An easy way to avoid lags with the weather mod/snowdrift/snowdrift_forks/etc... is to tweak the configuration file in your world directory, in my servers i used snow mod tweaked and it never lags.

Keep up the good work, your subgame is really well done !

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

Inocudom wrote:There look of this subgame is very unique and its sound effects are quite impressive.
The art style is based of VoXus, and the sounds are mostly from one of Kenney's CC0 art packs.
Never paint white stripes on roads near Zebra crossings.

Pixture

necron099
Member
Posts: 63
Joined: Wed Feb 27, 2013 16:10
Location: Florida

Re: [Game] Pixture

by necron099 » Post

Kaadmy, I like it that you can go into the crafting guide, armor, and inventory when accessing a chest or furnace, are you planning on making a tab to go back to the furnace or chest so I don't have close the formspec and re-open it?

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

I was originally going to do that, but after you see how bad MT handles formspecs, I think anybody would probably quit trying to do that :)
I could take another stab at it, but it might not work.
Never paint white stripes on roads near Zebra crossings.

Pixture

User avatar
stormchaser3000
Member
Posts: 422
Joined: Sun Oct 06, 2013 21:02
GitHub: stormchaser3000

Re: [Game] Pixture

by stormchaser3000 » Post

i tried this on mac os x and found nothing but desert O_o

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

OSX shouldn't make a difference, this has nothing system-specific, try using a different seed and or mapgen(v6 might not work, I use v7 and v5 for everything)
Never paint white stripes on roads near Zebra crossings.

Pixture

User avatar
Esteban
Member
Posts: 873
Joined: Sun Sep 08, 2013 13:26
In-game: Esteban
Contact:

Re: [Game] Pixture

by Esteban » Post

I was one of those who got super-hyped for Voxus, so it's good to see that someone managed to make full release from the few things Kenney displayed.
What I love the most from your game are the sprites. They look so smooth and are very nice to look at!
Thanks for making this game! :D
Scan avatar or click here to read a Message of Hope (PDF)

User avatar
eduardomezencio
Member
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: [Game] Pixture

by eduardomezencio » Post

Do you intend to declare Pixture ready to be bundled with minetest anytime soon? The community would definitely vote for it.

And by the way, do you have any kind of roadmap with the things that you want the game to have in the future listed?

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

There are many bugs/kinks that I intend to work out ASAP, like the weather and villages.
Here's some features that I plan on doing soon:
  • Better player model
  • Third person wielditem
  • More diverse mobs
  • Better weather(Right now, it's based off a fixed seed and uses the same pattern every time you start playing with the same map seed)
  • Balance crafting recipes
  • A storyline?
I might declare this as a release fairly soon, after some more polishing up :)
Never paint white stripes on roads near Zebra crossings.

Pixture

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Game] Pixture

by kaadmy » Post

Esteban wrote:I was one of those who got super-hyped for Voxus, so it's good to see that someone managed to make full release from the few things Kenney displayed.
What I love the most from your game are the sprites. They look so smooth and are very nice to look at!
Thanks for making this game! :D
Thanks :D
I started this before Kenney cancelled his VoXus, and after he cancelled it, I figured I might as well start to go it the same direction, use a cartoon/survival style.
Never paint white stripes on roads near Zebra crossings.

Pixture

User avatar
eduardomezencio
Member
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: [Game] Pixture

by eduardomezencio » Post

Nice.
kaadmy wrote:A storyline?
I would definitely be in favor of that. I think since this game is already pretty unique in visuals, audio, crafting recipes, etc, it would fit nicely to also have a unique story behind, with some type of progression, even if very loose.

Of course you can make a release and then improve the game little by little after that..

User avatar
eduardomezencio
Member
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: [Game] Pixture

by eduardomezencio » Post

By the way, are villages not spawning right now or they are just very hard to find? I even tried using the seed you recommended, but could not find one...

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests