lennaert's Recent Forum Activity

  • You could add an extra condition to the overlaps event thats triggered to destroy the rocket:

    condition : object thruster, pick nearest   rocket.X rocket.Y

    action: destroy thruster

    The container should work best though, it should destroy the thruster created with the rocket.

    Building the container is easy.

    Select the rocket, in the propperties bar click edit container, and add the thruster.

    Next when you create a rocket, the thruster is created too.

    I always use an objects layout, and place my thruster already on the position it should be. when the new rocket gets created, the thruster is already in place as I did on the objects layout. Only requiring me to pin it after creating the rocket....

    Hmm, wasnt the container a paid feature ? I forgot -,-

  • I have created an particle emitter which i rotate towards the player when a key is pressed using

    Setangletoward(player.x,player.y) it works perfectly but now when i try to direct the particle emitter away from the player using Setangletoward(-player.x,-player.y) it wont work...! what am i doing wrong..how do i fix this..

    <img src="http://pasteboard.co/szZvt5h.png" border="0" />

    Try

    Setangletoward(player.X,player.Y) - 180

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could have the game sent more information along for php to check potential validity of your data.

    for instance: units killed, time played, actions done, things aquired.

    Information that could potentially back up the info from the score.

    Or you could find some method other then numrical scores to transfer the total score.

    Other then that there isnt much you can do really.

    The code is obfuscated, so cheaters can't 'easily' determine which value means what.

  • LittleStain is spot on, definatly do the tutorial, its great material and helps you learn quick.

    I believe this one is in your language:

    Tutorial

  • good to hear :)

    I believe collision is a one time event as long as its in touch with the colliding object, and overlaps keeps kicking in.

    I had something simlair some time back, just had to keep subbed coutners in check with a trigger once :)

    Might be an idea to peek at the profiler in the debugger if the subbed events are not firing off every tick.

    Hungry hall looking good Ed :D

  • Just add a text somewhere in the layout, and append (not add, append) some text to it on collision (like collision names of the objects).

    Then simply check the debugger for the content of the text if it gets too wide and no longer visible.

    suggestions:

    Looking at your layout, seeing the zombie being in the same area as the collision boxes, I can imagine one of its condition perhaps being in the way ?.

    You have a trigger once in the first event of the overlaps, perhaps try moving it down to the subbed events. (so overlaps can occur more then once)

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

    That is only important if you use JSON or XML elements.

    And he mentioned he has a web server available etc.

    It will come down to the creation of a php file able to read the required values from his database and relay that back as text strings.

    That, and the Ajax call with the propper parameters to call the file.

    PHP can simply echo out all the needed info and the ajax call will make it available in Ajax.Lastdata.

  • Do you know PHP ?

  • Well, if your game gets kidnapped, rule #1: never pay ransomm they will kill the vicitm anyway   <img src="smileys/smiley36.gif" border="0" align="middle" />

    not much you can do to protect your program other then using the minifyer while exporting. construct 2 has a build in obfuscator during exports, which mangles the names and structure, making it a bit more troublesome to simply extract and read the codes.

    Other then that ... nothing really. and you shouldnt worry too much about it.

    As for uplaoding, you will need a google developer license, developers.google.com

    When you have that you can start creating APK files and upload them to google store.

    You will need to build your APK though, either with Ludei (apply for a commercial developers license at ludei)   or use crosswalk.

    So much info relating to this .... I suggest you read up :)

  • Any idea how send the information via Bluetooth?

    As far as I am aware bluetooth communication is not supported in construct 2.

  • A webserved one. (hosted on a webserver)

    Check out Ajax.

  • Perhaps another approach:

    add 4 origin points point to your player, each side one.

    add 4 invisible collision sprites, each one pinned on one of the origin locations.

    Determine hits by means of detecting collisions on the given sprites.

    edit: I suggested this, because when you use the angle approach and the players rotate, the results will be off.

lennaert's avatar

lennaert

Early Adopter

Member since 8 Oct, 2013

Twitter
lennaert has 13 followers

Connect with lennaert

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

25/44
How to earn trophies