lionz's Forum Posts

  • 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.

  • 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.

  • What did you try so far ? I feel like whatever I respond with then the next reply will be asking me to make it.

  • I can see what you've gone for and I would also be taking a similar approach with an array with locator id but it will need some tweaks, specifically you should not go for this idea then use a new variable for each dialogue and a new text object also.

    - Use the same text object for dialogue and set its position to the npc you are near. Set text to npc, not npc to text...

    - For dialogue use one global variable that tracks the array position, not a different variable for each npc or dialogue...

    - Possibly make use of an npc family so you can reference 'npcs' instead of individual ones. This way you can pick out a single npc to set visible and make the rest invisible in one event...

    Also I think you missed off a part of the event in screenshots as I didn't notice anywhere you increase the position variable to move through the dialogue. My guess it is the last one where you press spacebar but you didn't show the full event.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you add ScrollTo on the player it becomes an infinite space

  • it's endless already, no illusion needed!

  • You can create the weapon object and set variable 1 to choose(Kings,Godly) and then variable 2 to choose(Haste, the Whale) for example it picks one of the options.