Teclis01's Recent Forum Activity

  • My solution eats a lot of CPU, you are right ^_^ but i haven't understand yours that's why i ask for explanations and you compare solutions very efficiency!

    I think i miss some kind of condition to implement your solution. If you have to make the same, what condition will you use to "fire" instruction(s)?

    -System. Compare Time

    -System. Compare two values

    -System. Every tick =>seems to be the worst...

    -another?

    I would like to use yours cause you seems to be experienced on C2 <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Oh thanks you so much!

    In fact you can't design a Object like "standard" language with members, methods,... but you store it in a kind of structure where an index represent a member, in fact an array.

    Now i understand what you were meaning by storing an object.

    But i'm still thinking about the design of your solution.

    Your solution seems like that right?

    (the content is given for example)

    [0][0]=0.2 (in second for timestamp)

       [1]="T"

    [1][0]=0.5 (in second for timestamp)

       [1]="LR"

    [2][0]=0.9 (in second for timestamp)

       [1]="T"

    [3][0]=1.2 (in second for timestamp)

       [1]="D"

    I don t understand the need of the index of obstacle and how to know on what index the system is

    Would not it be better to use embeded condition "Every 0.1s" Add 1 to a variable that represent Array index and make an array like :

    [0]=""

    [1]=""

    [2]="T"

    [3]=""

    [4]=""

    [5]="LR"

    [6]=""

    [7]=""

    [8]=""

    [9]="T"

    [10]=""

    [11]=""

    [12]="D"

    ?

    Anyway thanks you for explanations!

    Edit : An array always begin at 0.

    As we say in French : "Les geeks n'ont pas une case en moins ils commencent juste ? partir de 0"

  • Thanks for the answer!

    In fact in programming language (Java, js, ...) i know how to store an object at an index of an array/list or Map/dictionnary but i don t know how to do the same in Construct 2 :(

    Have you an example?

    I should store an array to store 2 (or more) Arrows at the same time.

    I m not as fluent as others programming language for now but i learn a little more each days ^^

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there :)

    I'm thinking about doing a DDR like game and i'm asking few questions about how to synchronize music and player's action.

    First of all, i thought to split a track into lots of 0.1s

    -Split into 0.1s to use embeded event "Every 0.1s"

    -to keep what is going to do in an array

    [0]=> create new Arrow Up

    [1]=> nothing

    [2]=> create new Arrow Left

    ...

    But i'm not sure that is philosophy of Construct 2...

    So how would you do to make that kind of game?

    I found an example but i can't no more download it.

    Someone have already done this?

  • I'm not sure to understand but...

    Have you try Pin behaviour?

    scirra.com/manual/99/pin

  • For PHP you need apache2 daemon (php module), MySQL daemon (or another database server), or easier WAMP (Windows Apache MySql Php) LAMP (Linux Apache MySql Php) or Xamp, or something else...

    For Java you need application server like tomcat or jboss,... and a database server (you also need the connector)

    The more important is to retrieve data and send it as JSON or XML

    PHP is easier way cause you don t need to know about servlet. Just php script and "attack" this url with/without POST/GET to filter datas you want to retrieve.

  • Here you can find boulderdash done with html 5/JS

    codeincomplete.com/posts/2011/10/25/javascript_boulderdash

    It could help you

  • You have to manage families.

  • Yes, exactly.

    People could play online and offline. Each x levels it will be mandatory to connect (cause i don t want user's download all levels in one time)

    When they up x levels they will download the x next level. To be able to play offline and update online when they finish thoses levels

  • Finally i reach this article... I do not try for now but it should help me.

    scirra.com/tutorials/526/how-to-make-savegames

  • Why don't you use array and/or dictionnaries. And define for each key (s) the behaviours.

  • Have you tried Pin behaviour ?

    It seems to be usefull in you case scirra.com/manual/99/pin

Teclis01's avatar

Teclis01

Member since 27 Jan, 2014

None one is following Teclis01 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies