Calibo 999's Forum Posts

  • 13 posts
  • I tried like that but when I load my game my player is at the place where the game was saved and not at the last checkpoint, moreover the music does not start from the beginning

  • i use dictionary to store game data like health or money, which i save to local storage, i don't use built-in save

  • hello, I would like to know if it was possible to save persistent objects in the local storage. indeed I have a layout which acts as a world for my game and by finishing a quest we destroy an object which prevented us from moving forward. by changing layout and returning to this world, the object remains destroyed. however, if you save and restart the game, the object will reappear. would it be possible to keep this object destroyed? and conversely to keep objects created during the game?

  • hello, i am remaking minecraft in 2D and i don't know how to make the command system. i use a text input as chat and a text area as chat log. to execute a command, you should type /functionName param1 param2 param3 etc...

    idk how to code that,

    thank u if you try to help me (and sorry for my bad english)

  • ok, i think i will use the first method because i am not very familiar with js.

    thx for ur help

  • hello, I would like to be able to call a function by its name which is stored in a variable. Let me explain: an instance variable contains the name of a function. when selecting this instance (for example by clicking on it) I would like to call the function corresponding to the value of the variable (for example if the variable contains "closegame", the game will have to call the function called "closegame")

    It is possible to proceed in this way? and if yes how?

    thank you

    Tagged:

  • hi everyone, i'm coding a minecraft in 2D but I'm stuck on something. In Minecraft, there are 16 levels of light, determined by an integer ranging from 0 (the minimum) to 15 (the maximum). The game uses the light level of a given block to calculate its brightness.

    If a block's light level is 0, it will be close to black. If its light level is 15, a white block will be close to white and a red block will be red.

    Now my problem is that I don't know how to add this effect to my game. Here is what it looks like

    The highest block would have to be at a brightness of 15 and we would remove 1 as we go down. I should also be able to create blocks that emit light in all directions

    I created a family of objects for my blocks with a brightness effect.

    Thank you to everyone who will try to help me!

  • could you send a project file with this? I did not understand everything, I think that visually it would be easier

  • I just came across this topic and I was wondering how to set up the jump and platforms from that

  • this doesn't work with tilemap

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • when i jump off a cliff i disable player collisions and make it go down. But when should I reactivate the 8directions behavior?

  • that can be an idea but how to make so that the jump does not disable while I am still "in the air" (= on a solid)

  • Hello. I am coding a game like the old zelda and I get stuck on one thing: in the game I would like my character to jump when he is at the top of a cliff for example to land at the bottom of this cliff. the only problem is that I don't know how to do this. can someone help me?

  • 13 posts