All Activity

This stream auto-updates     

  1. Past hour
  2. Today
  3. So I've noticed that there has been quite a few anger posts about X company(ies), in my years of mostly just observing here. With things like cutting games out of the front page/search a hundred dollars from the cash out thresholds, going to less and less lucrative ads on purpose to keep you from cash out thresholds, using "self owned" ad companies to double dip on ad revenue on their side, blatantly lying about views/usage when the developer has their own server logs, strongly featuring clones over originals (even while having some IP from the original in it), and similar. So I'm wondering if it's worth turning around and mentioning companies that have been worth partnering with. Things like having favorable terms, requiring less effort than other partners, actually holding up their end of the deal(s), and/or just straight up being approachable.
  4. Yesterday
  5. Hi, Here is a our new game to publish on your website: Game Name: Flying Bus Simulator Thumbnail: http://www.coolmathgameskids.com/wp-content/uploads/2019/09/flying-bus-simulator.jpg Iframe Code: <iframe src="http://www.coolmathgameskids.com/devgames/flying-bus-simulator/" marginwidth="0" marginheight="0" scrolling="no" data-iframe-src="http://www.coolmathgameskids.com/devgames/flying-bus-simulator/" allowfullscreen="" width="960" height="640" frameborder="0"></iframe> Description: In this Flying Bus Simulator game you have to pickup passengers and fly them to their destination. Refuel your bus on fuel station, when you have shortage of fuel. Have fun! Instruction: Arrow Keys/ASWD - Move the bus on road F - To Start Engine On/Off Up Arrow - Tilt the bus down while flying Down Arrow - Tilt the bus up while flying Right Arrow and Down Key - Turn the bus right on flying Left Arrow and Down Key - Turn the bus left on flying To fly - While moving the bus press "F" and then press "Down Arrow"
  6. https://www.zen-games.com/ (former mini.ninja) * Add Card.Ninja (MTG card tester) * Update Ubik 2D (fullscreen viewport) * Update Stones in Clouds Game (spells) * Update the blog * Update android application
  7. Hi, When a camera Is added to a moving container, it does not update its position unless the target moves out of the sensor field. To me this looks like a bug. Is it possible to work around it? game.module( 'game.main' ) .body(function() { game.addAsset('sprite.png'); game.createScene('Main', { init: function() { this.container = new game.Container(); this.container.addTo(this.stage); var bg = new game.TilingSprite('sprite.png', game.width * 2, game.height * 2); bg.alpha = 0.2; bg.addTo(this.container); this.circleContainer = new game.Container(); this.circleContainer.addTo(this.container); this.sprite = new game.Graphics(); this.sprite.drawCircle(10, 10, 10); this.sprite.anchorCenter(); this.sprite.center(this.stage); this.sprite.addTo(this.circleContainer); this.camera = new game.Camera(this.sprite); this.camera.addTo(this.circleContainer); }, update: function() { var speed = 200; this.circleContainer.y -= 10 * game.delta; if (game.keyboard.down('LEFT')) this.sprite.x -= speed * game.delta; if (game.keyboard.down('RIGHT')) this.sprite.x += speed * game.delta; if (game.keyboard.down('UP')) this.sprite.y -= speed * game.delta; if (game.keyboard.down('DOWN')) this.sprite.y += speed * game.delta; } }); });
  8. What do you have to know to produce solution for your case: 1. Graphics beginTextureFill, 2. pixi-tilemap 3. How to work with renderTexture. That's one of biggest threads about it, but there were countless others. Every time I tell people that they have to choose A. Algorithm B. low-level implementation. Every time the case is different and people are different, there's no magic button "just do it" in pixijs, you have to actually code something. One of the basics is https://pixijs.io/examples/#/textures/render-texture-basic.js . Make a container with many sprites or graphics with beginTextureFIll()'s and just render it inside a texture. I also know many things about canvas2d optimizations , I made that thing back in 2012-2013 https://github.com/ivanpopelyshev/bombermine-shuffle
  9. https://github.com/pixijs/pixi.js/blob/dev/packages/ticker/src/Ticker.js#L38 Ticker is not a ideal theoretical thing, its a class that has downsides and hacks: we can say that "it works" only if that really works for particular case. If it doesnt work for yours - well, find whats wrong and fix it. There're no guarantees. Not so long ago @themoonrat and someone else tried to fix that for different reason - minFPS/maxFPS props weren't working properly. I didnt even try to understand what did the guys fix.
  10. Hi! I have 50 HTML5 Games for sale. I have purchased these games on a license that allow me resell them. I am selling them for very cheap at just $4 Per Game. The total cost for this mega bundle will be $200. This includes License of the games, Free One Time Customization, Source code of the games, 6 Months Support, Free Updates of the games. If you're interested and want demo links. You can contact me via email at : kapilsonigr8@gmail.com Thanks, Have a nice day!
  11. Last week
  12. No, that means good old canvas does that. Webgl and webgl2 cant. Those modes can be achieved through copySubTex hackery , like in pixi-picture plugin, but i didnt move that plugin to v5 yet. Thread is here: https://github.com/pixijs/pixi-picture/issues/11
  13. In the docs is states "The WebGL renderer only supports the NORMAL, ADD, MULTIPLY and SCREEN blend modes. Anything else will silently act like NORMAL." Does this mean for webGl and webGl2? I can't seem to access these other blend modes (color dodge, exclusion etc.) - but I am using webGL2 renderer.
  14. OGG MUSIC UPDATE: All of my music tracks on my Horror/Surreal page can now be downloaded as very high-quality Ogg files. Halloween’s not too far off, so I’ll try to create more creepy music tracks this month. I had a super busy week creating original music for some indie projects, but I managed to get a few new free tracks done for everyone: On my Fantasy 9 page: MELANQUIRKY HOLLOW – (Looping) – Here’s a strange little piece that combines melancholy with quirkiness. Perhaps for humorously sad inhabitants of a fantasy village who stumble around drunk all the time? This one definitely falls into the “I’d be very interested to see what someone uses this for” category…lol. https://soundimage.org/fantasy-9/ On my Urban Ambience page: STREET_R29 – General street ambience. No foot traffic. Truck passes. Distant brakes. STREET_E30 – General street ambience. No foot traffic. https://soundimage.org/amb-urban-ambience/ Have a good weekend!
  15. By having the bitmap textures twice as big The PIXI.Text class generates it's own textures for display text using the canvas api, and so you can adjust the resolution to generate high / lower res text. But PIXI.BitmapText relies on the texture you supply it. So if you want it to be a higher resolution, you need to supply a higher res texture (or a larger font size that you can then scale down)
  16. Thanks for the reply @ivan.popelyshev I'm not understanding. Can u elaborate? Shouldn't delta update when ticker.update() is called every ~1000ms?
  17. There's max cap on delta, but in general that kind of tickers can go async in client-server. You need a mechanism for global server time, its inevitable.
  18. Hello, @ivan.popelyshev and @Herbert sorry for the necro but this looks to be exactly the issue I'm trying to tackle here in 2019. I'm working on a multiplayer game so it is important that my game state (physics calculations) stay in sync with the server. When the tab loses focus, it is my understanding that: RAF (which is what the Ticker uses) pauses. setInterval() is limited to 1000ms intervals. So my approach is to use a setInterval() instead of ticker.add() when window is blur and adjust as necessary (using deltaMS from the ticker): let manualUpdateInterval; window.onblur = () => { ticker.stop(); // stop the ticker so we can manually update ticker.minFPS = 1; // correspond to the setInterval limit (1000ms) manualUpdateInterval = setInterval(() => { ticker.update(); }, 1000); // capped at this value anyway } window.onfocus = () => { clearInterval(manualUpdateInterval); // stop the interval ticker.minFPS = 10; // reset to default minFPS ticker.start(); // start the ticker back up } if (ticker.started) { ticker.add(() => { update(ticker.deltaMS); // send deltaMS so physics calculations stay in sync draw(); }); } When the tab is focus, everything looks right. However when the tab loses focus, my physics calc seems off (I can monitor this by seeing the server update player location in it's logs)... When I switch back to the tab, player is behind. Is there something I'm missing here? Any help is appreciated.
  19. I'm trying to task that's easy to handle in Canvas, but which I can't seem to make sense of in PIXI. I thought I was getting close with this ( https://github.com/pixijs/pixi.js/issues/4894 ) and ( https://github.com/pixijs/pixi.js/issues/3251 ), but some of that is now deprecated; also, I'm not convinced this is quite what I'm looking for (or at least maybe not yet the way to do it) and I'd like to see a code example for what I'm trying to do. What I'm trying to do, and why: I have an editor, which is on a grid of tiles. The data for that level is stored in a JSON object, which may look something like this: { "room1": { 10: { 5: { "id": "Enemy/BossGuy" }, 6: { "id": "Ground/GrassH2" } } } } Now, obviously I *could* design an additional data structure on the side and an entire system that tracks every sprite, and another system that renders them, and another system that culls it based on your position, etc, etc... I most certainly don't want to do that. The data is already there, it just needs to render it. Additionally, the editor doesn't need blazing fast speed, I just want something that won't absolutely kill the memory. So what I want should look something like this: // We are INSIDE of the Y-Loop at this point... for( let x = tileXStart; x <= tileXEnd; x++ ) { const split = roomData[y][x].id; // assumes we know there's an id here const sheet = split[0]; // example: "Enemy" const spriteName = split[1]; // example: "BossGuy" // Uses the existing atlas textures and sprite references to render here: PIXI.draw( sheet, spriteName, x * 48, y * 48 ); } What's the correct way in PIXI to do this?
  20. Hello, I was wondering if there are any webmasters that have some nice websites for a good old link exchange. I have multiple ones with good metrics and almost no outbound links with high DA and PA's. Do you have an online game/portal and want to exchange some links? Please sent me a PM!
  21. I'm using pixi v5. On my PIXI.Text I can set "resolution = 2" But that doesn't exist on PIXI.BitmapText. So how should I set resolution for PIXI.BitmapText? Thanks
  22. Btw, if you change it directly, like texture.frame.x = something, you have to call updateUvs() afterwards. if you assign texture.frame = something, then you dont need it.
  23. For that kind of tasks you need everything: renderTextures, temporary atlases, maybe SDF. Pixi gives a few primitives, you can work with them to implement your own algo.
  24. what about PIXI.RenderTexture ? I do it very fast i don't know if i do it well, maybe @ivan.popelyshev can confirm. I use this kind of rendering for my item menu with a lot of stuff. https://www.pixiplayground.com/#/edit/JfMIVX3TxcttWQCZyrI5F Also add some culling will maybe help here https://davidfig.github.io/pixi-cull/
  25. Unfortunate, oh well, i guess i'll just have to write another function, i'll just assume that PIXI.Texture.frame is the property i need Thanks
  26. Hi, I'm trying to destroy the game, and re-build it: game.destroy(); game = new Phaser.Game(720, 960, Phaser.CANVAS, 'phaser', { init: init, preload: preload, create: create, update: update, render: render }); But i'm getting the following error: How do you suggest I should solve it? thanks!
  27. Graphics in chunks is one of best solutions. sometimes you need stuff like pixi-tilemap. As for text, well, im sorry, but that many texts is a problem on its own and requires serious hack that i cant imagine after a hard workday and workout Welcome to the forums!
  28. "textures" hashmap is not a magic object, its just collection of textures by names that no one changes after loading. Of course, if oyu dont make copies of certain texture - all sprites with that texture will use different baseTexture :) I implemented many hacks on texture frames and basetextures, and I didnt yet port my pixi-super-atlas plugin to v5. Its not a hard problem, not on the level of custom filters, but not an easy one too. However one of things i remember is that baseTexture change sometimes doesnt result in proper sprite change, we fixed it some time ago, i advice you to use dev version: pixijs.download/dev/pixi.js (pixi-legacy.js is also there)
  1. Load more activity