• Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by b10b

  1. b10b

    PIXI loading audio files in iOs Safari

    @Beawer26 might be worth considering using pixi-sound: https://github.com/pixijs/pixi-sound
  2. b10b

    Cross-Code coming to Switch Discussion

    I'm not sure how CrossCode is being ported but there is this runtime (focused on Construct and Fusion to consoles including Switch): http://mp2.dk/chowdren/
  3. b10b

    SICARIO KID - quick-shot duel

    Yeh, I'd agree - like @mattstyles said it went against expectation. But it made more sense over time when the rewards were higher and hoarding paid off (so I didn't mention it). I think permanent is the better choice.
  4. b10b

    SICARIO KID - quick-shot duel

    @Nagval333 I really enjoyed this. The concept, the style and setting, the music and the pacing - creatively great and well executed. I got to Level 30 (100+ kills) and it kept me engaged. If you were looking for suggestions, I'd mention that the upgrade path was initially slow (to the point some players may never achieve a single upgrade?), then seemed to quicken on the second half of upgrades as things became quite easy comparatively. I'd also mention that finger placement meant I often hid the opponent, so I never really appreciated their variety, their rank, or their reward. Again, great simple game
  5. b10b

    Leaderboard not found

    @sistemlogikadigital this will try to create a new Context with another Player (of id "100"). Perhaps no such Player exists, the new Context request fails, and the id value assigns to "0" (when relayed through the Leaderboard requests or prior)? Try replacing //bla bla with the below to verify whether Context creation worked as expected: console.log(FBInstant.context.getID());
  6. b10b

    Is Pixi.js a good solution for my project ?

    @gonzalle how big are your maps?
  7. b10b

    Adsense eCPM on free fall

    This could be because Programmatic is an auction, so let's look at it from the buyer's perspective. Ever tried advertising with Google's ad platforms? Was the quality of their referral traffic good? Did it convert to genuine customers or anything else of value? Or was it overhyped and overpriced inventory yielding poor results? If many Google ad platform customers arrive at a negative conclusion then Demand will drop, and the price will follow. If we combine this with Supply saturation and autonomous-inventory-trading then the bottom quickly falls out of the market. Same is equally true with any other non-Google programmatic ad platform (there are other recent posts on this forum showing similar trends on alternative platforms). I've always questioned the assumption that Advertisers value placing their ads in generic games - and at ~$0.0004 per impression perhaps the evidence agrees? Valuable advertising always needs to think differently.
  8. Fair question. I'd guess stealing appeals to chancers who don't follow commercial concepts like value creation or market positioning? It might appear to cost less initially, but rarely will it be as worthwhile as a legitimate source ... Whereas Licensees are in business and will have identified their supply and demand channels. They may request customizations from Licensors that can generate value specific to their business model. For web-games a simple example could be in-game ads, or a more-games link - and more complex examples would be proprietary (requiring partners with high professionalism and integrity). Responsibilities are defined within the License (negotiated by either party prior to agreement) so mutual benefit is usually the goal.
  9. Big doesn't always mean best Larger studios can easily be hand-to-mouth or overly committed to a particular workflow or high revenue customer. Consider micro-studios that are small enough to avoid waste but large enough to bring "solved that problem before" experience. A particular challenge with puzzle games is how to "teach" the core game mechanics. An original puzzle is usually an entirely new mental picture to the player (compounded by being set in an abstract environment), it takes time to create the neural pathways that will trigger joy. Therefore the game should include familiar (or easy to attain) skills from the first encounter else the player may quit prematurely.
  10. b10b

    New Driving Game - Looking For Feedback

    @TomC10 just some quick feedback ... 1) needs keyboard control too, 2) the dashed lines on the road are "above" the cars (visible when they spin), 3) hit test rectangle allows lots of overlap on rear of car, 4) phantom yellow pixel top left of Taxi, 5) gameplay needs some evolution (good start, add more, make fun!)
  11. You might remember in the old days non-exclusives were sometimes called "site-locks" and it was considered a big-bad when other sites embedded or IFramed the game (effectively leaching)? Whereas these days (within a revenue-split model) it's often advantageous to allow other sites to link, embed, and further distribute content - assuming it is properly managed with authentic parties. A good publishing partner will actively negotiate distribution and licensing deals with such channels - in a way not dissimilar to how TV "syndication" works. And, so long as all parties are recipients of the upside, this is usually a good thing that results in growing royalties. But I don't want to end up sounding like a sales pitch for anyone and everyone offering revenue-split - not all are worthwhile - explore, ask tough questions of potential partners!
  12. Hi @Kevin Trepanier, From a FGL-Flash-era comparison the big changes are HTML5's shift towards revenue-split, syndication, multi-platform, multi-player. A good Publishing Partner (who can bring high volume traffic and share revenues fairly) is good to have but might take time (and a small catalog of games) to find? Sponsors. The "Auction" exclusive-upfront-fee licenses are rare (or rather the level of risk for a small team to build a game of sufficient scope to gain exclusive interest is hard to justify upfront). The "Gameshop" style non-exclusive upfront-fee licenses do exist, however the number of active sponsors in the market are few so overall revenue is limited (in comparison to slower but longer revenue-split). There are links on this forum to such sponsor portals, although it's a changing list with high churn so your own research will be necessary. Virality. As always, it's possible but improbable! But more contagious these days is the speed and quantity of rip-offs and clones. Any big-idea must be protected with (or leverage) a server-side strategy. Of course everybody's mileage will vary, most will quietly stall whereas a few successes are very real and highly deserved (and often humble!). I hope that's a fair and helpful overview.
  13. Not sure many peeps will want to sign-up to play? Or at least not yet. How about "Play As Guest"?
  14. b10b

    Pixi Texture Atlas Animation Library suggestion

    Have you tried Spine (or DragonBones)? Both work well with Pixi and are often more versatile and expressive than the spritesheet-only approach (but at the cost of some extra runtime performance requirements). Otherwise we've been using the Pixi extras "AnimatedSprite" as a starting point for plain spritesheet animation (combined with Shoebox to generate the Atlas, TexturePacker also works well).
  15. b10b

    Find empty position in map

    Nicely documented. However I imagine the map to be changing, so collecting / filtering all the empty cells each search is going to be expensive (doubly so if the map array is formed by looping all Players to get their positions?). Whereas having Players link (or delink) themselves from their respective Coordinate (as they move) and then have that Coordinate link (or delink) itself from EmptyCoordinates (as the Player links change) may be more optimal? Whether this linking overhead is more or less optimal that the OP's "loop until random is empty" approach likely depends on size of map, population density, frequency of movement and so on. A fourth approach may be to hold a finite set of "spawn" locations and pick the one with any Player furthest from it.
  16. b10b

    First person wizarding puzzle game

    Interesting concept and goal. I was able to make my way through without issue (desktop Chrome). Maybe consider larger drop areas on the UI and penalties for guesswork?
  17. b10b

    how to make a perpetual movement with random

    @espace use onLoop instead of onComplete You won't need to reset the x, because the tween state will do that. Math.random(0,800) is incorrect, use Math.random() * 800 instead. Use a regular function (not an arrow) for the signal listener, and use sprite as the context (instead of this). Sorry, couldn't figure out why this scenario didn't fit as expected with arrows? function create() { var sprite=[] var tw=[]; for (var i = 0; i < 5; i++) { sprite[i]=game.add.sprite(400+i*10, i*100, 'phaser'); } var move=()=>{ for (var i = 0; i < 5; i++) { tw[i]=game.add.tween(sprite[i]).to({x:-400},1000,Phaser.Easing.Linear.none,true,i*200,-1); tw[i].onLoop.add(function(){ this.y = Math.random() * 800; },sprite[i]) } } move(); }
  18. b10b


    Characters are looking great!
  19. It would be a start towards considering the scenarios where counter (derived from delta) is significantly larger than updateFrequency (and therefore not fully resolved with the singular if). You should next reconsider your assumptions around averages. I'm going to sign off there as I'm repeating myself. Good luck.
  20. @thedupdup I'm guessing a little in the dark here ... but perhaps move away from if(counter to while(counter ... there will likely be some knock on effects to consider too ...
  21. I get that. When the tab is inactive requestAnimationFrame effectively pauses, so delta effectively grows. When it resumes the delta will be the equivalent of all those imagined smaller deltas added together. Hence timeElapsed returning -3000 (things are happening exactly as coded). But I actually don't think this is the point ... it is ok to have timeElapsed as -16, -3000, 1,000,000, or 0, just so long as the logic that acts on it considers all possible range (not just the expected range).
  22. I don't think you should assume anything about delta. Your code snippet doesn't define updateFrequency so I have to guess what it is, but I can imagine scenarios where delta is quite large. More to the point 'counter -= updateFrequency' is likely making the assumption that counter is only fractionally larger than updateFrequency, rather than multiples of. For the latter outcome you might consider using a while loop rather than an if.
  23. Yep the stackexchange answer is fine. Note there are no assumptions that delta will always be < updateFrequency.
  24. Code issues aside, one thing to note is that requestAnimationFrame is usually significantly reduced on a background tab (sometimes not updated at all). Can you explain your goal (with new words) as there may be a simpler solution.
  25. @Ankit M thank you for such decent answers!