User prompt
No put the positin back just make it bigger
User prompt
Good bow mak it. Little bigger
User prompt
Pur th text in the kiddoe of the button
User prompt
Make thw buton a lot bigger
User prompt
Scale it out to the button
User prompt
I di bot seethw text make it viible
User prompt
Makethe button bigger
User prompt
Please fix the bug: 'undefined is not a constructor (evaluating 'new LK.Button({ text: '20$ +1 worker', fontSize: 30, width: 200, height: 100, x: 1848, // Position the button on the right hand corner y: 0 })')' in or related to this line: 'var button = new LK.Button({' Line Number: 15
User prompt
Put a button on the right hand corner with a text on it saying 20$ +1 worker
User prompt
Make a background
Initial prompt
Dhs
/****
* Initialize Game
****/
//<Assets used in the game will automatically appear here>
//<Write imports for supported plugins here>
//<Write entity 'classes' with empty functions for important behavior here>
var game = new LK.Game({
backgroundColor: 0xFFFFFF //Init game with white background
});
/****
* Game Code
****/
; ===================================================================
--- original.js
+++ change.js
@@ -1,9 +1,14 @@
-/****
+/****
* Initialize Game
-****/
+****/
//<Assets used in the game will automatically appear here>
//<Write imports for supported plugins here>
//<Write entity 'classes' with empty functions for important behavior here>
var game = new LK.Game({
- backgroundColor: 0x000000 //Init game with black background
-});
\ No newline at end of file
+ backgroundColor: 0xFFFFFF //Init game with white background
+});
+
+/****
+* Game Code
+****/
+;
\ No newline at end of file