User prompt
After intro has faded in make flyby asset move from right side to left of screen ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
When scrolling stops fade in intro asset in the middle of the screen ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Change time from 3 seconds to 5 seconds ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Make the title scroll up very slowly ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Stop scrolling after 3 seconds ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
After flyby has left the screen slowly scroll title up till the end of image ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Make flyby start at the right side of screen and move off the left side ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Make flyby hover up and down ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Move flyby up 500
User prompt
Add flyby asset to title
User prompt
Add flyby to title ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Move title up 100
User prompt
Scroll title up very slowly ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Move title down 500
User prompt
Move title down 800
User prompt
Move title down 1000
User prompt
Scroll scene up slowly and stop at the end of the image ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Move title down 500
User prompt
Move title down 500
User prompt
Scroll scene up slowly for 8 seconds ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Scroll scene up slowly for 3 seconds ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Scroll scene up slowly ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Add title asset
User prompt
Slow down scrolling ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Make picture high definition
/**** * Plugins ****/ var tween = LK.import("@upit/tween.v1"); /**** * Classes ****/ // Defense class var Defense = Container.expand(function () { var self = Container.call(this); var defenseGraphics = self.attachAsset('defense', { anchorX: 0.5, anchorY: 0.5 }); self.update = function () { // Defense logic goes here }; }); // Enemy class var Enemy = Container.expand(function () { var self = Container.call(this); var enemyGraphics = self.attachAsset('enemy', { anchorX: 0.5, anchorY: 0.5 }); self.update = function () { // Enemy logic goes here }; }); // Assets will be automatically created and loaded by the LK engine // Tower class var Tower = Container.expand(function () { var self = Container.call(this); var towerGraphics = self.attachAsset('tower', { anchorX: 0.5, anchorY: 0.5 }); self.update = function () { // Tower logic goes here }; }); /**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 //Init game with black background }); /**** * Game Code ****/ // Import tween plugin // Display the title var titleImage = game.addChild(LK.getAsset('Title', { anchorX: 0.5, anchorY: 0.5, x: 2048 / 2, y: 2732 / 2 + 1400 })); // Add flyby asset to title - start at right side of screen var flybyImage = game.addChild(LK.getAsset('Flyby', { anchorX: 0.5, anchorY: 0.5, x: 2048 + 375, y: 2732 / 2 + 1400 - 500 })); // Store the original Y position for flyby var flybyOriginalY = flybyImage.y; // Create hover animation function function startFlybyHover() { // Tween up 50 pixels over 2 seconds tween(flybyImage, { y: flybyOriginalY - 50 }, { duration: 2000, easing: tween.easeInOut, onFinish: function onFinish() { // Tween down 50 pixels over 2 seconds tween(flybyImage, { y: flybyOriginalY + 50 }, { duration: 2000, easing: tween.easeInOut, onFinish: function onFinish() { // Start the cycle again startFlybyHover(); } }); } }); } // Start the hover animation startFlybyHover(); // Start flyby movement from right to left tween(flybyImage, { x: -375 }, { duration: 8000, easing: tween.linear, onFinish: function onFinish() { // After flyby has left the screen, slowly scroll title up tween(titleImage, { y: titleImage.y - titleImage.height }, { duration: 20000, easing: tween.easeOut }); // Stop the title scrolling after 5 seconds LK.setTimeout(function () { tween.stop(titleImage, { y: true }); // Fade in intro asset in the middle of the screen var introAsset = game.addChild(LK.getAsset('intro', { anchorX: 0.5, anchorY: 0.5, x: 2048 / 2, y: 2732 / 2, alpha: 0 })); // Tween alpha from 0 to 1 for fade-in effect tween(introAsset, { alpha: 1 }, { duration: 2000, easing: tween.easeInOut, onFinish: function onFinish() { // After intro has faded in, make flyby move from right to left flybyImage.x = 2048 + 375; // Reset flyby to right side flybyImage.y = 2732 / 2; // Position in middle of screen tween(flybyImage, { x: -375 }, { duration: 4000, easing: tween.linear }); } }); }, 5000); } }); ;
===================================================================
--- original.js
+++ change.js
@@ -124,9 +124,20 @@
tween(introAsset, {
alpha: 1
}, {
duration: 2000,
- easing: tween.easeInOut
+ easing: tween.easeInOut,
+ onFinish: function onFinish() {
+ // After intro has faded in, make flyby move from right to left
+ flybyImage.x = 2048 + 375; // Reset flyby to right side
+ flybyImage.y = 2732 / 2; // Position in middle of screen
+ tween(flybyImage, {
+ x: -375
+ }, {
+ duration: 4000,
+ easing: tween.linear
+ });
+ }
});
}, 5000);
}
});
White circle with two eyes, seen from above.. In-Game asset. 2d. High contrast. No shadows
White simple circular enemy seen from above, black outline. Black eyes, with a single shield in-font of it. Black and white only. Blue background.
White circle with black outline. Blue background.. In-Game asset. 2d. High contrast. No shadows
Fire hydrant. In-Game asset. 2d. High contrast. No shadows
Water spraying forward In-Game asset. 2d. High contrast. No shadows
Fart cloud. In-Game asset. 2d. High contrast. No shadows
Fan blades symmetrical. In-Game asset. 2d. High contrast. No shadows
Fireball. In-Game asset. 2d. High contrast. No shadows
Plasma ball. In-Game asset. 2d. High contrast. No shadows
Make picture transparent
Bug zapper on a pole. In-Game asset. 2d. High contrast. No shadows
Probe droid. In-Game asset. 2d. High contrast. No shadows
Space drone. In-Game asset. 2d. High contrast. No shadows
Remove propellers and make them symmetrical
Add more rows to gris
Make this picture with more night sky above the city skyline
Change text to say wave 1
Make button grey and say ??????
Make it say Wave 2
Make it say wave 3
Make it say wave 4
WiFi symbol. In-Game asset. 2d. High contrast. No shadows
explosion effect In-Game asset. 2d. High contrast. No shadows
Make it say wave 5
Remove laser beam
Make button hot pink and say 'Reflect $20'
Make button blue and change text to say 'Water $10' in a retro style font
Make button green and change test to say 'Gas $20'
Make button orange and change test to say 'Fire $40'
Make button very light blue and change test to say 'Air $30'
Make button gold and change text to say 'Electric $50'
Make button purple and change test to say 'Plasma $60'
Make button Teal and change test to say 'Slingshot $100'
Make button silver and change test to say 'WiFi $150'
Remove little kick so it's just a smooth oval shape
Make grid 6x8
Hand should be holding the gun by the Handle
Place laser cannon in both hands holding it like a shotgun
Make it stand still
Remove the words 5g
Make sure spelling in speech bubble is correct "We have found the earthlings weakness"
Fix the spelling of the word Planet
Slingshot. In-Game asset. 2d. High contrast. No shadows
Red button with a 'X' on it. In-Game asset. 2d. High contrast. No shadows
Green button with a tick on it
Fix the spelling of word saw
Canvasser
Sound effect
Alien1
Sound effect
Alien2
Sound effect
Alien3
Sound effect
Intro
Music
Probedroid
Sound effect
Probedroid2
Sound effect
Towerselect
Sound effect
Water
Sound effect
Explosion
Sound effect
Confirm
Sound effect
Fart
Sound effect
Electric
Sound effect
Fireball
Sound effect