@zanzlanz

Zanzlanz

Ask @zanzlanz

Sort by:

LatestTop

Previous

Why was the Command Update numbered 1.26.5 instead of 1.27? Commands and updated textures were a big change.

That is kinda weird that so much was released on a non-full-numbered updated. I don't remember what my reason was for that. Maybe I had promised something specific in 1.27 and didn't want to break my promise? Haha
In the changelog it says that it was a mini update, which is funny for how big the changes were:
http://zanzlanz.tumblr.com/post/90686800050
Sorry I don't have a good answer for your question, but thanks to you I just added the 1.26.5 changelog to the "version history" page on the wiki! \o/
Liked by: Crystal ❄️

I love spawning skins but I really wish they could fight for you in an update can you add this?

Rubinoid’s Profile PhotoRubinoid
Now that the mob code is being rewritten for 1.29, custom mob behavior will probably be a thing in some update in the future! Making spawn mobs hostile would be one of the easier uses of that system :)
Also congratulations! This was the 500th answer! :D
Liked by: Crystal ❄️

In Mineblocks, how do you handle unique properties such as the bounciness on Slime Blocks, the slipperiness of Ice Blocks and different block hitboxes (such as slopes)?

PeterGlassJar
Great question :D It's similar to the one I just answered before yours, about modding.
When block properties are general, such as name, color, material, and flammability, for example, they all fall under the blockData structure, which is a massive table of all blocks and items.
Let's take a pumpkin for example (hopefully this looks okay without code formatting):
blockData["pk"] = {
name: "Pumpkin",
identifier: "pumpkin",
tool: false,
mining: {WoodenAxe:25, StoneAxe:25...},
isWood: true,
pistonDrop: true,
flammable: true,
flamRate: 700,
shiftClickBlock: true,
placeable: true,
endermenCanChange: true,
color: "orange"
}
"pk" is the identifier I refer to in the code whenever I want to access the block data. I have a function (getBlockData(id, property)) that will retrieve the block's information easily and still handle any errors, in case a block doesn't exist or something.
But as you can see, each block can have a ton of properties, and it's super easy to add. I can set something to "stairBlock" or "halfBlock" and it will be treated like stairs or slabs for collision.
Now when the behavior of the block is unique, you'll often find it doesn't have a property. Slipperiness and bounciness haven't yet been converted to block data, for example. Currently the system just asks if the block underneath is an ice block, and if so, make the player (and mobs/items) slide.
There's a whole set of behaviors for each block that happen every frame. Or when you place it, break it, or shift-click it. These behaviors are currently scattered throughout the program, a lot of it being directly on a giant "block type" MovieClip which contains instances of all the blocks you see in the world. It's a mess, and everything will eventually be moved to the main code (that'll be in the two updates after 1.29, actually!).
:3

View more

Liked by: PeterGlassJar

Related users

Will you add a modding API to Mine-Blocks 2 or 3?

ZombieKnifer223
Maybe!! It's a bit tricky to make an entire game data-oriented, but there's definitely a good level of flexibility with blocks, for example.
I'll get a bit technical with this, so sorry if it's confusing :3
As you may know, I'm still re-coding Mine Blocks to separate logic from the rendering, which makes it more data-oriented (think of it like... loading a simple text file to determine was properties each mob has, or what color a block is). Right now I'm doing this conversion to mobs.
Let's take skeletons and zombies. They're very similar, and run on the exact same logic now.
However, skeletons have "attackProjectile" enabled and "attackContact" disabled, and that's mostly how their behaviors differ. Skeletons can now shoot projectiles, while zombies can only attack by hitting you. This change is a simple thing that can turn on and off for each type of mob.
They also have different sound effects, animations, and item drops. These are just lists of data that can easily be swapped out during the game, making it extremely easy to "mod" the sound effects of zombies to sound like skeletons, or make all zombies drop 100 lemons when they die. xD
So essentially, a mod would simply be adding a new mob that swaps these various behaviors. It's totally possible to make a creeper that sounds like a wolf, shoots snowballs rapidly, drops diamond pickaxes when it dies, and is only hostile to spiders...
Apart from mobs, this type of system can be applied to blocks, items, player actions, visuals, and so much more. And as soon as you open these systems up for any player to be able to edit, you end up with a modding API!
The one huge limitation right now with a modding API is that it would not be able to support custom code. So, you couldn't make creepers do backflips unless it was officially supported as a mob behavior. If every aspect of the game could be generalized and dynamic, it could have a separate parser for modding which would be a "Mine Blocks Programming Language" in a way. This is what commands in Minecraft are turning into, and I intend to continue making commands more complicated in Mine Blocks to add similar features.
And maybe some day I can be able to get around these complicated limitations by porting Mine Blocks to JavaScript, which allows an "eval" function (it can run code that was passed to it as a text file, during the game).
These issues would apply to both Mine Blocks 2 and 3 as well. It depends what programming languages they'll end up being written in. It'd be really great to design both of them to be fully moddable - it's better to start designing that early, which is super helpful. Mine Blocks has been hard to work with because it was not designed to be flexible like that. With every update, it's been improving a ton though. xD
That was WAY more than you wanted to know! :D But hopefully it was interesting!

View more

Liked by: Crystal ❄️

can you make full screen in mineblocks?

marianoantonette’s Profile PhotoAntonette Mariano
I think so! I know there are some nuances with it (the version of Flash that supports it might not work on Linux, for example), but I'll be looking more into this soon!
I'll definitely want to have this working when the game is written in Haxe, because hopefully it wont blur pixels when using its native resolution (and it wouldn't lower FPS I assume). :D
Liked by: Antonette Mariano

Have you ever tried to make a small game but in the end the idea turned out badly and decided to cancel it? :0

Yes, sure! Usually happens on the first couple days of development. :)
It happened a lot in 2013. But now I normally don't make new projects without a good idea about what I'm going to do :D
(like, none of these games were released: https://vine.co/v/bT7xWVtpPer)

In the next update of mine blocks 2 will the worlds be deleted automatically after updating? D:

Noo, I wouldn't do that!
If I had to, the worst I would do is drop support for the old files, and have a way for people to still play those worlds in the old version of the game. But I don't think I will even have to do that. :)

Is it possible to add more background songs in mine blocks? it would be great! :D

It would be nice to update the music for sure!
I have to be careful though, since music takes up most of the filesize for the game, which means longer loading times, and bigger download sizes. :]

Is there a crafting recipe for fermented spider eye in Mine Blocks? I tried the Minecraft recipe and several variations and none of them work.

Samuel Copeland
Yes, and the recipe is the same as in Minecraft.
It's possible you're running a slightly older version of the game (in which case, you can find the latest version on: my website, Newgrounds, or Kongregate). :D
Is there a crafting recipe for fermented spider eye in Mine Blocks I tried the

Have you planned for mine blocks 3? :D

Well, sorta! This year has been a huge step towards that, as I've learned shader development and I've started working on my first 3D multiplayer game this month (I'll have more info on that soon! You saw a screenshot on Twitter :D). The next steps would probably be working up to a solid C++ engine.
One of the issues is that a lot of games are coming out that implement some of the design that Mine Blocks 3 was going to have, and I don't want to really resemble them (neither on purpose or on accident). :)
Well anyway, I have a handful of project that should have my attention before I do anything with MB3. It's tough to juggle so many things at once, haha.

Have you thought of an anniversary for the 5 years of mine blocks? I think not since it is a game of minecraft but in 2D is the idea is not original so I probably have not thought any special for the 5 years of mine blocks, but, I do not know, I want to know your answer xD

It's going to be the 6th year anniversary next, since I started the game in 2011. :D
I didn't really plan ahead for the anniversary, it just happened too quickly! I should definitely do something for the 10-year one though!

Is ZanzCode? What do you plan to do with your program? :D

The plan is to make a simple cross-platform script + a bunch of tools to make small games. Then allow people to share them with anyone else to play.
I really just wanted something so I could program things on mobile, but I think the idea is can be way bigger than that!

hey zanzlanz, how can i make adventure maps?

Frank J. Hardy
There isn't an adventure game mode, but after you make a cool map, you can save the world as a file on the main menu. Then you can totally send the file to people to play ;3
Liked by: Crystal ❄️

their albums usually begins in February?

I guess! I participated in February Album Writing Month for the last three years.
I probably wont do it again for a while, since it takes too much of my time. xD

what happened to his ZanzCode project?

Nothing much yet. The more I work on Mine Blocks, the less time I have for other projects ;)

5) It'll be possible to add your own blocks or items (like modding the game)? 6) Can u give me all blocks' icons to upload 'em in the Wiki? :v 7) Will you add an option to change the brightness of the game?

Tobias_Alcaraz’s Profile PhotoTobias Nahuel Alcaráz
Each block is a separate assets in the game, so "sending them all" will require several hours of opening them in an image editor, rescaling them, then saving to a unique filename.
So, it's not really a practical thing for me to do right now. I'll be doing it eventually though - possibly in 1.31!

how long does it take for the Hunger Bar to go down

John Kennu
Oh wow, just looked at the code!
The time it takes for your entire hunger bar to deplete:
- 7 hours if you don't move at all... xD
- 19 minutes if you're walking
- 4 minutes if you're sprinting
I'm pretty sure this is correct. But I might have to tweak that now hahah

When will you make mine blocks 3d

Steve blah bla
Mine Blocks 1 is a 2D game. You can't make a 2D game into a 3D game without starting completely from scratch, unless the only difference is the graphics (in which case that's also not feasible for the game, since the amount of content is so huge).
What I usually tell people who want Mine Blocks in 3D, is to just buy Minecraft. It's worth it :D
Liked by: Steve blah bla

zanz MC 1.10 has been relieased if mojang can update a 3d world with new features in 2 months . why cant you update a 2d world in 7 months.

Number of employees at Mojang: 51
Number of employees at Zanzlanz: me
Me:
- Is still in school (at university)
- Self-employed; relies on unpredictable ad revenue to pay expenses
- Has several other important projects
- Has to be the developer, artist, sound designer, web developer, and PR
Mojang:
- Experienced industry developers
- Get steady pay from a 100-billion-dollar company
- Nearly unlimited assets
- Have employees specialized for each part of development
And 2D game development has similar restrictions to 3D game development. It certainly helps make updates out faster though :)
Hope that help you understand!
Liked by: Crystal ❄️

Alex I'd like to know what style of music you like?

I love lots of the EDM type of stuff: "dubstep", d&b, chiptunes, psytrance, glitch... that sort of thing. I also love a good epic movie score! I'm not usually into music with lyrics though.

hey Zanzlanz where could I put a golden apple seed because i tried on dirst is doesn't work Help me please!

You have to plant it in a gold block, like a *true* golden apple tree farmer!

what if i sign a name tag on anvil i sign it "toast" and then its not giving me but why?

Try force-refreshing the page. A few patches came out to fix bugs like that! :)
Liked by: Danidre

Next

Language: English