Teclis01's Forum Posts

  • 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

  • Well first i think you have to refine the AI to construct 2 Event Model.

    For example :

    If it fails to reach its target, it will back up a bit, then re-attempt

    The first event seems to be a comparison of :

    Fighter.X + (size from point 0 to weapon) AND Fighter.X + (size from point 0 to weapon)

    => Fighter.attacking=true

    => Fighter set Animation "Attack"

    => ActTimer.start (0.5) // the time to reach end of attack animation

    Fighter in collision with Player AND Fighter.attacking==true

    This is just the begining... but i hope you understand how to.

    I think you should analyse the pattern with event handler and timer

    Sorry for explainning with my own understood i'm not fluent to write event of construct 2 ^^

  • Hello,

    I try construct 2 from nearly 2 weeks and i'm asking a question that i haven't find any answer in google and in FAQ.

    I know that we can ask to a remote server via Ajax to get datas (like XML and i think JSON). I know that we can "translate" the game for a lot a platform like html5, ios, android, ...

    I would like to keep in local information about levels to let's players play even if there's offline.

    I found about Webstorage and it's about keeping information in local or in session.

    For volume reasons i think i would like to keep few levels.

    When playing offline on android device (for example), online does not updte until :

    -synchronization of offline device connect to online

    -online computer is used to play online

    Can i use Webstorage for this kind of use? or what should i use?

    If i choose local storage (seems to be better for the behaviour i want) when occurs the cache clearing? can i force the cache clearing?

    I got information in the manual scirra.com/manual/120/webstorage

  • Hi there

    A partial answer cause i never played thoses games (even if it seems good games)

    terraria.gamepedia.com/AI

    It seems that there's a lot of tutorial to implement AI but i always used A* and Dijkstra algoritm...

    I think that there is a lot of way to implement an AI and noone can give it all just in 1 topic.

    Sorry :(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check my subject.

    scirra.com/forum/topic84702.html

    I had the same problem but with space key.

    I let a time of 0.2 s cause of maniac shooter style game.

    I hope it could help you!

  • Is there a solution to have the behaviour expected?

    Or it's impossible for now?

    I try to play with attribute but i found nothing... :(

    That's sound so bad...

  • db.tt/taT2ECyG

    If i understand, it's already configured like you said.

    I have :

    -4 sides with behaviours : solid and physics(immovable is set to Yes)

    -1 ball with behaviours : platform and phisics(immovable set to No)