Skip to content

Commit

Permalink
Finish v3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hsandt committed Aug 27, 2020
2 parents d38b9a1 + 5df56e2 commit 519b191
Show file tree
Hide file tree
Showing 58 changed files with 5,109 additions and 1,537 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "pico-boots"]
path = pico-boots
url = ../pico-boots.git
url = https://github.com/hsandt/pico-boots.git
20 changes: 15 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Do not trigger Travis if commit message contains "(WIP)" or "#no_travis" (case-insensitive)
if: commit_message !~ /(\(WIP\)|#no_travis)/

os: linux

language: python # Can use any language here, but if it's not 'python'
Expand Down Expand Up @@ -52,20 +55,27 @@ before_script:
- ln -s "$(pwd)/tool/picotool-master/p8tool" "$HOME/.local/bin/p8tool"

script:
# build game and itest to make sure everything works fine
# (even if build fails, tests will be run independently thanks to busted)
# disabled build_game.sh debug because character count may get over 65536
# easily when working at the limit, and build release is what really counts
# (although it's bad sign for us if we cannot debug the game)
# - ./build_game.sh debug
- ./build_game.sh release
# disabled build_itest.sh in Travis until strings are compressed
# because character count is over 65536 and that systematically failed the build
# while build release works fine
# - ./build_itest.sh
# test (including rendered headless itests thanks to ENABLE_RENDER=1)
- ./test.sh -m all
# coverage
- bash <(curl -s https://codecov.io/bash)
# build game and itest to make sure everything works fine
- ./build_game.sh debug
- ./build_game.sh release
- ./build_itest.sh

deploy:
provider: releases
api_key:
secure: bfXQQ0AXGHgXiq0xOxhYQ2AXX/flQnxJh/+eA/HUGfwdoPDq0QTdqFA/3jEMWkJSsFKEBVKDjJGCt24QPxUIjTu91r1wyCNdL2KlNfnogRjWAVutRZxB/OC2HWR3kJtPjkFQBCsOXHBxGI3hMJL7LWr5WfNsSGMbcRMfvphxFT3ER8XBHAUEJY6roITm6noHroqQt8Uye+0+rkGqJ8QslKRqq8qBZMZeOiOrh6SBdlhsGw0KqNno/dMXQxx2ZCrh/VUeWjNvxzXe/mZjfBPbhvyecN7jz+FytEdAhdt1Dy37hhyOAkDfxLGGsH1YAAfinH8uFwoSRo0MH8fuhdXpT7jUXuAgP9/RS0FEiZDdX+J/FdncCbnoDfE9B4Dt3L3srISeiNwxKK5sx2kzyWvftK30pV1+zEgnbVEKGPIIeGb5wYWSCmzHf+CfLMk+bzeznTrpo/irY/vjoRBefNaVWXqLygrNWxM1uIMJae+OA3MYeUSYd1lpCyRw98i3GC7si68M9OaDeLoDjnqOLqvhurB/RmLzCU7mCYipn2kxykAOdevWN73cyx9VhdFy2GPE5VDw6EO6ZQP04KaeYxP2pgR4ts2kYWpVvf1PGg+2yN4QMkVhrWV+6dG2jtUO0BrCqt5Tpw0I3C3aFmBjjzFBBuKsZpr2yUG3roxnu1Dhww0=
file: build/picosonic_v3.0_release.p8
file: build/picosonic_v3.2_release.p8
on:
tags: 'true'
skip_cleanup: 'true'
108 changes: 108 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.2] - 2020-08-25
### Added
- Loop quadrant system (walk at any angle, jump orthogonally)

## [3.1] - 2020-08-11
### Added
- Angel Island tiles
- Serialization module (represent data as string)

### Changed
- Original feature: Reduced Deceleration on Descending Slope
- Original feature: No Friction on Steep Descending Slope
- Original feature: Progressive Ascending Slope Factor
- Set minimum playback speed for Running animation
- Reduced tokens heavily by extracting code in modules and using data serialization

## [3.0] - 2020-07-11
### Added
- Game: split airborne state into falling and air_spin to only play Spin animation on jump
- Game: when going airborne/grounded, adapt height and center position so Sonic hits the ceiling when we expect by looking at the sprite
- Test: convert itests to new DSL system

### Changed
- Project: extracted engine as submodule pico-boots, adapted build pipeline
- Game: set pink as transparent color for Sonic sprites to match new…
- Game: preserve last animation (including playback speed) when falling
- Game: only allow ceiling detection during descending motion if abs(vel.x) > abs(vel.y)
- Test: improved itests

## [2.3-sprite-anim] - 2019-05-16
### Added
- Engine: sprite animation system
- Game: press X to toggle debug motion
- Game: added air motion block with wall, ceiling and landing
- Game: character running animation
- Game: character can run on slopes
- Test: added itest for running up a slope
- Test: convert itests to new DSL system

### Changed
- Project: split engine and game folders properly
- Engine: misc logging fixes
- Game: clamp ground speed on acceleration
- Game: fixed sticky jump input during jump
- Game: fixed air motion pixel flooring system

## [2.2] - 2018-10-31
### Added
- Game: added Air Spin sprite used when airborne
- Test: completed 100% coverage on player character

### Changed
- Game: fixed ground speed accumulating during wall block
- Game: character is blocked by ceiling and diagonal tiles
- Game: cleaner wall block by cutting subpixels

## [2.1] - 2018-10-27
### Added
- Game: character snaps to lower ground when walking
- Game: character falls when walking off a cliff
- Game: character can jump with air control (X axis motion)
- Game: apply artificial gravity after jump interrupt, allow hop on 1-frame jumps

## [2.0-flat-ground] - 2018-09-09
### Added
- Game: character can walk on flat ground
- Test: added support for #solo for headless itests

## [2.0-land] - 2018-09-08
### Added
- Game: blue sky background
- Game: added gravity, character can fall and land on ground
- Test: integration (simulation) test system aka "itests"

### Changed
- Engine: improved logging, classes, math

## [1.0] - 2018-07-06
### Added
- Engine: application: constants, flow with gamestates
- Engine: core modules: class, coroutine, helper, math
- Engine: debug tools: codetuner, logging, profiler using WTK
- Engine: input: mouse input and button IDs
- Engine: render: color constants and sprite render
- Engine: UI: render mouse and overlay system
- Engine: build: basic build pipeline with data.p8 and post-build replace strings script
- Game: gamestates title menu, in-game, credits (empty)
- Game: menu: simple titlemenu to start the debug stage
- Game: in-game: stage shows title on start, plays BGM, has goal
- Game: in-game: debug character flies X/Y on directional input, go back to title menu on reach goal
- Test: all busted unit tests in separator folder tests

[Unreleased]: https://github.com/hsandt/sonic-pico8/compare/v3.0...HEAD
[3.1]: https://github.com/hsandt/sonic-pico8/compare/v3.0-sprite-anim...v3.1
[3.0]: https://github.com/hsandt/sonic-pico8/compare/v2.3-sprite-anim...v3.0
[2.3-sprite-anim]: https://github.com/hsandt/sonic-pico8/compare/v2.2...v2.3-sprite-anim
[2.2]: https://github.com/hsandt/sonic-pico8/compare/v2.1...v2.2
[2.1]: https://github.com/hsandt/sonic-pico8/compare/v2.0-flat-ground...v2.1
[2.0-flat-ground]: https://github.com/hsandt/sonic-pico8/compare/v2.0-land...v2.0-flat-ground
[2.0-land]: https://github.com/hsandt/sonic-pico8/compare/v1.0-framework...v2.0-land
[1.0-framework]: https://github.com/hsandt/sonic-pico8/releases/tag/v1.0-framework
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ This is a fan game distributed for free and is not endorsed by Sega Games Co., L

It is currently under development.

## Compatibility

Works with PICO-8 0.2.0i and 0.2.1b.

## Features

Version: 3.0
Version: 3.2

### Physics

Expand Down
Loading

0 comments on commit 519b191

Please sign in to comment.