WackyToaster's Recent Forum Activity

  • System has the unixtime expression, so simply typing unixtime will return that.

    There's also a plugin that I made. construct.net/make-games/addons/97/utc-time

    It's basically the same with some extras. In your case you probably won't need them tho.

    Don't forget that the device time can be changed to cheat. If you want to avoid that you have to get the timestamp from a server.

  • Arrays are not the easiest thing to work with, but once you understand how they work they can get really useful.

    [quote:2469aufe]Would you mind explaining this please:

    variable > array.width - 1

    Set variable to 0

    So the variable is used to define where you are currently at inside the array. However, arrays use zero-based indexes, aka. the first value is stored on 0, not on 1. What the check does (assume the array has a width of 10):

    IF the variable is bigger than the array.width - 1 --> set variable to 0[/code:2469aufe]
    We need the -1 on the array width, else we would allow the variable to increase up to 10, and array.At(10) would return nothing, since the array has stored the values on 0-9. What this ends up doing is that it will loop back to the first item once you reach the last item.
    
    [quote:2469aufe]Do you know how I can use the array.At expression to point the return value to a specific line on the array, say the second or third row?
    
    array.At(X,Y,Z) --> array.At(0,2) will return the value on the 3rd row.
    X = columns
    Y = rows
    Z = depth (3d arrays)
  • Use array.At(X,Y,Z)

    If you have the names stored on x just do Array.At(variable) and every time the button is clicked, increase variable by 1. At the end just make sure that the variable loops back to 0 or stops increasing once you reach the end of the array.

    variable > array.width - 1

    Set variable to 0

  • we have no idea how it even happened? Especially if it appears to be some sort of "cosmic-ray hit the cpu at the wrong angle" kind of crash that you cannot reproduce.

    As a sidenote: Wouldn´t a log of some sort help with debugging since it would include the steps up until the crash? At least the final X steps, I more often than not have a rather fuzzy memory of what I actually did just before the crash happened.

  • You could try the javascript addon.

  • Do you mean this?

  • depends on what you try to achive, right now you can change the rotation speed by changing the players rotation speed. I do assume though you want the camera to rotate not as fast as the player so you can try and use this

    set layout angle --> lerp(layout.angle, player.angle, 0.1)[/code:1wrp1q1l]
    There you can adjust the speed by changing the 0.1 to anything between 0 and 1.
  • I don´t think so

  • Anime Dress Up - 0/10

    Needs much more practice, stick to simpler art until you have enough practice

    Tap & Clapp - 2/10

    Pretty blurry and meh overall

    Rat Arena - 4/10

    Just feels kinda lackluster

    Angry Checkers - 5/10

    Has something to it, simple and effective. But there´s still quite room for improvement.

    Geometry Fresh - 5/10

    Not a big fan of the background

    5 in 1 - 6/10

    so simple, there isn´t much to complain about. Maybe just too simple but considering it was for a jam it´s fine.

    Arkanoid for Painters - 7/10

    This works, could need some more polishing

    Halloween Remembers - 9/10

    Defenitely the best one, maybe just needs a little polishing here and there

    Overall it´s pretty obvious you are a beginner, but everyone was a beginner at some point. Keep making stuff and naturally you´ll get better at it!

  • yolkgames Sorry, I really don´t want to make your game for you for free. I´m in if you pay me a few bucks, also: How urgent is urgent? 1 day? 1 week?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I´d do the following.

    • Give each card an instance variable. The same card will have the same instance variable, while a different card has, well, a different instance variable
    • Add two global variables, let´s call them "card1" and "card2"
    • When the first card is clicked, set "card1" to card.instancevariable
    • When the second card is clicked, set "card2" to card.instancevariable
    • Now compare "card1" with "card2". If they match, congratulations, you found a pair, keep the cards open, give points, whatever. If they do not match, reset the cards back since no pair was found.
    • It´s probably a good idea to clear both global variables, just in case. Now step 3-6 can be repeated until the last pair is found.
WackyToaster's avatar

WackyToaster

Member since 18 Feb, 2014

Twitter
WackyToaster has 25 followers

Connect with WackyToaster

Blogs