Valerien's Recent Forum Activity

  • Hi everyone,

    my teammate and I finished a commercial game project in html5, and after struggling for a while with sound across android and iOS, my teammate finally got it almost working everywhere.

    The problem is that the "on suspended" and "on resumed" events of the browser object aren't called on Safari. Thus, the looped music doesn't stop when pressing home or switching tabs.

    It's working fine on desktop and on chrome in particular. Below, you'll find an example project and capx that you can test directly : the square changes color when the "on suspended" event is being called.

    Online demo

    Capx

    May you have any solution to this problem please ? May there be another way to detect a tab switch or if the user presses the home button on ios and/or android ?

    Kind regards,

    Nathan

  • You can also use a mathematical function for your experience and stats curve.

    Let's say your character just got to level x :

    nextLevel (xp required) = ceil(ax^y)

    a and y being anything between 0 and +oo you simply set by hand.

    You can then plot your xp curve online to instantly see what values it's giving as an output. We're using desmos with my teammate, which is a great free tool available online :

    Desmos - online calculator

  • I'll leave you a couple notes based on the experience we have had preparing our business this year with my teammate :

    1- build a small game first. On average, the revenue from the first 3 games of a given team makes less than 300$ on mobile stores.

    2- planning to release your game on pc ? It has clearly not been designed for mobiles anyway (the gameplay and controls are too complex). But just note that there is practically no html5 market on desktop, and that the pc/mac/linux world requires a higher quality standard than mobile.

    3- You should try the publishers route, but only accept a fair deal (small upfront payment plus 50 to 70 % of royalties for example). They can get you front page features and they'll get your games validated fast on the stores. Last but not least, they generally have a network and cross-game promotion which is absolutely required when starting on mobile phones

    As for the selling model, most of them seem to ask for freemium (free game with ads, plus In app puchases to unlock more content or so).

    4- But start with a small game (unless you have a strong source of revenue maybe). It can feel heartbreaking to work for 3-6 months on some project and only get a handful of bucks in return.

  • timer functions

    (because using incrementing a variable on every tick is messy)

    There is a timer behavior already, and Time and deltaTime variables (respectively time and dt) already in place to build your very own timer functions.

    (perhaps it will make it easier with responsive design if all sprites are vector based?)

    It doesn't really make a difference as far as responsive design is concerned. The primary advantage of the vector format is that the images are really lightweight.

    There is a sufficiently strong toolset at the moment in order to build responsive UIs within construct (tiled backgrounds and maybe 9slice are pretty much all you need).

    Regards,

    Nathan

  • There's already the object tab and project explorer to select quickly all instances of an object in the layout or change variables globally inside the project.

    And the object tab filters objects that are present in the current layout too.

    Hope this helps,

    Nathan

  • In fact, having the ability to use hand-made animations or pick a sprite from a spritesheet would be even more flexible than particle rotation, and practically erase the need for it.

  • Thanks for the answer. I did a forum research before posting but didn't see that. I'll probably go for some animated sprite with shader magic then.

  • Hi everyone,

    I'm posting a request here because this parameter would greatly improve the flexibility of the particle object:

    Initial angle (random value from 0 to user input value) - random angle variation is necessary for many systems to look believable (smoke, fire, water fountain...).

    Cheers,

    Nathan

  • Construct is quite powerful, and the event system should be flexible enough for one to code such a game without too much pain.

    As long as you stay on desktop platforms there shouldn't be many performance issues.

    Cheers,

    Nathan

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • ArcadEd : most html5 games currently feature no sound. It seems like iOS and android at least, the support is pretty bad at the time.

    We just tried it on an html5 game we just finished with my teammate, and we do have the cache problem on ios, and the sound not looping on android.

  • You're talking about charging a client to develop the game, right ?

    As an engineer, I'd aim for approx 50-100$ per hour of development over the course of the project, depending on how many games you have released previously.

    Now as you need to plan for the dev time upfront, if you lack past experiences there, you just need to make a bet + add a fair amount of safety workdays, and eventually lower your cost estimate later, as the contract unfolds.

  • You have a nice start there ! Only a couple of things should be pointed at, as far as controls are concerned :

    1- Why have your contextual actions and jump on the same button ? Loot could be done with only the botton arrow and climbing with the up and down arrows.

    2- Generally crawl is a movement mode you activate with B or with the left stick click. I think at least that's the standard with controllers.

    Good luck moving forward,

    nathan

Valerien's avatar

Valerien

Member since 15 Nov, 2010

Twitter
Valerien has 3 followers

Connect with Valerien

Trophy Case

  • 14-Year Club
  • x25
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

17/44
How to earn trophies