Elvarion Posted February 11, 2015 Share Posted February 11, 2015 Hi, My name is Pavel I have started a series of Tiled Game Engine posts and will update it weekly if possible and will share my experiences and knowledge i learn wile making MMO RPG during several years of development as indie. I'll cover creation of Javascript based game engine from the ground, how to work with new API of HTML5, like XMLHttpRequest2, WebWorkers, WebSockets and etc. Several design patterns will be covered from performance and memory usage perspective. Currently Tiled Game Engine can works with tiled map of 1500x1500 dimension, more than 100 animated units on the screen simultaneously and more than 1000 units off-screen. The source code of that engine will be available on GitHub. Part 1: Game LoopPart 2: Stages, Assets and Loading Stage Hope not only to share my expertise, but get your feedbacks if any. Best regards,Pavel survivant 1 Quote Link to comment Share on other sites More sharing options...
Elvarion Posted February 16, 2015 Author Share Posted February 16, 2015 Part 3: view port creation just released with sample. Quote Link to comment Share on other sites More sharing options...
Elvarion Posted February 16, 2015 Author Share Posted February 16, 2015 Part 4: Publish-Subscribe pattern and viewport resize chapter released. Quote Link to comment Share on other sites More sharing options...
Elvarion Posted February 17, 2015 Author Share Posted February 17, 2015 Part 5: Moving viewport chapter just released. Quote Link to comment Share on other sites More sharing options...
survivant Posted February 18, 2015 Share Posted February 18, 2015 you wrote that the source code will be available on github. Will it be available at the end ? I didn't see it. Could be great to see the modifications at each iteration. I could put a watch on the repository. Thanks Quote Link to comment Share on other sites More sharing options...
Elvarion Posted February 19, 2015 Author Share Posted February 19, 2015 you wrote that the source code will be available on github. Will it be available at the end ? I didn't see it. Could be great to see the modifications at each iteration. I could put a watch on the repository. ThanksHi, code samples available on github now: https://github.com/elvariongh/tutorial Also, you can follow changes on the tutorial home page: http://www.elvarion.com/works/tiled-game-engine-tutorial/ Probably it's better to reorganize github repository structure, so changes can be visible through diff. I'll think about it. Quote Link to comment Share on other sites More sharing options...
Elvarion Posted February 19, 2015 Author Share Posted February 19, 2015 New chapter available: loading assets from TMX fileComments are welcome! Quote Link to comment Share on other sites More sharing options...
Elvarion Posted February 19, 2015 Author Share Posted February 19, 2015 Finishing initial stage of Tiled Game Engine: rendering TMX map in multilayered canvas. More to come! Quote Link to comment Share on other sites More sharing options...
Elvarion Posted February 27, 2015 Author Share Posted February 27, 2015 Some tricks on tiled map rendering optimization released: http://www.elvarion.com/rendering-the-map-part-3-dialing-with-view-port/. Welcome! Quote Link to comment Share on other sites More sharing options...
Elvarion Posted March 3, 2015 Author Share Posted March 3, 2015 Well, some short post about user interaction and animation performance. In any game we need some actions from user and, in the same time, we have to run our animation loop with constant frame rate. In that post I'll cover some techniques how to do that with minimum impact on frame rate with respect to browser internals: throttle and requestAnimationFrame in hands. HTML5 Optimization tips: throttle input and requestAnimationFrame Quote Link to comment Share on other sites More sharing options...
druphoria Posted March 3, 2015 Share Posted March 3, 2015 Thanks for sharing your knowledge! Looking forward to reading through these. Quote Link to comment Share on other sites More sharing options...
Elvarion Posted March 3, 2015 Author Share Posted March 3, 2015 Thanks for sharing your knowledge! Looking forward to reading through these. You are always welcome! Quote Link to comment Share on other sites More sharing options...
Elvarion Posted March 10, 2015 Author Share Posted March 10, 2015 Animated tiles are very great feature in the Tiled Map Editor. In the new post I describe how to create animated tiles and how to support it in the Tiled Game Engine. Supporting animated tiles in TGE Quote Link to comment Share on other sites More sharing options...
Elvarion Posted March 13, 2015 Author Share Posted March 13, 2015 Almost any game has units on board. RPG, tower defense, strategies - all such games has units and in most cases - they are animated. Now Tiled Game Engine supports animated units. http://www.elvarion.com/supporting-animated-units Quote Link to comment Share on other sites More sharing options...
Elvarion Posted March 18, 2015 Author Share Posted March 18, 2015 Well, as I promised I disclose code internals of how animated units made. It is a long post, that will cover units animation code, converting tiled layer to the object group and why it is done. Also map triggers introduced to the Tiled Game Engine. Welcome aboard! http://goo.gl/Zrwsmu Quote Link to comment Share on other sites More sharing options...
Elvarion Posted March 19, 2015 Author Share Posted March 19, 2015 HTML5 is good for games and it is works on mobiles. But going mobile you should carry about some mobile-specific things: http://goo.gl/dT9FyI Quote Link to comment Share on other sites More sharing options...
Elvarion Posted March 24, 2015 Author Share Posted March 24, 2015 Units managements hardly be imagine without units selection. Selected unit should be highlighted somehow. In that tutorial we cover how to create custom entity with simple procedural animation, what is object pool and how it is used in game development.http://goo.gl/EAy7SK Quote Link to comment Share on other sites More sharing options...
Elvarion Posted April 7, 2015 Author Share Posted April 7, 2015 So, we can select units, create different type of units and what is next? Correct - let's move unit with smart path finding on tiled maps: http://goo.gl/RPiWSA Quote Link to comment Share on other sites More sharing options...
Elvarion Posted April 16, 2015 Author Share Posted April 16, 2015 If we get some units, A* for path finding, some simple logic and combine it - we'll get simple AI. In new post I've described, how to create simple AI for units, what techniques can be used for AI creation and provided some little demo game: http://goo.gl/Dn67Bp Quote Link to comment Share on other sites More sharing options...
Firenibbler Posted May 11, 2015 Share Posted May 11, 2015 This is a good idea Quote Link to comment Share on other sites More sharing options...
yahiko Posted May 27, 2015 Share Posted May 27, 2015 Your project looks interesting. Is your Tiled Game Engine compatible with Phaser? Quote Link to comment Share on other sites More sharing options...
Elvarion Posted May 29, 2015 Author Share Posted May 29, 2015 Thank you for you feedback. TGE is not compatible with Phaser for now, but we have plans on that. 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.