lennaert's Recent Forum Activity

  • So you want the exported application, to be able to catch paramters from the URL which was used to open the web application ??

    I dont think there is anything native for that in Construct 2, might be a good addition though. Perhaps through one of the plugins where you can execute javascript.

    I believe in javascript you would need to access the location.search, should give you all the parameter keys and values from the URL in a long string.

  • first post updated

  • EDIT:

    I just realised you asked for an option to place info in another text box ...

    Within construct you ca easily stuff something in a global variable and use it later somewher else ...

    As to data settting and retrieval elsewhere, outside of your game ..

    I use php scripting for that

    you need:web server,php   and/or mysql database

    Ajax post url with parameters (ie: username, pass, safety code, page request, etc)

    That url is your PHP page which needs to use the variables from the $_POST['username'] which its receiving fromyour construct 2 application.   

    For a user system this should be checked in php versus the mysql table.

    The php page should should echo some sort of result, I use the tokenat for that, ie:

    <?php

    ....process constructs 2 ajax call and give results....

    echo "success|you have logged in";

    ?>

    in Construct fetch the php echo from the ajax call with AJAX.LastData.

    I then do: if tokenat(AJAX.LastData, 0, "|")   (check string before pipe sign) check if its "success"

    If the user entered wrong info, you could have php echo "failed|incorrect pass";

    and have it display the second bit after the pipe to relay info what was wrong :) (wrong pass)

    Hope that makes it a bit more clear.

  • Would be good to have some sort of bounce effect on the walls, perhaps even something like a moment of disorientation :)

    Upgrades are always good, here is a suggestion for a few: faster turning, ammo amount

    Also, got a suggestion for you making the level of multiple players more fun to experience results of their play:

    When there are 2 left, make a special moment:

    IE: second person died, then:

    the screen goes just a little bit darker, apart for a spot in the middle, with on each side on of the players, perhaps slightly zoom in, add an exciting tune like something is about to happen: and then have the two fight it out ..   Sudden death moment.

    It perhaps doesnt mean much, but that moment of special battle could be where the players are aiming for to end up :D

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • phlix, haha, yeah I think you already had the same idea :), liking it

    As to spawning and where, perhaps have that related to game type.

    ie normal mode: players spawn in their respective corner, crazy mode randomized :)

  • nice one :D and your welcome

    Might I add a suggestion,stuff each control in a corner ;)   max space usage, more comfortable playing.

    You could also ponder placing it on the center of each side, but it would give an unequal devide.

  • first post updated

  • This is an attempt to create a virtual enviroment, resembling 3d.

    working web version

    Most of the images are place holders and I have a request running over in the help section , where I am looking for images functioning as more advanced placeholders.

  • > instead of sepperate keys, use 1 touch object with vars, spawn that, give it variables like: name and action.

    >

    > ie

    > name: player 1

    > action: moveleft

    >

    > on layout start spawn all objects on desired locations

    >

    > Make 1 input on touch event for the spawned objects.

    >

    >

    > ok. that sounds interesting. Are you talking of something like Sprites with different UID's ?

    > You cant creat them if you hold control while you drag a sprite.

    >

    > couldn't you use family variables then?

    >

    > and how would you go on with the movement events then?

    >

    > on "Buttons" touched (family)

    > ---> if player variable = 1 -> move player 1 to the left

    >

    > ?? could you explain?

    check the test page

    Its part of a game im making, I stripped of the other stuff, was quicker then rebuilding, lol

    Its an on screen login keyboard

    If you pres any key it appears in the top input box

    I added some compare stuff, and see what happens if you press x,y or z

    Capx

  • yeah, look at my game quickshot.

    has that kind of game play :)

    while making it I actually had though about making an operation wolf clone :)

  • Is there some sort of option to detect the hosts requesting the game ?

    I believe there are quite some games in the arcade being routed to other arcades, none scirra, and I'd like to have a small detection in my apps placed here on scirra, simply to detect if its being run straight from scirra arcade, or from scirra arcade through a third party ...

    Depanding on this detection I'd like to show a banner on games played/hosted hotlinked through scirra.

    ie, games run from scirra clean shows no banners, through a third party it should.

  • Your welcome.

    One of the things I'm currently liking to my approach is that I can set options/events/actions for each spawned textbox too. :)

    Just imagine a score list, with your score standing out, blinking or bigger font etc

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