enpu Posted October 25, 2014 Share Posted October 25, 2014 Here is free open source "Endless runner" prototype for Panda.js Live demo:http://www.pandajs.net/games/endlessrunner/ Source code:https://github.com/ekelokorpi/endlessrunner Quote Link to comment Share on other sites More sharing options...
Stephan Posted October 25, 2014 Share Posted October 25, 2014 Great job! You are really writing and releasing a lot of good code these days, enpu. I appreciate your effort and your excellent work! Quote Link to comment Share on other sites More sharing options...
Phempt Posted October 25, 2014 Share Posted October 25, 2014 Wow, thank you! ^^ Quote Link to comment Share on other sites More sharing options...
totor Posted October 25, 2014 Share Posted October 25, 2014 the game is rendering like 1 fps in ios and not very smooth on my laptop, a bit better on old android. Do you have ohter examples? i tried match3 too and there seems to be a problem loading the media/images, it hangs at 50% on ios. Now the good parts, when i put endless runner or match3 in a zip and launch them in the cocoonjs ludei, it works very smoothly in canvas/webgl but not in the webview. Quote Link to comment Share on other sites More sharing options...
enpu Posted October 25, 2014 Author Share Posted October 25, 2014 What device and iOS version you have? Quote Link to comment Share on other sites More sharing options...
Phempt Posted October 25, 2014 Share Posted October 25, 2014 @totor on my iPhone 5 with iOS 8.1 is playable. Consider that is a 1920x1080, in order to increase the performance (on devices with a smaller resolution) you can reduce all sizes obtaining 60fps. @enpu nice artworks, can I ask you if you used sites such as Envato or if you also a designer? Quote Link to comment Share on other sites More sharing options...
enpu Posted October 25, 2014 Author Share Posted October 25, 2014 @Phempt graphics are from http://graphicriver.net/ Quote Link to comment Share on other sites More sharing options...
Phempt Posted October 27, 2014 Share Posted October 27, 2014 hello enpu, is there a simple way to add a small platform that the player could cross with a jump from bottom to top (but during the fall down stop the player and works like the ground allowing the player to run/walk on it)? Quote Link to comment Share on other sites More sharing options...
enpu Posted October 28, 2014 Author Share Posted October 28, 2014 @Phempt, that's a bit tricky one, but i have added new Oneway class into the game:https://github.com/ekelokorpi/endlessrunner/blob/master/src/game/objects.js Quote Link to comment Share on other sites More sharing options...
Phempt Posted October 28, 2014 Share Posted October 28, 2014 this is really usefull to learn! Thank you! Quote Link to comment Share on other sites More sharing options...
totor Posted October 31, 2014 Share Posted October 31, 2014 @totor on my iPhone 5 with iOS 8.1 is playable. Consider that is a 1920x1080, in order to increase the performance (on devices with a smaller resolution) you can reduce all sizes obtaining 60fps. @enpu nice artworks, can I ask you if you used sites such as Envato or if you also a designer? @Phempt, you are right, it's the texture size, my iphone 4 cannot handle textures > 1024. i bulk resized the lot and now it works like a charm. Quote Link to comment Share on other sites More sharing options...
blackcat13 Posted March 30, 2015 Share Posted March 30, 2015 @enpu can u reup the source code? plz Quote Link to comment Share on other sites More sharing options...
enpu Posted March 30, 2015 Author Share Posted March 30, 2015 All the example games are moved into one repo:https://github.com/ekelokorpi/panda.js-games blackcat13 1 Quote Link to comment Share on other sites More sharing options...
blackcat13 Posted March 31, 2015 Share Posted March 31, 2015 @endu thank you so much Quote Link to comment Share on other sites More sharing options...
GastonOliverio Posted January 29, 2016 Share Posted January 29, 2016 On 30 de marzo de 2015 at 11:02 AM, enpu said: All the example games are moved into one repo: https://github.com/ekelokorpi/panda.js-games I download the game but i can't play it. :( Quote Link to comment Share on other sites More sharing options...
Don53_Empire Posted February 3, 2016 Share Posted February 3, 2016 On 29.01.2016 at 10:20 AM, GastonOliverio said: I download the game but i can't play it. You need to run via virtal server Quote Link to comment Share on other sites More sharing options...
Azor2610 Posted April 26, 2016 Share Posted April 26, 2016 When i try to run it, appears "missing json" , what can i do? Quote Link to comment Share on other sites More sharing options...
winz Posted November 23, 2017 Share Posted November 23, 2017 hey can you send me a new link to your open source code ? we are working on a similar projekt and we need some inovations Quote Link to comment Share on other sites More sharing options...
enpu Posted December 4, 2017 Author Share Posted December 4, 2017 Hi @winz Check out this Endless Runner tutorial video: https://www.panda2.io/tutorials/1-3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.