Skip to content

HPEngine 1.0.0

Choose a tag to compare

@artemnikonov artemnikonov released this 29 Nov 09:54
· 16 commits to main since this release

HPEngine leaves beta. Updating from 0.5.x: the launcher updates itself; your game, saves, settings and mods stay where they are.

Note: the author has not played either campaign through to the end on this release (see Known issues in the README); the
changes below were checked by comparing the port with the running original game.

Fixed (Chamber of Secrets):

  • Story progression follows the original more closely: a cutscene that starts a level, travel inside the same map, and
    the order of sounds across loads now match the original on the cases checked.
  • Duels: on every duel map the game now decides when a shield or spell touches something the way the original does
    (Expelliarmus shield against sound zones, block, win and lose paths).
  • Spell casting, Lumos and Diffindo aiming, and other input paths work as in the original.
  • Fewer visual differences in some places: surfaces that were wrongly drawn see-through (e.g. grates and trim in the
    Adv11 corridor), the Lumos light inside fog, particle and sprite draw order in several maps.
  • A bouncing card dropped onto a moving platform lands on it (Ch6 elevator); doors and platforms at the original's
    precision; a character's lip-sync mouth now stops moving when the voice line ends.

Fixed (Philosopher's Stone):

  • Textures that the original marks as masked or unfiltered are drawn that way from the first frame of a level.
  • Lights, fog and particles in some levels (e.g. torches, dungeon) match the original's frames more closely.

Fixed (both games):

  • Moving platforms and box collisions match the original exactly.
  • Resizing the window or toggling fullscreen no longer freezes the game for a moment waiting for the window.
  • Several differences in loading order of classes, which could change which of two overlapping effects is drawn on top.

Changed (both games):

  • Loading stutter: after a map load the first frame follows the original's timing rules; later frames are given a
    0.1 s minimum so time-based triggers (e.g. the start music in some HP1 levels) fire reliably (not original).
  • Pixels that no surface covers (views past the edge of the world, hairline gaps in level geometry) are always black.
    The original shows the previous frame's pixels there; black was kept on purpose (not original).
  • Chamber of Secrets: the French and Spanish editions are not supported yet; English and Russian are.
  • Measured against the original more broadly (frames, sound, story progression, duels).

Faster (both games; the game logic still runs at the original's 60 ticks per second and was checked unchanged):

  • Drawing is no longer capped at 120 frames per second: it follows the display's refresh rate (60, 120, 144, 240 Hz
    give the same game).
  • Start-up: Philosopher's Stone reaches the menu about 0.7 s sooner, Chamber of Secrets about 2 s sooner; the first
    moment of an HP2 level and the HP2 level changes are 0.1-0.4 s shorter.
  • Less work per frame in busy levels (e.g. the HP2 Entry Hall), far less memory churn while drawing, and a shorter pause
    when saving in Chamber of Secrets.