lionz's Forum Posts

  • That looks right. Btw just in case you are just trying to create a save game here there is a simple option of system 'save'.

  • push back inserts a new row at the bottom of the array, which is what you need here, but it doesn't set all the values, instead you would see armor.x,armor.x,armor.x. So to set the Y and Z in columns 1 and 2, they are using set at X,Y.

    self.width is the number of rows and since the rows likely start at 0 index it needs to be self.width-1, basically self.width-1 is the number of the bottom row, the one you just added.

    So the logic above is saying - insert a new row (push back a value) which sets (new row,0) to armor.x, then set (new row,1) to Y and (new row,2) to Z.

  • Maybe it's just me but the wall jumping seems to be off, I can't get past the second jump

  • When the distance between the player and enemy is low less than 85, the enemy still has line of sight of the player so the first event will keep running. Maybe use a variable on the enemy to distinguish between walk and attack.

  • If freezing and continuing from where the game was ruins the gameplay in some way then store the outcome and display it to the user when they return, like the game is over and here is the result.

  • You'd have to share the project to help with this

  • Hi, that wouldn't be it, it would be a crash game. Have you ever played the Aviator Casino game? It's a real-time game, so the game shouldn't pause at any time.

    Casino games are complicated. One option maybe is to just show them the final result when they return after suspending the game, since many casino games use api with a known result and then display it to the player after.

  • I think Tatbarao might be trying to make an idle game or one of those games that relies on timers, like maybe those dragon breeding games? I'm not smart enough to know exactly how to do it, but if the game could store the real world time when a player leaves the tab, and then compare it to the time when they return, and then make changes based on that time difference, then it would kinda be like the game didn't pause.

    Nah it's some kind of real time casino game. If it was an idle game it is possible to do what you're saying by comparing time and I would've suggested this.

  • Everywhere I look even on outside forums it says suspending when switching tabs is expected and the only way around it is using hacky methods to override the browser, which isn't recommended.

  • Oh ok you meant like a bbcode style thing, fair enough. You can just leave the post, no way to mark it as solved. Maybe edit the title if you really want.

  • It should pause though, I'm asking what you think it should be doing in the background while you are in another tab.

  • why does it need to run in the background when you switch tab ? most responses say you can't do this and you shouldn't do this.

  • Do you mean like a custom font with numbers with a black border ? There is something called SpriteFont where you can import your own numbers and display them with the black outline.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are you asking how to make a 3D game ? there isn't enough info here, a lot of what you are saying is too generic and not specific to any issue you're having.

  • Still have a problem ? please reshare the link and give more info.