combine stories together
This commit is contained in:
		
							parent
							
								
									2a76e9334f
								
							
						
					
					
						commit
						dd42cb06fe
					
				
							
								
								
									
										117
									
								
								dist/shattered_sword_assets/jsons/level1story.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										117
									
								
								dist/shattered_sword_assets/jsons/level1story.json
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -21,12 +21,114 @@
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "speaker": "",
 | 
					            "speaker": "",
 | 
				
			||||||
            "content": "Press A/LEFT to go LEFT and D/RIGHT to go right",
 | 
					            "content": "There was the legendary royal greatsword that would grant great power to its wielder",
 | 
				
			||||||
            "actions": [
 | 
					            "actions": [
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    "type": "hideSprite",
 | 
					                    "type": "hideSprite",
 | 
				
			||||||
                    "key": "storymode"
 | 
					                    "key": "storymode"
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "type": "loadSprite",
 | 
				
			||||||
 | 
					                    "key": "sword",
 | 
				
			||||||
 | 
					                    "path": "shattered_sword_assets/images/story1.png",
 | 
				
			||||||
 | 
					                    "positon": [
 | 
				
			||||||
 | 
					                        300,
 | 
				
			||||||
 | 
					                        150
 | 
				
			||||||
 | 
					                    ],
 | 
				
			||||||
 | 
					                    "scale": [
 | 
				
			||||||
 | 
					                        4,
 | 
				
			||||||
 | 
					                        4
 | 
				
			||||||
 | 
					                    ]
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "speaker": "",
 | 
				
			||||||
 | 
					            "content": "But an evil monster shattered it into 6 pieces",
 | 
				
			||||||
 | 
					            "actions": [
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "type": "hideSprite",
 | 
				
			||||||
 | 
					                    "key": "sword"
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "type": "loadSprite",
 | 
				
			||||||
 | 
					                    "key": "sword_shattered",
 | 
				
			||||||
 | 
					                    "path": "shattered_sword_assets/images/story2.png",
 | 
				
			||||||
 | 
					                    "positon": [
 | 
				
			||||||
 | 
					                        300,
 | 
				
			||||||
 | 
					                        150
 | 
				
			||||||
 | 
					                    ],
 | 
				
			||||||
 | 
					                    "scale": [
 | 
				
			||||||
 | 
					                        4,
 | 
				
			||||||
 | 
					                        4
 | 
				
			||||||
 | 
					                    ]
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "speaker": "",
 | 
				
			||||||
 | 
					            "content": "Hiro is the only surviving prince from the kingdom destroyed by the monster",
 | 
				
			||||||
 | 
					            "actions": [
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "type": "hideSprite",
 | 
				
			||||||
 | 
					                    "key": "sword_shattered"
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "type": "loadSprite",
 | 
				
			||||||
 | 
					                    "key": "hiro_appear",
 | 
				
			||||||
 | 
					                    "path": "shattered_sword_assets/images/story3.png",
 | 
				
			||||||
 | 
					                    "positon": [
 | 
				
			||||||
 | 
					                        300,
 | 
				
			||||||
 | 
					                        150
 | 
				
			||||||
 | 
					                    ],
 | 
				
			||||||
 | 
					                    "scale": [
 | 
				
			||||||
 | 
					                        4,
 | 
				
			||||||
 | 
					                        4
 | 
				
			||||||
 | 
					                    ]
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "speaker": "Hiro",
 | 
				
			||||||
 | 
					            "content": "To bring prosperity back to the kingdom...",
 | 
				
			||||||
 | 
					            "actions": [
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "type": "hideSprite",
 | 
				
			||||||
 | 
					                    "key": "hiro_appear"
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "type": "loadSprite",
 | 
				
			||||||
 | 
					                    "key": "hiro_sword",
 | 
				
			||||||
 | 
					                    "path": "shattered_sword_assets/images/story4.png",
 | 
				
			||||||
 | 
					                    "positon": [
 | 
				
			||||||
 | 
					                        300,
 | 
				
			||||||
 | 
					                        150
 | 
				
			||||||
 | 
					                    ],
 | 
				
			||||||
 | 
					                    "scale": [
 | 
				
			||||||
 | 
					                        4,
 | 
				
			||||||
 | 
					                        4
 | 
				
			||||||
 | 
					                    ]
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "speaker": "Hiro",
 | 
				
			||||||
 | 
					            "content": "I must go on the journey to collect the pieces of the sword... and kill the monster!",
 | 
				
			||||||
 | 
					            "actions": [
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "type": "showSprite",
 | 
				
			||||||
 | 
					                    "key": "hiro_sword"
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "speaker": "",
 | 
				
			||||||
 | 
					            "content": "Press A/LEFT to go LEFT and D/RIGHT to go right",
 | 
				
			||||||
 | 
					            "actions": [
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "type": "hideSprite",
 | 
				
			||||||
 | 
					                    "key": "hiro_sword"
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    "type": "loadSprite",
 | 
					                    "type": "loadSprite",
 | 
				
			||||||
                    "key": "rightleft",
 | 
					                    "key": "rightleft",
 | 
				
			||||||
| 
						 | 
					@ -191,17 +293,8 @@
 | 
				
			||||||
            "content": "Snakes can fall from the sky at any moment, and apply poison when they hit you.",
 | 
					            "content": "Snakes can fall from the sky at any moment, and apply poison when they hit you.",
 | 
				
			||||||
            "actions": [
 | 
					            "actions": [
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    "type": "loadSprite",
 | 
					                    "type": "showSprite",
 | 
				
			||||||
                    "key": "enemies",
 | 
					                    "key": "enemies"
 | 
				
			||||||
                    "path": "shattered_sword_assets/images/forest_story1.png",
 | 
					 | 
				
			||||||
                    "positon": [
 | 
					 | 
				
			||||||
                        300,
 | 
					 | 
				
			||||||
                        150
 | 
					 | 
				
			||||||
                    ],
 | 
					 | 
				
			||||||
                    "scale": [
 | 
					 | 
				
			||||||
                        3,
 | 
					 | 
				
			||||||
                        3
 | 
					 | 
				
			||||||
                    ]
 | 
					 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            ]
 | 
					            ]
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user