Why Not? banner

Why Not?

11 devlogs
30h 21m 47s

A Minecraft Bedrock Preview Addon adding a lot of random stuff. See demo video or download in Github releases.

Demo Repository

Loading README...

SalticHash

Today I added more sounds and also delayed shots to the Z ability, I also added localization and an icon to the pack.
This devlog is quite small and as I would like to display a video I didnt record another one other than the one I’m rendering, I will ship the project for now, you can see the state of the mod in this stage in the youtube video.

Changelog

Attachment
0
SalticHash

Abilities backend

So today I worked on the backend for the abilities, I worked a bit on the Z ability, used by sneaking and use, hold use to charge up to three shots, then release to shoot, then the X ability hold to fire a beam of light, I also added the main backend for the last two abilites, only they are missing now.
I currently have a problem with the camera alignment but I hope to fix it.

Changelog

0
SalticHash

Water Damage

I added the water weakness all fruit users have, when you have the light item, selected or not you will get weakness, slowness, nausea and progressive damage the deeper you get in water, lastly when three blocks deep the player looses control over the character and only if someone else pulled the player out could them be saved.
Also the light spear disappears when you are submerged in water.
I also moved the code around to enforce state machine consistency, as im planning to add the rest of the abilities next, for now without a lot of assets or sound effects.

Changelog

0
SalticHash

Code Overhaul

  • Removed hardcoded values and added their respective configurable constants
  • Expanded Player polyfill with all dictionaries that were managed outside of the player object
  • Made all sounds play in the world instead of only the player making them hearing them
  • Added dash cooldown

Changelog

0
SalticHash

(This video should be smoother than the others) (It was not…)

Add Dash & Change trail particle system

  • Added camera preset to set player position as audio listener, this improves the volume and clarity of all sounds.
  • Changed light trails to use same persistent particles as light spin trail, in doing so removed redundant light_trail particle and renamed light_spin_trail particle to light_trail particle
  • Removed unused volumes in sound_definitions
  • Made the last particle positions reset when starting flying and made a new system to store those values per player reflecting the removal of old light trail system
  • Made new light trail particles shrink so the light trails “fades away”, this was possible thanks to new light trails system

Added dash:

  • Added dash particles
  • Added dash sound

Changelog

0
SalticHash

Visual Improvements to Light Flight!

  • Added light trail and spin trail when using light flight, also added animated light start particle in player position
  • Hid the light staff (actually called spear) when flying
  • Improved fall damage ignore when moon jump and exit light flight
  • Restructured code to use state system
  • Added no gravity state to player for smoother light flight

Added new assets:

  • Light spin trail particle
  • Light trail particle
  • Light star particle

Also:

  • Updated and fixed the draw line and spawn line utility functions
  • Added PI to math general utilities

Yap:

This update was HEAVY for me, a lot of time was spent making the light trail and fixing the line particles, luckily now that thats done I will be able to reuse the functions later.
Actually the spinning light trails was faster because it uses the timed particles to make the trails automatically disappear and I’m considering making the full light trail also do that.
The light star on the player was managed with one tick particles which I set the frame each time they are spawned, this is the best workaround as there is no way to move particles.
I finally hid the light spear!
I still havent fixed the audio volume issues as the camera is far away.
I made it so the camera zooms out when picking up the light item.
I may start working on the other abilities next!
The video is a bit laggy for some reason.

Changelog

0
SalticHash

I added the start and loop sounds to the light flight, only the particle and trail are missing (and figuring out how to hide the light staff)
I also added the moon jump / sky jump / air jump, you can only airjump when you hold the staff, you can air jump up to 10 times.
As I added the air jump I had to make shift space be for flight and space for the air jump, next I think Ill also add dash but I dont know with which key, maybe just shift?

Changelog

0
SalticHash

Okay so I added the Light Flight ability, I also setup a cooldown system and states so the next abilities will be easier to add but I still need to add the sounds and graphics for the light flight.
To use the light flight you hold the Light item and jump midair, the flight will continue until you stop holding jump and you will also bounce of any wall you hit, to turn you angle your view but it snaps in 45deg angles so the turn has to be significant.
For now you become invisible but a shining light particle should be in place.

Changelog

0
SalticHash

After a ton of crazy testing debugging and help from people in the Minecraft Addons and OSS channels I managed to get the light staff’s glow working, The model is just a base model then two more layers inflated around the base, they have different alphas and colors and combined with the wind_charge_material they glow beautifully!
This was not fun at all but finally got it done, now time for the attacks!

Changelog

Attachment
Attachment
0
SalticHash

I decide that I am going to recreate the Light Fruit from Blox Fruits, for now I’ve added the Light and Light Fruit, eating the Light Fruit gives you Light, when you hold it you can use a light sword.
I STILL HAVE NOT FOUND A WAY TO FIX THE OUTLINE

Changelog

0
SalticHash

This is the first addition of this addon, anytime you open a menu you have a 12% chance that this meme video will play.
Adding it had some complications mainly in the json ui and syncing part of the code.

Changelog

0