Walessio's Forum Posts

  • You mean something like Galaga?

    I guess the simplest way is using waypoints, check this tutorial:

    https://www.scirra.com/tutorials/1113/a ... -waypoints

  • I'm not sure that is possible, what's your goal?

  • from the manual https://www.scirra.com/manual/126/system-expressions

    tokenat(src, index, separator)
    Return the Nth token from src, splitting the string by separator. For example, tokenat("apples|oranges|bananas", 1, "|") returns oranges.
    [/code:2ipluast]
  • no you can't, but you can pass to the function a parameter that represents the sprite that you want to create, then comparing it with all the possible values, you can create sub conditions for each variant

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • considering point 3 i assume that you'd expect the currently playing music to fade out and the new one to fade in, correct?

    Anyway, check this tut:

    https://www.scirra.com/tutorials/9545/a ... tters-lerp

  • there's no screenshot...

    Right now my heart has been stolen by the Phantom Thieves of Persona 5

  • I have and I love them both, but i really have to choose only one of them I'd suggest Zelda because i can entertain you for more than 100 hours! That said, contact me when you take your Switch so that we exchange our friend codes

  • Regarding the idea of separating players automatically according to their level, it's true that it would prevent the higher ones to kill newbies but it would be too restrictive. Now imagine a level 100 player that invites his friend to join the game, they couldn't play together because of this block! The same goes with fellow players that only differ by one level. Also not all players like to play with the risk to be killed by other ones, some of them want to play pacefully. Therefore you could split the "rooms" in two types: "friendly rooms" do not allow players to kill each other, "danger rooms" allow that. You could also put better resources in "danger rooms" to counterbalance the risk. This would allow players to choose which play style they want every time that they change room.

    The room resetting mechanism has also some drawbacks: players do not know when a room will be resetted since they don't know how many players are in a room and also any player that enters would reset the timer, that may cause the rooms to never reset when there are many players and they would end up in quitting for boredom. Therefore i suggest to set a "deadline" to any creating room that lasts approximately ten times the timer and when the dealine passed no player can enter the room and once that all players in the room are gone it becomes empty.

    Third, I imagine that players would enjoy a way to revisit a room. To make it possible, each randomly generated room actually generates from a random seed (have you played to "the binding of Isaac"? ), this seed is visible in the room info as well in the player game log. The player can input a seed in a free room in the lobby and regenerates the same exact room as before.

  • try with phonegap

  • could be a cross-domain block, read about it here: https://www.scirra.com/manual/107/ajax

  • Well, before inserting a new score in the table you should make a query to check if in the table already exists a record with the given name, in that case you'll have to make an update on the existing row instead of an insert.

    But there are some things that you may want to consider:

    1: are names like "John" and "john" the same or should you consider them different?

    2: is really the name a proper index to save a player score? What if two different players use the same name? Their scores will be merged into one! Would it be correct and acceptable? If not, we you should study a way to tell these players apart

  • Well, i had a similar necessity, so i would suggest:

    1- fill an Array object with any Mouse event that you want to track;

    2 - save this Array by either user Gamesaves or Localstorage, in this way it is possibile to restore it when the app loads a second time;

    3 - send this "event log" to a web service on a public server using JSON, this way you don't need to ask the user to save a file on his system and send it to you.

    All of the bold words are C2 objects or plugins to use

  • Well, recording ANY activity could turn in a huge amount of data to save, so the first thing to think about is how to reduce this amount and in order to do this we should know what do you want to achieve

  • this is quite a custom necessity therefore you must write a program for it, a php script could be the best idea, since is simple to use. Start learning php and mysql and how to use php to execute query on a database