Skip to content
Permalink
Browse files

Lots of disorganized (mostly) visual overhaul (#156)

* WIP some projectile effects

* fix segfault

* Laser smoothing and glow via post-processing blur magic

TODO: make it optional

* fix memory corruption

* fix memory corruption for realsies now

* fix color_get_hsl for out-of-range colors

* some more bullet flare tweaks

* some lame clear effect workarounds

* spawn bullet flares after frame 0; looks better and fixes some problems

* New baryon explosion; fix petal_explosion; leanify everything

* Add missing bullet flare sprite, rebuild main atlas

* improve batching efficiency with bullet spawn flares

* forgot git add

* Group projectiles/particles by shader where possible

* Another take on baryon explosion; make fg framebuffers 16bit

* WIP some settings for toasters

* remove stupid debug log

* microoptimization that probably does nothing anyway

* somewhat more intuitive quality settings

* Whitelist more particles (MarisaB is on hold)

* Whitelist (and fix) some more stage6 particles (mostly ToE)

* Add a spell name background

* Experimental radial healthbar for bosses

* healthbar tweaks

* thiccer healthbars in response to feedback

* remove healthbar survival timer; just fade out on survivals

* Add linear healthbars option; WIP other boss HUD tweaks

* Use the proper spell card name format

* New font and some random garbage to go along with it

* Generate static font outlines for use in text shaders

* Use outlines in overlay text shader

* Complete boss HUD/healthbar fading logic

* fix boss timer limit

* stage5 bombs explosion effect

* split PFLAG_NOSPAWNZOOM into PFLAG_NOSPAWNFLARE and PFLAG_NOSPAWNFADE;

introduce PFLAG_NOSPAWNEFFECTS which disables both (it's just the two
values OR'd together)

simplify vampiric vapor bullet spawning effect

* Remove spawn fade-in from super-fast stage5 fairy projectiles (limiters)

* lower particle density in v.vapor in minimal mode

* graze effect tweaks

* fix text shortening, tweak replay menu layout

* stupid debug spam

* revisit grazing effects again

* dumb debug spam again

* improve boss attack timer

* overlay effect for boss deaths (similar to the player one)

* spice up spellcard declaration (HUD)

* don't spawn boss death overlay if fleed

* modify Exo2 font to use tabular figures

* adjust replay menu for the font change

* draw timer & power with standard font (phasing out the numbers font)

* WIP new HUD; random fixes/tweaks

* hud: move difficulty indicator

* hud: move debug stuff around

* preloads, mostly

* fix youmuA batching conflict

* shitty workaround for the shitty screenshake shit

* remove extraspell lag by stopping to draw stagebg sooner

which is possible because extra spells have a different spellcard_intro timing. Fun fact of the day: the duration of spellcard_intro is always ATTACK_START_DELAY_EXTRA even for normal spells!

* new stain particle

*  i disabled background rendering…

* "batch" marisa_b masterspark draws

* remove these once a new atlas is generated

* make toe quick again

* hopefully fix all occurences of changed stain and ScaleFade behavior

* tweaking reimu_a and toe boson launch effects

* make lhc fast again

* softer involnerability effect

* fix stage 1 snow on the water bug (and improve performance)

translated the time to the future a bit because it only seemed to be an issue for small time values

* remove unnecessary spawnflare from toe

* tone down extra spell start effect

* experimental ReimuB gap shader optimization

* fix python3 shebangs

* generate simple blur shaders w/ hardcoded kernels

* New loading screen

* lasers: fix incorrect draw hook registration

* add webp support for atlas generator

* Use ImageMagick for atlas composition (adds 16-bit support)

* Atlas maintenance

* make the vampiric vapor bullets less prone to invisibility

* Revert a few particles to the quadratic fade curve

* experimental baryon effect

* improve baryon sprites

* disable the baryon effect on minimal postprocessing setting
  • Loading branch information...
Akaricchi committed Jan 4, 2019
1 parent b2fcbee commit 49d0d54a2ec583c524b0970afdf878987fbfbdcd
Showing 484 changed files with 3,988 additions and 1,709 deletions.
@@ -32,6 +32,8 @@ public domain or CC0 and were not taken by us. Here are some honorary mentions.

* The picture in the loading screen is the Ganges Delta taken by a NASA satellite.
http://earthobservatory.nasa.gov/IOTD/view.php?id=7028
and a picture of the Large Magellanic Cloud
https://images.nasa.gov/details-PIA15254.html

* The mountains in the main menu background are by Luca Zanon.
https://unsplash.com/photos/X0OoHrPvgXE
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN -1 Byte (100%) atlas/common/fairy_circle.png
Binary file not shown.
BIN -1 Byte (100%) atlas/common/fire.frame0006.png
Binary file not shown.
BIN -1 Byte (100%) atlas/common/fire.frame0011.png
Binary file not shown.
BIN -3 Bytes (100%) atlas/common/fire.frame0015.png
Binary file not shown.
BIN -1 Byte (100%) atlas/common/fire.frame0016.png
Binary file not shown.
BIN -1 Byte (100%) atlas/common/fire.frame0023.png
Binary file not shown.
BIN -18.3 KB (10%) atlas/common/hakkero.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
BIN -1 Byte (100%) atlas/common/part/arc.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
BIN -2 Bytes (99%) atlas/common/part/myon.png
Diff not rendered.
BIN -2 Bytes (100%) atlas/common/part/petal.png
Diff not rendered.
Diff not rendered.
Binary file not shown.
BIN -11 Bytes (99%) atlas/common/part/stardust.png
Diff not rendered.
Binary file not shown.
BIN -23 Bytes (100%) atlas/common/part/youmu_slice.png
Diff not rendered.
BIN -8.43 KB (19%) atlas/common/proj/apple.png
Diff not rendered.
BIN -2.47 KB (81%) atlas/common/proj/glowball.png
Diff not rendered.
Diff not rendered.
BIN -1.42 KB (66%) atlas/common/proj/ofuda.png
Diff not rendered.
BIN -2 Bytes (100%) atlas/common/proj/youhoming.png
Diff not rendered.
Diff not rendered.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file not shown.
Binary file not shown.
BIN -1 Byte (100%) atlas/common_ui/menu/logo.png
Diff not rendered.
Binary file not shown.
Diff not rendered.
Diff not rendered.
BIN -2 Bytes (100%) atlas/huge/boss_circle.png
Diff not rendered.
Diff not rendered.
@@ -3,32 +3,54 @@ atlases_dir = meson.current_source_dir()
atlases_overrides_dir = join_paths(atlases_dir, 'overrides')
resources_gfx_dir = join_paths(resources_dir, 'gfx')

atlases = [
'common',
'common_ui',
'huge',
'portraits',
# Args are applied in this order:
# 1. Common args
# 2. Atlas-specific
# 3. Profile-specific

preset_webp = [
# Leanify doesn't handle webp (yet?), so skip it.
'--no-leanify',
'--format', 'webp',
]

preset_png = [
'--leanify',
'--format', 'png',
]

preset_fast = [
# webp encoding is slower (but more efficient)
'--no-leanify',
'--format', 'png',
]

atlas_common_args = [
'--width', '4096',
'--height', '4096',
'--width=4096',
'--height=4096',
'--multiple',
'--crop',

preset_webp,

# Padding to prevent filter bleeding.
# 1 is normally enough, but not when mipmaps are involved.
'--border', '2',
'--border=2'
]

atlas_profiles = [
['', [
'--leanify',
]],
atlases = [
['common', []],
['common_ui', ['--width=1024', '--height=1024']],
['gray16', [preset_png]],
['huge', []],
['portraits', ['--width=2048', '--height=4096']],
]

['-fast', [
'--no-leanify',
]],
atlas_profiles = [
['', []],
['-fast', [preset_fast]],
['-png', [preset_png]],
['-webp', [preset_webp]],
]

foreach profile : atlas_profiles
@@ -37,16 +59,19 @@ foreach profile : atlas_profiles
profile_targets = []

foreach atlas : atlases
atlas_target = 'gen-atlas-@0@@1@'.format(atlas, profile_suffix)
atlas_name = atlas[0]
atlas_args = atlas[1]
atlas_target = 'gen-atlas-@0@@1@'.format(atlas_name, profile_suffix)
profile_targets += atlas_target

run_target(atlas_target,
command : [
gen_atlas_command,
atlases_overrides_dir,
join_paths(atlases_dir, atlas),
join_paths(atlases_dir, atlas_name),
resources_gfx_dir,
atlas_common_args,
atlas_args,
profile_args,
],
)
@@ -0,0 +1,3 @@

w = 16
h = 14
@@ -0,0 +1,3 @@

w = 16
h = 15
@@ -0,0 +1,4 @@

w = 512
h = 512

@@ -0,0 +1,4 @@

w = 512
h = 512

@@ -0,0 +1,3 @@

w = 94
h = 94
@@ -0,0 +1,3 @@

# A large border is needed to accomodate texcoord rotations
border = 47
@@ -0,0 +1,4 @@

w = 32
h = 32

@@ -0,0 +1,4 @@

w = 128
h = 128

@@ -0,0 +1,4 @@

w = 256
h = 88

@@ -1,3 +1,4 @@

w = 100
h = 100
w = 92
h = 92

File renamed without changes.
@@ -0,0 +1,6 @@

Modifications to the original Exo2 font made for Taisei Project:

- Added a glyph for ⅔, based on the other fraction glyphs found in the font.
- Replaced default digits with monospace versions (tabular figures)

File renamed without changes.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 49d0d54

Please sign in to comment.
You can’t perform that action at this time.