ultrafop's Recent Forum Activity

  • First thing I notice this that this belongs in the C2 portion of the forum (this is C2 right?). Might need a move.

    Can you please post a pic of the full code there (without those obstructions)? I notice that sprite2 (your rail/laser I assume) is doing something every tick at the top but I can't make it out to see if that's part of the issue.I'd also like some clarification of what you mean by the score not working correctly. Is it adding too much to the score variable or not at all? Have you tested it in debug mode to see whether the issue is the score not adding correctly or whether it's the text object not displaying the score? Also, assuming the value is not changing at all, I'd check to make sure your rails are not on a layer with a parallax of 0,0 (I see the HUD layer there), as it won't actually hit your walls and update the score. Just a few ideas.

    EDIT: Is your text object not displayed on the screen at all? Because that may be a parallax issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, I'd put your total collected gems into an array and save/load your values using the Local Storage object. Each section (addition, subtraction etc.) can have it's own x location in your array (assuming you don't want to store multiple values for each section, in which case you could use a 3 dimensional array).

    When you want to display the values, you just set (or append) your text to the x (or x/y) location containing the value you saved.

    I hope this is helpful, but if I've misunderstood please let me know.

  • Have you made sure default controls are off for both platform objects?

  • For example, i'm making a game with a mine in it, and i want the mine too look good, something similar to this

    https://www.scirra.com/store/royalty-free-game-tilemaps/cave-mine-tileset-172

    I could just buy this but i want to make it on my own. As for the software im using, im using aesprite.

    Yo! I don't know that software but essentially you want to create scalable tilesets (32x32, 64x64,128,128 for example) where the edges match up. I'd look for info with aesprite's community on doing your own tileset, as they'd likely have the best advice in using that software.

  • Yo! Valera's plugin has an MIT license so you can use it so long as he's credited.You can't set new variables in the browser object (If I'm wrong, can someone show me how?), so you'll have a tough time with code like that. If the only issue is the time info at the end of your date you could also just make the textbox a size that cuts that part off.

  • Perhaps this is what you're looking for: https://www.scirra.com/store/construct2 ... ugins-1662

  • > Try this out:

    > https://www.dropbox.com/s/yns53519stt49 ... .capx?dl=0

    >

    > If you have any questions about how this works, feel free to let me know!

    >

    > I'd also recommend checking out some tuts on arrays. Here's a good one:

    > https://www.scirra.com/tutorials/307/ar ... ers/page-2

    >

    It works perfectly! Thanks too much!

    Happy to help!

  • Perhaps someone could teach me an easier way to go about this but I’d write a simple js file that gives you the specific part of the date you are looking for and run it with Valera Popov’s JS plugin. I’m very new to this kind of stuff, so there may be a way to do this with the browser object but I haven’t found it. I’m not sure whether you’re new to js like I am or not but if it is at all helpful, here is a link explaining how to get the current year in js (as an example). https://stackoverflow.com/questions/600 ... javascript

  • Can you please post a screenshot of how this code works? Are you setting a variable for the teleport or just the “on overlap” trigger? If a variable is changed then the player would be unable to move from object Y until it was changed back. But I’m completely guessing lol.

  • ladydye Hey there! Set a timer that begins when the player is not on the ground. If the timer is greater than a set value when the player hits the floor kill your player. If the value is not great enough to kill the player when they hit the floor, set the value to 0 when they land.

  • Try this out:

    https://www.dropbox.com/s/yns53519stt49 ... .capx?dl=0

    If you have any questions about how this works, feel free to let me know!

    I'd also recommend checking out some tuts on arrays. Here's a good one:

    https://www.scirra.com/tutorials/307/ar ... ers/page-2

  • Hey, go ahead and neglect my first post. The "on start of layout" method works but the other one does not because of the for each loop.

    I've made a capx (you can open those on C3 as well right?) with a working method for you that works dynamically.

    https://www.dropbox.com/s/pk3o9bl4palc7 ... .capx?dl=0

    Hope this is helpful!

ultrafop's avatar

ultrafop

Member since 26 Jul, 2015

Twitter
ultrafop has 1 followers

Connect with ultrafop

Trophy Case

  • 9-Year Club

Progress

9/44
How to earn trophies