marc254's Forum Posts

  • Hello

    I think in the second picture, you have to set your player position to variable X and Y not Player.X and Player.Y

  • Hello Zed2100

    Thank you very much for your advices.

    I will look into webstorage again to see

    Regards

  • Hello Zed2100

    Thank you very much for your detailed instructions.

    Actually I tried to modify and I messed everything up. I will try to start over this week end and see.

    To save the game actually I did not want to use the save/load function. I first started to see if I can do something like

    • on Player.X >= checkpointobject ==> set global variable checkpoint_x = Player.X and checkpoint_y = checkpointobject.Y
    • on touch continuebtn ==> set Player position = checkpoint_x and checkpoint_y

    But that did not work

    Do you have a simple way to respawn the player and then keep everything same (meaning that distance run will continue to increment , coins also, etc)

    Thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello oosyrag

    Thank you for your reply.

    I am not sure to understand your solution.

    What I am trying to do now is:

    • every X seconds create a checkpointobject on ground at checkpoint image.
    • everytime the player overlap with that object, the game is saved (slot:"mysave")
    • when user hit continue button after die, the game is load to the previous checkpoint touched by player.

    That works but currently there are 2 problems

    • first, I want the user to be able to continue only onetime. meaning that when he dies first time and continue, the second time he does not have the option to continue again. Currently the continue windows appears everytime the player dies.
    • also when the game is saved, when you close the game and come back, that save is still there. let say player starts a new game and does not overlap with any checkpointobject and dies, when hit continue, he is respawn to the previous saved game ( don't know if there is a way to delete the save after player dies second time or when game goes to game over page, the save slot is cleaned; like that if you restart a new game the slot will be empty)

    Thanks again

    Regards

  • Hello

    Thank you for checking my post. I have an endless running game and I want the user to be able to continue one time the game if he dies. So basically I have a popup that shows once the player dies first time. If he wants he can use coins and continue the game. What I want is to be able to re-spawn the player in a safer place and give him the opportunity to continue running. I don't want to use checkpoint because this is a endless game and objects (ground, enemies, etc) appear randomly. So it will be hard to place a checkpoint in the game.

    Does anybody have a way to put all these together?

    Thank you

  • Hello Dop2000

    Thank you so much for your hint.

    Actually the issue was the global variable coutndown which I had to reset to 10 seconds when the layout starts

    Thanks again

  • Hello all

    I am not sure if it is the good title but I will try to describe what I am trying to do.

    Basically I am doing an endless runner game. What I am looking, is to give choice to player to continue the game once he losts one time and continue to collect coins.

    So what I did

    • Create a layer called continue
    • this layer contain the window with buttons (watch a video to continue or pay 100 coins to continue); this layer initial value is invisible
    • create a global variable called continuecheck

    So

    The global variable continuecheck = 0

    When player dies first time and continuecheck = 0 ===> set continuecheck to 1 and set layer to visible

    player has 10 seconds to choose

    Once the countdown get to 0, set continuecheck to 0 and layer invisible and go to game over page

    The problem

    According to what describe, logically the global variable continue check has to be 0 for layout to show.

    So when the game go to game over page, continuecheck is 0 at that time but when the player go back to the game the continue window does not show anymore when he dies.

    I have to close the game and restart for the window to show.

    Did anyone has an idea how to fix or a better way to do that?

    Sorry I hope I am not to confusing for my description

    Thank you for taking the time to read

  • Hello drop2000

    Thank you very much for your reply.

    I tried all these technics with no success.

    I will continue to see if I can make it works

    Thank you

  • Hello all

    Thank you for checking my post.

    I tried my best to find what I am looking for on the forum or youtube but not able to.

    Basically I am doing a game where you have missions/achievements (something like collect 500 coins and you complete the mission). In my design I am putting everything in a small window and I want player to slide up and down to see the list of missions.

    I have difficulty to make the item sliding inside the window vertically

    Any help will be greatly appreciated

    I hope my explication is clear

    Thank you

    Regards

  • Hello all

    I just released my first game on Google Play!

    Please check and share!

    Any reviews will be greatly apreciated

    https://play.google.com/store/apps/deta ... Freetuppet

    Thank you

    Regards

  • Hello all

    I just finished my game for android.

    Please check and share.

    https://play.google.com/store/apps/deta ... Freetuppet

    Reviews will be most appreciated

    Thank you

    Regards

  • As some of you know I've been trying to contact Ludei for a while now to keep this and other Cocoon plugins up to date all the time. Finally after many weeks and my several attempts via email, forum, github - they replied.

    [quote:4i1sr4ia]

    (...) we are still working on Cocoon.

    We know we have been too silent and we want to apologize for that.

    (...)

    We want to release the update to the servers and the new version of Canvas+ and then get back to all of you, our users and offer support in the forums again.

    Thank you for your patience.

    So the good news is that they are working all the time (and are strongly focused) to improve their most wanted mode which is Canvas+. We shall see fixes for all the reported issues (including their Local Notifications) once they release new Canvas+.

    Thank you for keeping us update

  • Could you clearify a bit more? Like, what do you mean by 'the music stops when the game starts'? When does the music start?

    Could you post the events you use to play music?

    Hello

    Thank you for your reply.

    Actually, here I am talking about user own music.

    People generally play games by listening their own songs (playlist / music in the phone)

    But when my game starts, it stops other media player that is playing.

    Not sure if it's more clear

  • Hello all

    I tried to search on the forum but I can't see if there is any solution for the problem.

    Did anyone experienced the fact that user own music automatically stops when the game starts with no possibility to play and listen a different music at the same time?

    In my research it was saying that it's coming from cocoon website.

    Did anyone find a solution for this issue?

    Thank you

    Regards

  • > Hello

    >

    > I bought your template and it is working very well.

    > Thank you for your job.

    > The only issue I have here is the interstitial.

    > When the purchase is done, banner is hidden but not the interstitial.

    > How can I get the interstitial also hidden?

    >

    > Thank you

    > Regards

    >

    Hi,

    thank you for your purchase. The template uses a variable "ShowAds" which is 1 if the player hasn't purchased the "Remove Ads" perk.

    So just add a new condition "System -> compare variable -> ShowAds == 1" to the event where the interstitial is shown.

    Then no interstitial should be shown when the Remove Ads perk has been purchased.

    If this doesn't work for you, please open a ticket here and attach your capx file.

    https://shatter-box.com/tickets/

    I'll check it then for you.

    Regards Andy

    Hello

    I tried a couple of things but I still have the interstitial that appears onetime when the game starts and then no more after that. Do you think I can remove that or it's not that much important for users if it's only one time?