All Activity

This stream auto-updates     

  1. Past hour
  2. @coderontheroad Yes, looks like the forum no longer allows uploads, so remote hosting them is the way forward. The image looks similar to what I imagined. Terms like procedural generation and heuristics are quite broad. Procedural Generation is where the creation details are determined by an underlying process. Heurists are where the system can self-improve - rarely are they perfect, but just good enough. To elaborate on a possible solution: Prime Numbers. E.g. if lane 1 moves at 7, lane 2 moves at 11, lane 3 moves at 13, lane 4 moves at 17 then the odds of them coinciding are considerably reduced. Ask any cicada! Change the example Primes to any other distinct Prime, and multiply all by any constant to arrive at the on-screen velocity.
  3. Today
  4. This is a great prototype for a university project, it looks very promising. I even wrote a dissertation on a similar topic, if you are interested you can find information on a dissertation and write it at www.papersowl.com. I hope that this project will be successful at the university.
  5. @b10b thanks for your answer. I am trying to upload the image to the forum but always gives an error Here is the problem image https://prnt.sc/p8dsob There are 6 blue cars and 1 red car in total. And let's think lines like from left to right 1 to 4. The red car has a "speed" variable, and 1 line goes with speed*1.5... 2 line goes with speed*1.7... 3 line speed/1.5... 4 line speed/1.3.. I am adding cars one by one to each line. For example if the car added to 1 line the next car will be added to 2 line and it goes on order. Fixed data set can be easiest solution, but if I can solve in another way I prefer it I checked "procedural-generation approach " and "heuristic approach" keywords in Google but can't find similar examples, can you help more to understand them? Thanks
  6. different shaders generated from template, depending on the quality. If there are too many "texture2D"-s in shader its not supported in windows XP and some mobiles. That filter is stupid, multi-pass filters are better.
  7. Yes, it works, thanks! But why? Why quality 1 turns off glow filter?
  8. @coderontheroad the image didn't work but I think I understand the problem. If you are new in game development I'd encourage you to think about a general solution for creating patterns of "Entities" (such as cars on a road). Basically random is almost always a mistake; it's chaotic, untestable, poorly designed, cheap, nasty, and prone to unwinnable scenarios. It's not the "real" solution because it doesn't consider all the inputs. Instead begin to think of using smart "Factories" to create Entities ... The pattern of creation should be deterministic and regular, based upon a configuration and an elapsed state. For example a deck of cards is not random, it is shuffled (a seeded rearrangement) and then each card turned modifies the state in a pre-determined way. The dealer has the choice to either arrange the deck in such a way that desired interplay occurs (procedural-generation aka "cheating"), or automatically reshuffle when non-desirable interplays are detected (simulation and heuristics). In the 4-lane road game scenario a procedural-generation approach might involve the use of prime numbers to ensure gaps between vehicles occur. Or a heuristic approach might run the sequence in simulation (prior to the level starting) and remove any 3 lane overlaps. A very simple old-school alternative is to have a fixed dataset, and to use that exact same sequence of cars for that level every time - if the playtester can complete the level then the data is acceptable because it will be replicable for other players. All that being said the most commonly used solution is to introduce a new game mechanic that sweeps an existing issue under the carpet. Or "that's not a bug it's a feature". Who said games should be fair?
  9. not anymore v5 is here @Nagaraju you can override one of pixi text methods ("myText.updateText = function() ... ) and add a background in the canvas2d context. If you know what canvas 2d context is. It should be simple. Original source is here: https://github.com/pixijs/pixi.js/blob/dev/packages/text/src/Text.js#L128
  10. Greetings again. At the moment, we have not received the payment, we received a letter that the payment will be possible at the end of October. This is very sad, because it will not be 60, but 120 days.
  11. here for you ! https://www.pixiplayground.com/#/edit/OFYvS42WwZrrki2wOTey1 note: You do not have to generate a graphic texture for make sprite, it can also work without.
  12. I have tried but not working Is there any solution to draw background color for text
  13. b10b

    MTB Hero

    Being from the Pacific North West we are lucky to have some epic Mountain Biking on our doorsteps! To celebrate the sport we have just released ""MTB HERO" a pseudo-3D obstacle racer. Play for free in your browser (no adverts): https://b10b.com/mtbhero/ "Choose your hero and compete across 3 courses in the Mountain Biking downhill event. Steer between obstacles, collect boosts & improve your times. Will you win a Gold Medal?" Technical: Like our other games MTB HERO was developed with Haxe + awe6 + CreateJS and designed to run on any device at ~30fps. MTB HERO is based on our previous SLALOM HERO game and weighs in at less than 4MB. Commercial: MTB HERO is available to license (on a non-exclusive basis) from our website: https://b10b.com
  14. No matter whether you want full-time or part-time service, getting assistance from a reliable development company should be your first choice. Alongside complete dedication, you can reap some other benefits as well. Let’s have a brief discussion on 5 benefits that you get from a software building company: https://www.redappletech.com/5-benefits-for-hiring-a-dedicated-mobile-game-development-company/
  15. when you add something, you can remove it later: let myFunc = (delta) => { ... if (itsTheEnd) { app.ticker.remove(myFunc) } } app.ticker.add(myFunc); In general, animations are called "tweening". Either you need experience on writing animations through callbacks, either you need a library like TweenLite to take care about it. > 1 + delta; That's very strange thing to write. But keep writing all the random stuff, you'll get it one day 😃
  16. I am working on image corousal (Image slide). I have two images in two different container under main container. Canvas size is 270* 270. So two containers are set in a position of -270, 0. When user starts slide right animation, I will start ticker and will stop until second container reaches to x coordinate '0'. this.appRenderer.ticker.add(delta => this.tickSlideRight(currentSlideNumber,delta)); // ticker right slide tickSlideRight(currentSlideNumber,delta){ try{ this.imageBaseContainer[currentSlideNumber].x += 1 + delta; if(this.imageBaseContainer[currentSlideNumber].x >= this.appRenderer.screen.width) { console.log(this.imageBaseContainer[currentSlideNumber].x, this.appRenderer.screen.width); this.appRenderer.ticker.stop(); } }catch(ex){ alert(ex.message); //TO-DO } } Can anybody helps me to give duration for ticker within container slide should be happend.
  17. Good one to play while drinking a cup of coffee at the morning 😃
  18. AdvancedBloomFilter is a multi-pass filter, you have to go inside it and modify it that way in last step it . If you are not ready to dig into filters, shaders and the harder part - multi-pass filters - dont go there. As for why bloom and other filters are applied to transparent too - that's how it works everywhere. Workaround without direct usage of custom filter: render container into renderTexture, apply bloomFilter to sprite and a mask it with itself. However you'll need to mask only alpha stuff , that's not included in pixi vanilla package - you'll have to modify SpriteMaskFilter anyway, I published workarounds before but i dont have time to search for them now. If you explain why exactly do you need such thing and whether you are ready to wait when someone does it, we can think of something
  19. I am trying to apply AdvancedBloomFilter to a sprite, but now the filter is applied to the entire sprite(even the transparent pixel). Is there any way to just apply the AdvancedBloomFilter to the colored pixels?
  20. Welcome to the forums! I congratulate you on first solved issue, and advice to read stuff from this subforum, I have answered tile-related questions every week. Also https://github.com/pixijs/pixi.js/issues , both open and closed issues are good source of knowledge. If you feel strong enough, clone pixijs sources and next time just look into them if you think something is wrong with docs Transforms and Texture are the basics, I'm glad you are spending time on them. It will help even if you work with other renderers/game engines.
  21. if your cloth wont be rotated, you can just change filterArea every frame - that will limit the temporary buffer pixi uses to draw this thing on. cloth.filterArea = cloth.getBounds(); // execute every frame or every time you change something If you start rotating cloth... well.. I believe you'll need to get inside filter and use that multiply formula you did before, "gl_FragColor = stuff1 * stuff2". However this time, you already have formulaes for position, scale and pivot (which is basically tilePosition of tilingSprite) Actually, why do you even rotate that TilingSprite? I thought "tilingSprite.tileTransform.rotation" is better in your case
  22. Sports betting is gradually setting up a new dimension and has registered consistent growth changes in the sports betting industry. This means online betting now becomes exciting platforms that allow people to develop their own team. Nowadays, sports betting is a serious business, and with fun and exciting casino games, it often carries higher stakes due to which it has been taken more seriously by bettors. The increasing demand for sports betting is likely to create a buzz in the market and to gain this momentum, most sports betting software development companies to grab customer attention.
  23. Sports betting is gradually setting up a new dimension and has registered consistent growth changes in the sports betting industry. This means online betting now becomes exciting platforms that allow people to develop their own team. Nowadays, sports betting is a serious business, and with fun and exciting casino games, it often carries higher stakes due to which it has been taken more seriously by bettors. The increasing demand for sports betting is likely to create a buzz in the market and to gain this momentum, most sports betting software development companies to grab customer attention.
  24. Thanks for your advice, I've tried it as you said. It seems to work, but how do I remove the black area? I want it became transparent which is black now function setup(loader, res) { let cloth = new PIXI.Sprite(PIXI.loader.resources["cloth"].texture) let flower = new PIXI.TilingSprite(PIXI.loader.resources["flower"].texture); let fw = 328; let fh = 240; let cw = 179; let ch = 182; flower.anchor.set(0.5,0.5); flower.rotation = 0.3; flower.scale.set(1.1,1.1); flower.width = fw; flower.height = fh; flower.position.set(fw/2,fh/2); flower.tilePosition.set((fw-cw)/2,(fh-ch)/2); flower.blendMode= PIXI.BLEND_MODES["MULTIPLY"]; cloth.filters = [new PIXI.filters.AlphaFilter()]; cloth.addChild(flower); app.stage.addChild(cloth); }
  25. Huh, then i forgot whats in trim.x/y . Its easy to forget all those params, I look in the code every time I use them.
  26. Thank you for your opinion! Yes, you're right about repeating tutorial, it's really annoying. But I don't think it's possible to use arrows in this game, It's required to move in varying angles to fly around complicate landscapes, and the arrows allow to use only a few directions.
  1. Load more activity