Jump to content

Search the Community

Showing results for tags 'CANVAS'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

  1. Hi everyone! I just released One Last Gap — a free, zero-ads, zero-login HTML5 Canvas 2D skill arcade built solo in TypeScript + Node.js. Play directly in your browser (desktop & mobile): https://onelastgap.com itch.io page: https://mooradxo.itch.io/one-last-gap What's the game? Suspended inside the arena is a locked vault containing a $100 bill. The only entrance is a vertical top gap that is just +0.005 mm wider than the ball: • Ball diameter: 3.200 mm • Gap width: 3.205 mm (+0.005 mm clearance) • Hit #1 (1/2): ricochet off the ceiling into the gap to shatter the glass seal and bounce back into play. • Hit #2 (2/2 — One Last Gap): thread the open tunnel a second time without dropping the ball to hit the $100 bill. The first verified human player to beat it wins the $100 prize (after server replay verification + audit). HTML5 / Technical highlights: • Pure Canvas 2D + TypeScript (no heavy engine overhead): static offscreen layer caching + HiDPI sprites + zero per-frame shadowBlur so it stays locked smooth even inside mobile WebViews. • Cross-platform deterministic 120 Hz physics: custom swept circle-vs-AABB + corner-circle collision solver with velocity quantization to 1e-6 so iOS Safari (JSC), Chrome (V8), and the Node.js verification server produce bit-identical runs. • Zero-lag browser anti-cheat: the exact same physics module runs on the server to re-simulate every winning replay from tick 0, combined with a SHA-256 Commit-Reveal ceiling micro-variance (±0.35°) that stops DevTools aimbots while adding 0 ms of input lag. • Hybrid Web Audio engine: 46 narrator voice lines, 7 dry SFX, and 2 dynamic streaming ambient tracks (calm -> tension after Hit #1) with automatic voice ducking and iOS WebView unlock. • Calibrated across a 500-hour 120 Hz simulation + 200,000 Monte Carlo shots so it's brutal, yet mathematically solvable. I'd love feedback from fellow HTML5 devs on the Canvas 2D feel, mobile touch responsiveness, and audio pacing — and curious to see your closest miss in mm!
  2. Break the Color – A Small HTML5 Color Puzzle Game (Looking for Feedback!) Hello everyone! I'm an independent HTML5 game developer, and I'd like to share one of my recent projects: Break the Color. It's a simple color-matching puzzle game where the objective is to clear the entire board. How to play - The game uses an 8×8 grid with five different colors. - Tap or click groups of two or more connected blocks of the same color. - Once blocks are removed, the remaining blocks fall down. - Empty columns are filled as the board shifts left. - Try to clear the entire board and achieve a high score! The game also includes scoring, particle effects, sound effects and a local best-score record. Play the game https://iromigames.itch.io/break-the-color I'm looking for honest feedback! I'd really appreciate it if you could spend a few minutes playing and share your thoughts. Gameplay 1. Is the gameplay enjoyable? 2. Are the rules and objective easy to understand? 3. Does the game become interesting enough to keep playing? Technical feedback 4. Did you encounter any bugs or unexpected behaviour? 5. Does the game work properly on your browser and device? 6. How does the performance feel? Replayability 7. Would you play another round after finishing? 8. What would make you want to play it again? 9. What feature or improvement would you suggest? Positive feedback and criticism are both welcome. I'm trying to improve my HTML5 game development skills and would genuinely appreciate your suggestions. Thanks for checking out my game! — An independent HTML5 game developer
  3. Hi everyone, I’m the developer of Gachanime, a free anime character card collecting game for phone and desktop browsers. It was released on November 3. What you do: open packs of 10 cards, collect 6,000 characters across six rarities from Common to Mythic, and trade with friends and guilds. The chances of every rarity and every card are shown in the game. Four anime mini-games (a music quiz, a character quiz, Higher or Lower and a daily mystery character) can be played without an account. How it is built: The whole interface is drawn on a single canvas in plain JavaScript, with invisible HTML twins of the controls for the keyboard and screen readers. The game API is written in Rust and compiled to WebAssembly. It runs on Cloudflare Workers, next to JavaScript modules for the public pages, with a D1 (SQLite) database. It is a PWA: it can be installed from the browser, and it is available in seven languages. Play it here: https://gachanime.gg/?s=html5gamedevs Feedback on how the pack opening feels and on performance on phones is welcome. Screenshots: the lobby with the packs of the day, and the Mythic cards of the Global pack with their odds.
  4. Hi, I'm the developer of Crypt Crawlers. Crypt Crawlers is a free idle / auto-battler dungeon crawler you can play in the browser. Your hero attacks automatically; you move, dodge, and fire skills while waves of slimes, skeletons, ghosts and demons pour in. Beat a boss every few waves, pick up gear, and push one floor deeper than last time. It's a custom HTML5 game: TypeScript and a Canvas 2D renderer, built with Vite — not Phaser, Unity, Construct, or another engine. The same web build is wrapped for iPhone with Expo / React Native. - 8 heroes to unlock and level, each with their own skills - Gear with rarities and affixes, plus a Crypt Tree you grow when you ascend so each run makes the next one stronger - Pets, World Rankings, and optional cloud backup - Limited-time Thanksgiving event, The Gobbler Below, running through Dec 1, 2026 (America/Chicago) - No forced ads. Rewarded videos are opt-in only — you never have to watch one to play Play in the browser: https://cryptcrawlers.surge.sh itch.io: https://cryptcrawlers.itch.io/crypt-crawlers Also free on iPhone: https://apps.apple.com/us/app/crypt-crawlers/id6828041079 Graphics are AI-generated (Grok) and then processed into the game's pixel-art sheets. The game itself is hand-coded, not a prompt-generated template. Music and sound effects are synthesized at runtime with WebAudio; there are no AI voices and no shipped audio files. I'd welcome feedback on first-run clarity (movement, when to use skills, and whether the idle / auto-battler loop makes sense in the first few floors) and on performance in desktop and mobile browsers.
  5. Hi all, This one is a management game about a carpenter who loses his job to AI and starts a church against it. Days are spent preaching in parks and markets, nights collecting offerings and buying a bigger meeting place, from a basement room up to a Grand Temple in America. The heat from the police is the thing that keeps you careful. Tech, since this is a dev forum: plain canvas 2D, no engine, with the menus and dialogue as DOM over the canvas. The game draws at the device's real resolution so the pixel sprites stay sharp. Speeches are a slingshot: the pull vector times a constant gives the launch velocity, gravity pulls the flyer bundle down, and a hit only counts while it is falling, which turns out to make aiming feel right. The overseas speeches swap it for a megaphone cone, where drag length trades width for power. All sound is synthesized in Web Audio, there are no audio files. A bug you may enjoy: winning a pub argument once showed Followers +-24175. The church had more followers than seats, so the room left was negative and the add went backwards. It runs on PC and on phones held sideways, in English and Korean, with nothing to install. Feedback is welcome, and thanks for looking. oreumgames.com/en/games/luddite Made by a very small indie team in Korea.
  6. Made anything cool with pixi.js? Post it up here and share it with the world! Whether it's a cool game demo, a fully fledged website or some tripped-out crazy experiment, we would all LOVE to see it! To get the ball rolling, here are some pixi.js projects that exist out on the internets: games: http://www.goodboydigital.com/runpixierun/ http://www.theleisuresociety.co.uk/fightforeveryone/ http://flashvhtml.com/ experiments: http://gametest.mobi/pixi/morph/ http://gametest.mobi/pixi/balls/ http://www.goodboydigital.com/pixijs/bunnymark/
  7. I need to display a large number (for example 400) of high resolution textures at the same time, for this I used the ParticleContainer from the example - https://pixijs.io/examples/#/demos-basic/particle-container.js. But in the end, I get FPS = 10-15, the more sprites, the lower the FPS, even if you turn off the animation - there is no difference, the image in idle mode also heavily loads the browser, which is why the page scroll is very freezing. - https://codesandbox.io/s/admiring-lamarr-p8bvyf?file=/index.html I could not find a solution anywhere, so I will be grateful for your help.
  8. Hi! Maybe someone could help with a freeze of an animation while we loading/preloading textures. There are background and several big animations. After scene have started to change and transition animation have started, main container is cleared and new background with different big animations are added. This freeze is connected with scene rendering. Does somebody know the way to deal with this problem? ======================= Version pixijs 6.2.2 ======================= Application virtual_h = 2276; virtual_w = 1280; render = PIXI.autoDetectRenderer(virtual_w, virtual_h, { resolution: window.devicePixelRatio, autoResize: true, antialias: false, }); gameContainer.height = virtual_h; gameContainer.width = virtual_w; document.getElementById("game").appendChild(render.view); ======================= Animation let animationRaw = PIXI.Loader.shared.resources["animationRaw"].spritesheet.animations["animationRaw"]; let animation = new PIXI.AnimatedSprite(animationRaw); animation.autoUpdate = true; animation.loop = false; animation.onComplete = function() { animation.stop(); }; gameContainer.addChild(animation); ======================= Preload render.plugins.prepare.upload(gameContainer); ======================= Ticker ticker.add(function() { render.render(gameContainer); }); ======================= Switch a scene gameContainer.removeChildren(0, gameContainer.children.length); let animationRawNew = PIXI.Loader.shared.resources["animationRawNew"].spritesheet.animations["animationRawNew"]; let animationNew = new PIXI.AnimatedSprite(animationRawNew); animationNew.autoUpdate = true; animationNew.loop = false; animationNew.onComplete = function() { animationNew.stop(); }; gameContainer.addChild(animationNew); =======================
  9. I'm coding a vanilla JS canvas engine from scratch. I plan to start a little metroidvania-like platformer as soon as possible. Since it might get some big maps, got a little doubt regarding performance... Which is the best way to render a map bigger than game screen? Prerendering the tilemap into a huge image (i.e. an horizontal level could be as big as 8000x240), then draw it according to the scroll position. I figure this have a cost during the map building (and also RAM), but then it should be faster while drawing it every frame. Parsing the tilemap array and drawing only the visible tiles according to the scroll position. I figure this is slower because of calculations made every frame, but I might be wrong. I have tried to do some benchmark with both methods, but it doesn't seem to have any noticeable difference in both my desktop PC and laptop. It might have some impact on smartphones though, which is what really worries me.
  10. so my gsap duration is longer than next requestAnimationFrame(), lets say 2secs my ques: will it destroy my program in long run? should i bother about it and optimize it? will it create multiple gsap threads? how to optimize/destroy old gsap in next requestAnimationFrame?
  11. Raycasting.js Hey everyone, So this is my first ever post in this forum, and I'm excited to share with you my year long endeavour of building a Wolf3d-esque engine from scratch. This is my first attempt at game development in my spare time aside from my full-time job. Links Live Demo Github Controls Movement: W, A, S, D Free-look: Arrow keys or the mouse* Change elevation: Q, E or the mouse* wheel Shoot: Primary mouse* button, the SPACE key Interaction with the doors: ENTER * Make sure to activate mouse controls first by clicking on the canvas. Hit me up with your thoughts/feedback and I will be more than happy to giving some insight into the engine internals and other technicalities in the replies if anyone's interested. PS: Please note that this is still mostly a WIP and regard it as a mere tech demo, as there is still no major gameplay loop implemented in.
  12. Can you create a alphaMask from bitmapdata rather than images? I have a circle loader that I am building as bitmapData and I have the source image I want to mask, but I can't figure out how to use the mask bitmap data for bmd.alphaMask or convert the mask bitmapData to a image that the method can use. Any help would be appreciated. createPie : function (game, w, h) { console.log("create pie", w, h, this); var mask = game.add.bitmapData(w, w), bmd = game.add.bitmapData(w, w), canvas = bmd.canvas, context = bmd.ctx, size = 270, degreesToRadians = function (degrees) { return (degrees * Math.PI) / 180; }; var drawPie = function () { bmd.clear(); context.save(); var centerX = Math.floor(w / 2); var centerY = Math.floor(w / 2); var radius = Math.floor(w / 2); var startingAngle = degreesToRadians(270); var arcSize = degreesToRadians(size); var endingAngle = startingAngle + arcSize; context.beginPath(); context.moveTo(centerX, centerY); context.arc(centerX, centerY, radius, startingAngle, endingAngle, false); context.closePath(); context.fillStyle = 'rgba(0, 0, 0, 1)'; context.fill(); context.restore(); bmd.render(); }; drawPie(); game.cache.addBitmapData("loaderMaskBMD", bmd); var maskImage = game.add.image(348, 221, bmd); console.log("maskImage", maskImage); // doesn't work //game.cache.addImage("loaderMaskImage", maskImage); game.load.onFileComplete.add(function (progress) { console.log("load", progress); size = (360 / 100) * progress; drawPie(); }); // doesn't work //mask.alphaMask('preloaderRingLoaded', maskImage); // doesn't work //mask.alphaMask('preloaderRingLoaded', game.cache.getBitmapData("loaderMaskBMD")); // doesn't work //mask.alphaMask('preloaderRingLoaded', game.cache.getImage("loaderMaskImage")); var sp = game.add.sprite(348, 221, mask); sp.width = w; sp.height = h; console.log("sp", sp);},
  13. Noob here using Phaser. But here's my issue: I'm struggling to get to a perfect scale on the game I'm building. The best option for me so far is Phaser.ScaleManager.RESIZE; But this method doesn't have a limit to the canvas size. If an user has a huge screen, say 30 inches, he'd have a lot of advantage over an user with a medium size screen, say 17 inches. The 30 inches user would have much more view of the world. I've tried to set the canvas to a fixed size, like 1280x720, then dynamically resize the canvas style. And using Phaser.ScaleManager.SHOW_ALL; But it doesn't do the trick because it shows the black borders and I can't get rid of it. To make it clear what I want to achieve, I'm building an online multiplayer game (.io). If you notice the most famous .io games like agar.io, diep.io and slither.io, the game scale is perfect for any screen size. If the screen is too big, the game doesn't show more screen. It just adjusts for a more zoomed game. Here's a gif of what I need and how my game is now: agar.io: https://gyazo.com/94a41e06816b8dc9a1fd4608c0cfa525 Notice that in agario, the screen only goes so far before the game starts to scale. My game: https://gyazo.com/4269ecfb1253b9ddbcd6e917ad1a8602 Notice how much of the world I can see after scaling my game. Meaning that there is no limit for the canvas. Please let me know if you need more information in order to help me out here! Thanks in advance!
  14. I'm trying to follow the first tutorial. I don't understand why I don't see anything unless I uncomment out the resize() (which is not in the tutorial), and even when I do, the background color is not as specified in the Application object. Any pointers would be appreciated. <!doctype html> <html> <head> <meta charset="utf-8"> <title>Hello World</title> </head> <body> <script src="pixi/pixi.min.js"></script> <script type="text/javascript"> //Create a Pixi Application let app = new PIXI.Application({ width: 256, height: 256, antialiasing: true, transparent: false, backgroundColor: 0x0000f0, resolution: 1 }); // If I comment below, then I see a nothing. Also, why is the canvas // background black instead of 0x0000f0? app.renderer.resize(256, 256); document.body.appendChild(app.view); </script> </body> </html>
  15. I have this idea for creating a character customization system. The system would be implemented as follows. 1) Organize a base template sprite sheet with character components arranged in a composition for future compositing. Example: Lets assume a full body template for a characters design is 125 by 125 consisting of head, body, and leg components. The head component of the character would use 25 pixels and would be isolated on separate parts of the sprite sheet that occupies the respective pixels while the rest of the 100/125 pixels are blank. The same would be done for the body and leg components. 2) Bind the components together via some sort of linked list or maybe even graph based implementation. I'm still learning about graphs and am thinking they're best for this system given compositing more complex sprite sheets will involve layers. Any advised implementations or any kind of information on graphs associated with player creation systems is highly appreciated. I think this is a great opportunity to practice graphs. 3) Next there will be an interface that allows the player to choose the color and textures of each of these components. The player will confirm and submit their design when finished. Now that the player has submitted their design, I'm a bit puzzled about the next step and have a few ideas on composing the data. 4a) Use Phaser api to turn the data into bitmaps? I don't know much about this implementation yet since I'm still learning how to utilize bitmaps and how Phaser handles bitmaps 4b) Composite the items on a canvas and store it in a uri using the canvas to url method. I also lack experience with api but I definitely can see how it would work. 5) Ideally I'll save the data to a database and retrieve them via player credentials. I'm not sure if I'm over complicating things or not so any feedback would be appreciated. I use Phaser but any html5 based idea or solution should be fine.
  16. I'm working on a large solo game project where I am attempting to use a combination of traditional DOM elements (React) and canvas elements (PixiJS and react-pixi-fiber) in the project. I wanted to gain visibility into the canvas element in a functional test, and didn't immediately see any libraries or posts explaining how this could be done. I've come up with a process that works for me, using Cypress, and wrote about it. Perhaps someone gets some value from this, and I'm happy to discuss testing and PixiJS! Thanks! https://medium.com/@zenblender/functional-testing-of-a-hybrid-pixijs-react-app-281ed5ea04b3
  17. Hi I have an image like the picture below. I need to resize this image.(between x2 and x10) When I resized with Canvas's own features, I couldn't get the image I wanted. The image was pixelated. I used OpenCV's javascript library for this. (To be able to do interpolation) But here I did not get the exact result I wanted and it was slow in speed(40 - 60 ms). The resizing speed should be between about 10 - 20 ms. Then I wanted to write an algorithm myself, but I could not prevent pixelation, and the image I wanted was not revealed. In fact, if I can make gradient for each pixel according to the pixels around it (right, left, down and up), I think I can get the image I want. Is there anyone who can help me with this?
  18. Hi there folks! It's been a while since I posted something in here, glad to be back! I have a fair amount of experience in game development using JS Canvas, but recently I decided I had move on - so I went with Pixi. I figured out the basics of how to add sprites, do filters and such, but I just can't seem to figure out how to do simple lines and then manipulate them afterwards. What I mean is something like this: https://jsfiddle.net/gustavgb/anxcjfof/5/ I noticed that PIXI.Graphics has an object attached to it called "graphicsData" in which I can find the points that make up the line - great - but when changing the value of these variables, nothing happens to the appearance of my line. I'd appreciate any help, as I'm quite new to Pixi Thank you!
  19. Welcome Everyone A game of connecting between pieces? Can anyone help me? i use adobe animate type HTML5 canvas ? why the code not work ?? Pagel.fla
  20. I am trying to develop a simple Canvas game, but I'm currently stuck at making the enemies display itself. Heres the code I'm using : <script type="text/javascript"> // SETUP INICIAL var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'); var innerWidth = 360, innerHeight = 620; canvas.width = innerWidth; canvas.height = innerHeight; // VARIAVEIS var score = 0, lastTime = 0; // TECLAS DE MOVIMENTAÇÃO window.onkeydown = pressionaTecla; function pressionaTecla(tecla){ if(tecla.keyCode == 38) { player.y = player.y - 10; } if(tecla.keyCode == 40) { player.y = player.y + 10; } if(tecla.keyCode == 39) { player.x = player.x + 10; } if(tecla.keyCode == 37) { player.x = player.x - 10; } } // PERSONALIZAÇÃO DO PLAYER var player = { }, player_width = 100, player_height = 105, player_img = new Image(); player_img.src = 'images/spaceship.png'; // OBJETO DO PLAYER player = { width : player_width, height: player_height, x : innerWidth/2 - player_width/2, // centralizar y: innerHeight - (player_height+10), //deixar em baixo power : 10, draw: function(){ // FUNÇÃO QUE BLOQUEIA O OBJETO PLAYER SAIR DO CANVAS if(this.x <= 0 ){ this.x = 0; }else if (this.x >= (innerWidth - this.width)) { this.x = (innerWidth - this.width); } if(this.y <= 0 ){ this.y = 0; }else if (this.y >= (innerHeight - this.height)) { this.y = (innerHeight - this.height); } ctx.drawImage(player_img, this.x, this.y, this.width, this.height); } }; // FUNDO DE GALAXIA *codigo fonte do fundo retirado do site codepen.io https://codepen.io/LeonGr/pen/fdCsI var stars = [], // Array that contains the stars FPS = 60, // Frames per second x = canvas.width; // Number of stars for (var i = 0; i < x; i++) { stars.push({ x: Math.random() * canvas.width, y: Math.random() * canvas.height, radius: Math.random(), vx: Math.floor(Math.random() * 10) - 5, vy: Math.floor(Math.random() * 10) - 5 }); } function updatefundo() { for (var i = 0, x = stars.length; i < x; i++) { var s = stars[i]; s.x += s.vx / FPS; s.y += s.vy / FPS; if (s.x < 0 || s.x > canvas.width) s.x = -s.x; if (s.y < 0 || s.y > canvas.height) s.y = -s.y; } } function drawfundo() { ctx.clearRect(0,0,canvas.width,canvas.height); ctx.globalCompositeOperation = "lighter"; for (var i = 0, x = stars.length; i < x; i++) { var s = stars[i]; ctx.fillStyle = "#fff"; ctx.beginPath(); ctx.arc(s.x, s.y, s.radius, 0, 2 * Math.PI); ctx.fill(); } } // PERSONALIZAÇÃO DO INIMIGO var enemyArray = [], enemyIndex = 0, enemy_width = 35, enemy_height = 43, enemy_timer = 1000, enemy_img = new Image (); enemy_img.src = 'images/spaceship.png'; // OBJETO DO INIMIGO function enemy (x, y, dx, dy, enemy_img, enemy_width, enemy_height, rotation){ this.x = x; this.y = y; this.dx = dx; this.dy = dy; this.img = enemy_img; this.width = enemy_width; this.height = enemy_height; this.rotation = rotation; enemyIndex++; enemyArray[enemyIndex] = this; this.id = enemyIndex; ctx.drawImage(this.img, this.x, this.y, this.width, this.height); this.update = function(){ this.y+= this.dy; this.x+= this.dx; this.draw(); } this.delete = function(){ delete enemyArray[this.id]; } this.draw = function(){ ctx.drawImage(this.img, this.x, this.y, this.width, this.height); } } // FUNÇÃO DE CRIAR INIMIGOS function create_enemy(){ var x = Math.random() * (innerWidth - enemy_width); var y = -enemy_height; var dx = 3; var dy = 3; var rotation = Math.random(); new enemy (x, y, dx, dy, enemy_img, enemy_width, enemy_height, rotation); } // LOOPING DA ANIMAÇAO (MAINFRAME DO GAME) function gameLoop(currentTime){ requestAnimationFrame(gameLoop); ctx.clearRect (0,0, canvas.width, canvas.height); drawfundo(); updatefundo(); // SCORE ctx.font = '17px arial'; ctx.fillStyle = '#fff'; ctx.fillText('PONTOS: '+score , 15, 30); // ENERGIA ctx.font = '17px arial'; ctx.fillStyle = '#fff'; ctx.fillText('ENERGIA '+player.power , innerWidth-110, 30); // JOGADOR player.draw(); if(currentTime >= lastTime + enemy_timer){ lastTime = currentTime; create_enemy(); } create_enemy(); } gameLoop(); </script> Everything is working fine except the enemies not showing. Already checked the images folder and it's all set up like I've puted in the code. Dev tools console does not show any errors. Enemie lines are " // PERSONALIZAÇÃO DO INIMIGO " and "// OBJETO DO INIMIGO" Please help!
  21. Kaetram Kaetram is an open-source game-engine created to aid those interested in entering the game development realm. The codebase is simple, clean, and intuitive. This project is intended to be used as a learning tool. The original idea is based on Little Workshop's demo game – BrowserQuest (BQ). This game uses original BQ assets as well as custom-made ones. The entire code-base has been written from scratch, using more modern approaches. GitHub Repo – https://github.com/Veradictus/Kaetram-Open Live Version – https://kaetram.com Join us on Discord – https://discord.gg/MmbGAaw Patreon – https://www.patreon.com/kaetram Features BQ was intended as an experiment to showcase HTML5 capabilities, since then, technology has only served to advance. Kaetram contains a lot of ideas and features that builds on top of its predecesor, a couple are: Multiplayer using Socket.IO Enhanced rendering engine (includes dynamic lighting, overlays, animated tiles) Region system (client receives only necessary data and saves it) Questing and achievements system. Plugin-based combat system (for bosses/special enemies). Supports RESTful API. Discord server integration. Cross-server private messaging and interactions. And much more Regions The region system sends data to the client according to the map data of the server. The collisions are checked both server-side and client-side to avoid cheating. The region system makes use of dynamic tiles, which are unlocked according to a player's progress. Furthermore, there is integrated support for instancing, where we can use a section of the map (or clone it) and reuse it for certain groups of players. The instancing is perfect for activities such as minigames, where we will want to run multiple instances in parallel. Tilemap Kaetram is built with modularity in mind, as such, the client supports multiple tileset parsing. The tilemap can easily be constructed using Tiled Map Editor. Using our map parsing tool you can easily export your creation to both the client and the server. Kaetram Hub There is also support for a hub server. This can help connect servers across one another, allowing players to interact with their friends across them in a variety of ways (private messaging and guilds). Furthermore, the hub serves as a gateway for determining what server to place players in. If a server is full, it simply returns another server that has room for the player.
  22. Hi, I have encounted something strange and I don't know how to fix it. I have git cloned the examples page onto a local webserver and the plugin projection, 3D Camera spine layers works fine. But when I try to reproduce it into my electron app, the layers start acting like this. How can I fix this? I've tried everything, why does it work on the examples html page but not on my html page. thanks!
  23. Hi guys I met a very difficult problem, this problem has been bothering me for more than a month My game sometimes has a part of the image rendering can not come out, but its alpha channel rendering is no problem I have no idea about this problem. Does anyone know what caused it? here's my problem: I'm using: phaser 2.13.3 with CANVAS mode dragonbones 5.6.2 electron 5.0.11
  24. Hi everyone, I have a picture that I draw pixel by pixel on the canvas. Size of the image: 512 * 256. When I make this picture 1536 * 768, the image looks very bad. I think I can use interpolation to fix this. But I couldn't find a good javascript library. It didn't work in the libraries I found. Is there anyone who can help me with this?
  25. I am trying to add Lottie animation in the Phaser 3 in my game. But I am not able to add. Lottie Animation link. This is how I am adding into my code : this.animation = bodymovin.loadAnimation({ container: document.getElementById("game"), // Required path: "assets/json/RainLoop.json", // Required renderer: "canvas", // Required loop: true, // Optional autoplay: true, // Optional name: "Hello World", // Name for future reference. Optional. }); But here problem is, this animation is attaching to the HTML DOM elements and so that the animation comes above the Phaser game canvas, Due to what I am not able to interact with my phaser game elements.
×
×
  • Create New...