Releases: tehtnaz/sandwichfactory2
Sandwich Factory v4-beta2.1
Reworked DataHandling
- SF files now have a slightly different format
- Whitespace is now skipped, some properties have been removed for simplicity
- MANY more error/warning messages in order to help you make your own levels
- Read converting_from_.sf-v2_to_.sf-v3 for more info
Linux support
- Yes, I know you could have built it yourself before, but now Linux support is official
- Run (./sandwich), the file without a prefix
General Fixes / Improvements
- Update to raylib 4.2
- Most recent versions of files I used in other games have been put here. (checkColliders and animation v2.1)
- Animations are now based on deltaTime (animation v2.1)
- General code cleanup + Lots of unused files removed from the repo / placed in garbage folder
- Build settings changed to strip files, smaller executable file size
Full Changelog: SF-v4-beta...SF-v4-beta2.1
Sandwich Factory v4 Beta
Major Changes
Fixed respawn
Added cutscenes
Added new background for levels 1,2,3
Minor Changes
Unload images after flipAnimation
Updated to match sf-editor
Load File using Command Line (arg 3)
Removed triangles dependency
Fixed level 4, level 11
Added backgroundPath
Collider debug displays grab zone
Sandwich Factory v3.2.0
Changes
You can now load a custom level directory. This means you can make your own game pretty much! Works pretty much the same way as the normal loading system in terms of naming.
Updated how_to_use_.sf_files2 to have more information about worlds (level directory / folder).
parseInt now accepts negative numbers. This means any function that uses it (almost all of them) now accepts negative numbers. eg. parseBoxCollider. You can now have a negative X position in your colliders.
Sandwich Factory v3.1.0
Major Changes
Add level select screen
Minor changes
Fixed portal animation. It now pauses when you pause the game
Sandwich Factory v3.0.1
Forgot to add back the crate in level 12
Sandwich Factory v3.0
Major Changes
- Finished every level
- Levers can now be flipped
- End screen added (not in the original!)
- Added tag system (for doors, levers, portals, disappearing walls)
- Added disappearing walls
- Added coloured doors + levers
Minor Changes
- Ladders now rendered
- GUI is now resizable
- Added camera scrolling
- Goal is now a BoxCollider2D instead of an x position
- Game can be downloaded and compiled/run on replit without any issues
- File loading / collision bug fixes
- Cleaned up a bit of code / file clutter (much more to be done)
- Maximum objects in a level described in how_to_use_.sf_files2
- Added a few more debug options
Potential future changes before game is 100% matching original unity version
- Addition of trappy
- Modificaiton of main menu and addition of level select screen
Sandwich Factory v2.1.0
Major Changes
- Added level 6
- Added ladder support
- Updated to raylib 4.0
- Changed background music
- Player animation now disabled by default. Game must be recompiled to enable it since it isn't a property yet
Minor Changes
- Game starts in windowed mode by default
- Changed array size of box colliders
- Crates now receive more friction when contacting the ground
- Added debug_options text file to describe how to use each debug button
Sandwich Factory v2.0.0
Compared to v1
Major changes
- Support for 2 players
- animation.h now uses sprite sheets instead of texture arrays
- Support for triangle collision (physics manipulation still too buggy to ship)
- headers seperated into seperate source files
- Gui2 finished. Main menu added to Sandwich Factory
- Levels 4 and 5 created
- .sf files now have a new property : isMultiplayer
- as such, multiplayer mode can be enabled (disabled by default now)
-.sf files now accept multiple levers/doors. Use the new properties: leverNum and doorNum to set the correct number of doors and levers
Minor changes
- dataHandling has better debug info.
- All debug output must include [name of function]: [message]
- Error / warning format ERROR: [nameOfFunction] - [message] Warning: [nameOfFunction] - [message]
- camera.h is going to be phased out.
- unless a camera2.h is made
- Window Icon
- Player animations (player one only at the moment)
- checkColliders now uses rect instead of float arrays
- sandwich.exe now acceepts two arguments
- arg1 = vertical resolution
- arg2 = desired fps
- recpp has isPointInRec function
- files cleaned up
- added license to fonts
- Colours added back to debug mode
- Renamed a few functions / arguments so that they make more sense