khleug35

Members
  • Content Count

    111
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by khleug35

  1. Update: 2018-01-06 -New Android version, you can download the game from google play. Google Store Link -add an explosion when the player dies by enemies -add arrow instruction for each stage. -improved the initial load time, and add a loading screen -Bug fix
  2. @Wolfsbane Thank you for playing I agree with you, the initial load time seemed quite slow My Game is 20mb and the music file is 15mb I guess I need to learn the loader skill at panda2.io, thx
  3. Great Game!!!!! I love your graphics
  4. khleug35

    Coyote

    Very funny game, I love it, the animals is cute
  5. @MerryArcade Thanks for your comment!!! I will add an animation when the player dies and sound for next version. @pstrejczek Thanks for your comment!!! hope you enjoy it,
  6. @Wolfsbane Thank you for help, your code is clear and helpful .
  7. @enpu Thanks, I updated 1.6.0 to 1.6.1, and my problem is solved Google Store Link I'm sorry for asking such a stupid question.........
  8. I tried to use Cordova to build apk for my game and upload to google play console. it uploaded successfully I hope that I can using Panda2 Editor to build apk and upload to google play console. but google play always show I uploaded debuggable apk, any idea? or I missed a step??? Thanks
  9. Hello everyone and happy new year. I am very happy to create my new HTML5 platformer game made using Panda2. http://www.html5gamedevs.com/topic/41924-panda2-dead-gunner/ I tried to use Panda2 to build apk file and publish this to play store, finally, I unsuccessful The following is my step Firstly, I follow the tutorial to create keystore https://support.magplus.com/hc/en-us/articles/204270928-Android-Kindle-Fire-Creating-a-Keystore-File http://docs.phonegap.com/phonegap-build/signing/android/ Here is my code keytool -genkey -v -keystore super-key.keystore -alias superalias -keyalg RSA -keysize 2048 -validity 1000 After i have created my keystore file(super-key.keystore) and place it at the root of my project folder and fill in the input field to the Android Signing settings: and click 'Build' button Panda2 is built the release.apk successfully. but when I upload to play store, it still displays debuggable error Do I need to create a config.xml file and type this script android:debuggable="false" on it??? or I missed a step??? Thank you so much. thanks
  10. Hello Everyone. My new HTML5 platormer game made using Panda2, this is my first Panda2 game, it is very good html5 engine, I am very enjoy to use it This game can play on mobile or desktop Special thanks to @Wolfsbane and @enpu teaching me coding skill, really thanks try the game in here : https://superfranco.itch.io/dead-gunner Full Gameplay Update: 2018-01-11 -Add checkpoint to Stage1-2 -Change the shoot button and jump button positions Update: 2018-01-06 -New Android version, you can download the game from google play. Google Store Link -add an explosion when the player dies by enemies -add arrow instruction for each stage. -improved the initial load time, and add a loading screen -Bug fix Screenshot Password Stage1 clear- 1234 Stage1 && Stage2 clear- 5678 Stage1 && Stage2 && Stage3 clear- 9981 Stage1 && Stage2 && Stage4 clear- 1516 Stage1 && Stage3 clear- 3412 Stage1 && Stage4 clear- 6666 Stage2 clear- 2234 Stage2 && Stage3 clear- 3274 Stage2 && Stage3 && Stage4 clear- 4234 Stage2 && Stage4 clear- 5734 Stage3 clear- 9527 Stage3 && Stage4 clear- 1314 Stage4 clear- 9991 Stage1 && Stage2 && Stage3 && Stage4 clear- 0964 Final Boss Fight- 0007 thank you for your playing, hope you enjoy __________________________________________________________________________________________________________________________________ Control Left key - Left Run Right key- Right Run Up - Up direction Z Key - Shoot X or Space Key- Jump Hold Up key and press down Z Key - Up Shoot P key - Pause Game R key - Quit game( Pause mode) Gracphic Designer: Surt https://opengameart.org/users/surt https://opengameart.org/content/dead-gunner and some Gracphic download from https://opengameart.org/ Game Music: All music use by Kenyuu Densetsu Yaiba(Game Boy) game Present by Banpresto Takashi Horiguchi Game Engine: Panda2 https://www.panda2.io
  11. khleug35

    DEL

    I forgot to crop screen, I remember that it displays "This page isn't working The 500 Internal Server Error" but I just use the following link to test is it mainland China blocked panda2.io, the status's result is OK https://www.comparitech.com/privacy-security-tools/blockedinchina/ maybe my computer's issue..................
  12. Woooooooooooo!!!!! Amazing!! nice!! wonderful!! Thank you for updated.
  13. Awesome, thanks you so much
  14. How to detect desktop or mobile before game initialisation?? I using the following code to detect var DetectDevice = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent); if (DetectDevice) { console.log("You are using Mobile"); } else { console.log("You are using Desktop"); } Is there any easy way to detect?? thank you very much
  15. Finally I use Bracket Editor Live Preview function to open the index.html It is no bug, but still can't show the image
  16. Is it possible to load image with out web server ?? function preload () { this.load.image('einstein', 'assets/ra-einstein.png'); } It can run in loacal sever, eg. localhost/GAME/myphaser3project/index.html It can load the image but if I double click the index.html, Is show this error Is it possible to load image with out web server?? Thanks you very much
  17. @enpu ok, thank you for your help, cheer
  18. I would like to create slopes platform and make the player stand on it I use rotation method, it is work on sprite , but not work in body.......any idea, thank you very much game.addAsset('sprite.png'); game.createScene('Main', { init: function() { this.sprite = new game.Sprite('sprite.png'); this.sprite.anchor.set(50, 50); this.sprite.position.set(game.width / 2, game.height / 2); this.sprite.addTo(this.stage); var shape = new game.Rectangle(); shape.width = this.sprite.width; shape.height = this.sprite.height-20; this.body.addShape(shape); this.body.addTo(game.scene.world); }, update: function() { this.sprite.position.copy(this.body.position); this.sprite.rotation = 0.4; this.body.rotation = 0.4; // not work } });
  19. The following code is my way to create start menu but I think it is stupid way and hard code .................. Full Code: game.module('game.main').body(function() { game.addAsset('font.fnt'); game.addAsset('select_arrow.png'); game.createScene('Main', { backgroundColor: "#000000", init: function() { this.StartGame = new game.Text('Start Game'); this.StartGame.anchorCenter(); this.StartGame.x = game.width / 2; this.StartGame.y = game.height / 2; this.StartGame.addTo(this.stage); this.StartGame.interactive = true; this.StartGame.mousedown = function() { game.system.setScene('Stage1'); }; this.HowtoPlayGame = new game.Text('How To Play'); this.HowtoPlayGame.anchorCenter(); this.HowtoPlayGame.x = game.width / 2; this.HowtoPlayGame.y = game.height / 2 + 150; this.HowtoPlayGame.addTo(this.stage); this.HowtoPlayGame.interactive = true; this.HowtoPlayGame.mousedown = function() { game.system.setScene('HowToPlay'); }; this.ExitGame = new game.Text('Exit'); this.ExitGame.anchorCenter(); this.ExitGame.x = game.width / 2; this.ExitGame.y = game.height / 2 + 300; this.ExitGame.addTo(this.stage); this.ExitGame.interactive = true; this.ExitGame.mousedown = function() { game.system.setScene('Exit'); }; this.arrow_select = new game.Arrow_Select(game.width / 2, game.height / 2); this.arrow_select.arrow_select.addTo(this.stage); }, update: function() {} }); game.createClass('Arrow_Select', { init: function(x, y) { this.arrow_select = new game.Sprite('select_arrow.png'); this.arrow_select.selectTime = true; this.arrow_select.anchorCenter(); this.arrow_select.position.set(x, y); }, reset: function() { if (!this.arrow_select.selectTime) { game.Timer.add(500, function() { game.scene.arrow_select.arrow_select.selectTime = true; }); } }, update: function() { // Movement if (game.keyboard.down('UP') && this.arrow_select.selectTime && this.arrow_select.y != 360) { this.arrow_select.y = this.arrow_select.y - 150; this.arrow_select.selectTime = false; this.reset(); } else if (game.keyboard.down('DOWN') && this.arrow_select.selectTime && this.arrow_select.y != 660) { this.arrow_select.y = this.arrow_select.y + 150; this.arrow_select.selectTime = false; this.reset(); } switch (this.arrow_select.y) { case game.scene.StartGame.y: if (game.keyboard.down('ENTER')) { game.system.setScene('Stage1'); } break; case game.scene.HowtoPlayGame.y: if (game.keyboard.down('ENTER')) { game.system.setScene('HowToPlay'); } break; case game.scene.ExitGame.y: if (game.keyboard.down('ENTER')) { game.system.setScene('Exit'); } } } }); }); The code is working!!!! But I think it is not the clever way do make it, It is hard code In Arrow_Select class I set it to 500 time to select up or down to avoid the Arrow_Select move very fast. reset: function(){ if(!this.arrow_select.selectTime){ game.Timer.add(500, function() { game.scene.arrow_select.arrow_select.selectTime = true; }); } }, In Arrow_Select update tag When Arrow_Select.y equal the menu choose.y and down "Enter" button , it can start the scene update: function() { // Movement if (game.keyboard.down('UP') && this.arrow_select.selectTime && this.arrow_select.y != 360) { this.arrow_select.y = this.arrow_select.y - 150; this.arrow_select.selectTime = false; this.reset(); } else if (game.keyboard.down('DOWN') && this.arrow_select.selectTime && this.arrow_select.y != 660) { this.arrow_select.y = this.arrow_select.y + 150; this.arrow_select.selectTime = false; this.reset(); } switch (this.arrow_select.y){ case game.scene.StartGame.y: if (game.keyboard.down('ENTER')){ game.system.setScene('Stage1'); } break; case game.scene.HowtoPlayGame.y: if (game.keyboard.down('ENTER')){ game.system.setScene('HowToPlay'); } break; case game.scene.ExitGame.y: if (game.keyboard.down('ENTER')){ game.system.setScene('Exit'); } } } Any other best way???? Thanks
  20. I use this way to get the console.log value on mobile.... for example: I want to get player.position.x value init: function() { .... this.DebugText = new game.SystemText(''); this.DebugText.addTo(this.stage); .... ), update: function(){ //console.log(this.player.position.x); this.DebugText = this.player.position.x; } Other issues: game.Debug.updatePanel is not work on Panda Remote (The screen is blank); Is it my mistake or forget to set something??? Thx