chrisgregan
6d5a58a202
Improved page box background
...
Updated page prefabs to use new box background
11 years ago
chrisgregan
69e034058e
Fixed partially written words jumping to next line due to word wrap
...
Fixed by inserting extra line breaks just before a word would cause a
word wrap to occur.
11 years ago
chrisgregan
71eb606014
Fixed characters per second calculation for writing text
...
Setting Game.charactersPerSecond to zero writes instantly
11 years ago
chrisgregan
4b47435acd
Page font sizes are now specified as a fraction of screen height
11 years ago
chrisgregan
0e36980c65
Renamed StartGameMusic to StartMusic and StopGameMusic to StopMusic
11 years ago
chrisgregan
96956cf108
Made Game.activeRoom the first property in inspector
11 years ago
chrisgregan
551154298e
Updated Game prefab to match Game object in example scene.
11 years ago
chrisgregan
3c422f234c
Miscellaneous refactors to hide complexity
...
- Added GameController facade class to hide complexity and provide a
single place to access all Fungus functionality
- Removed existing facade methods on Game (redundant)
- Removed Room.OnLeave (not necessary, and possibly dangerous)
- Renamed AnimationListener.OnAnimationEvent() to CallRoomMethod (more
descriptive).
- Button component will now use existing Collider2D if one exists.
- Game component now manages CameraController configuration
- Game now adds CameraController and CommandQueue at runtime instead of
in editor (less user configuration)
- CommandQueue now owns the methods for executing command methods
- Added StringTable class to manage key/string lookups
- Moved SubstituteStrings() and FormatLinkText() to new StringTable
class
- Room.Enter() method is now private to hide implementation details
- Updated example project to match changes
11 years ago
chrisgregan
188ee7fba7
Updated Room template to give better examples
11 years ago
chrisgregan
9435f1255e
Tidy up Start() function comment
11 years ago
chrisgregan
c80f0db7aa
Only show story text on first visit in AudioRoom example
11 years ago
chrisgregan
c334ad4c84
All Room names now appear when any room is selected.
11 years ago
chrisgregan
e003e844d2
Added audio commands and new audio example room.
...
- PlayGameMusic()
- StopGameMusic()
- SetMusicVolume()
- PlaySound()
11 years ago
chrisgregan
7d9eaafe40
Added PanToViewPath() command to smoothly pan along a path
...
- Added iTween to support camera tweening. It’s in the Fungus namespace
so shouldn’t interfere with any other iTween instance in your game.
- Added an option on Views room to show PanToPath()
11 years ago
chrisgregan
4ac09b0660
Refactored CameraController to use a coroutine for Pan.
11 years ago
chrisgregan
653d3722d1
Renamed AnimationEventListener to AnimationListener
11 years ago
chrisgregan
f35a690080
Changed order of mushroom fade in example room
11 years ago
chrisgregan
4f40c9c06f
New AddButton() and RemoveButton() room methods
...
Use AddButton() to make any sprite clickable
Use RemoveButton() to remove clickable functionality
11 years ago
chrisgregan
b4c530aead
Fixed layer order issue in Sprites Room
11 years ago
chrisgregan
ab4207ef84
Animation Event Listener now uses the event string parameter to call a room method with the same name.
11 years ago
chrisgregan
105f0400c8
Replaced SpriteController with SpriteFader component.
...
The new way to fade a sprite is to attach a SpriteFader component to
the sprite at runtime (instead of doing in at design time in the
editor).
11 years ago
chrisgregan
4452879a4d
Make sure blue alien is visible next time you visit Sprites Room.
11 years ago
chrisgregan
32217223e8
Refactored example room names.
11 years ago
chrisgregan
43c92bc0e8
Added build dir to .gitignore
11 years ago
chrisgregan
352c148310
Ignore .userprefs
11 years ago
chrisgregan
458d887491
Added animation example.
11 years ago
chrisgregan
ff9c0cf4c8
Renamed Example to FungusExample
11 years ago
chrisgregan
9815b36c4d
Update README.md
11 years ago
chrisgregan
64755cd9eb
Update README.md
11 years ago
chrisgregan
bb63f68743
Update README.md
11 years ago
chrisgregan
718f9e971d
Update README.md
11 years ago
chrisgregan
f9df8a24d5
Update README.md
11 years ago
chrisgregan
e131f34d09
Update README.md
11 years ago
chrisgregan
0c43d4b56a
Update README.md
11 years ago
chrisgregan
a447b8d490
Delete Fungus.userprefs
11 years ago
chrisgregan
a72dcd4016
Added Fungus library and example files
11 years ago
chrisgregan
4a3d028f22
Initial commit
11 years ago