
khleug35
Members-
Posts
156 -
Joined
-
Last visited
-
Days Won
3
Everything posted by khleug35
-
Panda2 is one of my my favorite HTML5 game engine I really enjoy using Panda2 , Unfortunately, there are too few people use it. Now, it seems to have become dead. https://panda2.io/ RIP Pand2.............
-
what is the best way to export html5 game to android/ios ?
khleug35 replied to umen's topic in General Talk
I using Cordova to convert my game to android. https://cordova.apache.org/ But for apple store Apple notes that The App Store will no longer accept new apps using UIWebView as of April 2020 and app updates using UIWebView as of December 2020. so I will switch capacitor with wkwebview https://capacitorjs.com/ or react native webview https://github.com/react-native-webview/react-native-webview to convert my game to IOS -
@umen Thank you for your comments ? I wrap the game to android apps using Cordova https://cordova.apache.org/docs/en/11.x/guide/cli/ but if I want to wrap the game to IOS and publish to Apple store I will switch to using capacitor with WkWebview or react native web view
-
Play it now https://superfranco.itch.io/dead-gunner-p gameplay video Dead Gunner is my game that released in 2019 now I remake the game using Phaser 3 added the charge shoot feature like megaman hope you enjoy it. This game can play on mobile device and desktop android version: How to play WASD = movement W Key = Jump A Key = Left walk D Key = Right walk L Key(press or holding) = shoot (holding the Shot button to charge energy and cause more damage to enemies) F Key = How to play P Key = Pause Game R Key = back to the menu when paused the game
-
play in browser https://superfranco.itch.io/gloomyvania
-
My new game make with Phaser 3 - Gloomyvania , a Metroidvania / Castlevania like game. try the game in here ,Thank you very much: https://superfranco.itch.io/Gloomyvania Android version: Full Gameplay Keyboard Control: WASD = movement W Key = Jump A Key = Left walk D Key = Right walk S Key = ENTER / Save Game(Near Statue) L Key = Attack K Key = Super Attack F Key = How to play P Key = Pause Game R Key = back to the menu when pausing the game Made with Phaser 3
-
Waaaaaa!! Great Job!!!!!!!!!!!!! Thank you very much !!!!!!
-
Enpu did an amazing job on it!!! Please check https://www.panda2.io/releasenotes 1.7.0 Added play and pause buttons to game view Added "Screenshot folder" to settings Added "Show console messages" option in settings for remote devices Added HTTPS support Added VR support Added WebXR (Virtual Reality) emulator Added "Duplicate project" button to projects list Updated Electron to 6.1.8 Updated engine to 2.14.0 Fixed remote device always starting with debug panel visible Fixed dropping new module file not updating files sidebar
-
one of my way create a virtual on-screen keyboard(button) like this game http://mindfrog.ffx.it/
-
Anyidea??? skill not work
-
hi Sorry to say not....... only for real keyboard
-
@Hosh Try this example, simple way to make player input his name Control: Keyboard: input you name Enter: Enter your name (only input number and alphabet ) game.module( 'game.main' ) .body(function() { game.createScene('Main', { init: function() { this.Name = []; this.InputField = new game.SystemText('Enter Name:'); this.InputField.size = 30; this.InputField.addTo(this.stage); this.YourName = new game.SystemText(''); this.YourName.position.y = 50; this.YourName.size = 30; this.YourName.color = 'yellow'; this.YourName.addTo(this.stage); }, keydown: function(key) { if(key === "BACKSPACE" || key === "DELETE"){ this.Name.pop(); }else if(key === "ENTER"){ this.YourName.text = "Your Name: " + this.Name.join(""); } else if(window.event.keyCode > 48 && window.event.keyCode <90){ this.Name.push(key); } this.InputField.text = this.Name.join(""); } }); }); Hope can help
-
Hello , Are you planning to add online leaderboard or offline leaderboard??? about offline You can try localStorage to save the score. https://www.panda2.io/docs/api/Storage https://www.panda2.io/examples#storage-get about online, you need to use server side programming languages if your game export to mobile device, you can integration Google play services hope can help
-
Really Great Work, Thanks enpu
-
@enpu Nice work, very surprised to see you back
-
@Stephan @Wolfsbane Thank for comment??? About is it better as a module?....... ask him is better ? @enpu
-
Hello, I would like to add small update to the System Text in text.js in order to make it have New Lines like <br> and typewriter-effect like RPG dialogue. Demo. new game.SystemText('Lorem ipsum dolor sit amet,\nconsectetuer adipiscing elit. Sed posuere interdum sem.\nQuisque ligula eros ullamcorper quis,\nlacinia quis facilisis sed sapien.\nMauris varius diam vitae arcu.\nSed arcu lectus auctor vitae,\nconsectetuer et venenatis eget velit.'); if the text includes "\n", it become line breaks like <br> and user enable typing_effect = true; the text have typewriter-effect like RPG dialogue. First, render\text.js Add typing_effect varable. game.createClass('SystemText', 'Container', { ... /** Enable typewriter-effect @default false **/ typing_effect: false, i: 1, ... Add the following code, when user type "\n", it can do line break effect var lines = this.text.split('\n'); //Check New Lines for (var i = 0; i<lines.length; i++){ context.fillText(lines, 0, (i*this.size) ); _renderCanvas: function(context) { var wt = this._worldTransform; var ths = this; context.globalAlpha = this._worldAlpha; context.setTransform(wt.a, wt.b, wt.c, wt.d, wt.tx * game.scale, (wt.ty + this.size) * game.scale); context.fillStyle = this.color; context.font = this.size * game.scale + 'px ' + this.font; context.textAlign = this.align; if(this.text == undefined){ context.fillText(this.text, 0, 0); }else{ if(this.typing_effect){ //Enable Typewriter-effect var lines = String(this.text.substr(0, this.i)).split('\n'); if(this.i <= this.text.length){ this.i++; } }else{ var lines = this.text.split('\n'); //Check the text include '/n' } for (var i = 0; i<lines.length; i++){ context.fillText(lines[i], 0, (i*this.size) ); } } } Main.js Enable typing_effect this.text.typing_effect = true; game.module( 'game.main' ) .body(function() { game.createScene('Main', { init: function() { var ths = this; this.text = new game.SystemText('Lorem ipsum dolor sit amet,\nconsectetuer adipiscing elit. Sed posuere interdum sem.\nQuisque ligula eros ullamcorper quis,\nlacinia quis facilisis sed sapien.\nMauris varius diam vitae arcu.\nSed arcu lectus auctor vitae,\nconsectetuer et venenatis eget velit.'); this.text.size = 50; this.text.font = 'serif'; this.text.color = '#ffffff'; this.text.typing_effect = true; //Enable typewriter-effect this.text.x = 10; this.text.addTo(this.stage); // this.text.text = 'Hello\nPanda'; }, update:function(){ } }); }); Could you update this @enpu? my code may be not good or more hardcode or not the best solution to achieve , Welcome to give me a feedback to improve my coding skill, Thanks text.js
-
Did Phaser Editor have Code obfuscation function? Can it possible to export a phaser project that making the obfuscated code? Thanks https://phasereditor2d.com/
-
I think @enpu is busy with his new movie. but panda growth is slow, I worried that it like impact.js become free and stop update?
-
@AlienBurn recommend you try both and see which one suits you. For me Panda -Easy to learn, I have three games made with panda. -Very small community. -Panda Editor is not free but it can make you code your game faster(export to web or mobile is easy). -Growth So Slow, Engine has not updated for a long time, I worried that it like impact.js. Phaser -Much tutorial and Demo Example (but it left me quite confused after looking at multiple tutorials and even trying a few test projects.) -Very large community. -if you want to export to mobile and Code obfuscation, You need to learn cordova/phonegap , Webpack etc….it's totally free -Engine keep updated each month, fast-growing. Finally, Both of them are an awesome HTML5 engine.?
-
Fling, Tap and hold to swing on yellow Circle and collect the hearts attain request the target amount. Flip tiger laughing like a spiderman. Play Here https://superfranco.itch.io/ropes-game Android Version: https://play.google.com/store/apps/details?id=io.game.ropesgame How to Play: -Tap and hold to swing on yellow Circle. -Collect the hearts until attaining request the target amount within a limited time. -Avid the Bomb -Complete all 12 Levels Credit: Graphic Download By: CraftPix.net https://craftPix.net OpenGameArt https://opengameart.org/ Music By bart: https://opengameart.org/content/jump-and-run-tropical-mix Inspiration: https://triqui.itch.io/gems-n-ropes Engine: Panda2 P2.js
-
Is it bug???? I always use this method to make some sprite or shape fix into camera view. if I want to make some sprite to fix into camera view and don't want to put it in 'stage' I will create fixed_camera_container to make the sprite to fix into camera view. this.fixed_camera_container = new game.Container(); this.fixed_camera_container .addTo(this.stage); this.container = new game.Container(); this.container.addTo(this.stage); this.healthbar = new game.healthbarClass(); //Fixed to camera this.healthbar.sprite.addTo(this.fixed_camera_container); this.player = new game.playerClass(); this.player.sprite.addTo(this.container); this.camera = new game.Camera(this.player.sprite); this.camera.addTo(this.container);
-
Code Update: Added Rope-Swinging Features: -Jump up and Press E to climb up the rope, when you see red circle.
-
Anyidea??? skill not work
-
@Wolfsbane Thank you for playing and comment, I fixed the brown wall jumping problem, It may be more smoothly now. I agree with your suggestion. Panda editor can trial the plugin. @enpu Yes, This demo is export to web and uploads to itch io. Hope Panda2 have best future waiting for the Multiplayer plugin,thanks