lennaert's Recent Forum Activity

  • ^_^

    much obliged

  • Ours answers depict events and actions for event sheets.

    I use that approach as answers as it helps those new to construct 2 in creating their own solutions, rather then having them handed an example file.

  • thank you for your fast answer much appreciated . ok i will try that and post my feedback

    edit : but i make all 3 layouts with same event sheet. its not problem?

    You could make it recognize the layout name

    compare two values

    LayoutName = "level1"

    etc etc etc

  • touch

    object.counter

    Event

    Is touching object

    subevent

    every 1 second

    action

    add 1 to object.counter

    subevent to every second

    object.counter = 3

    action

    unlock feature

    subevent to is touching object

    is touching object (inverted)

    action

    object.counter = 0

  • Funny thing .... your description actually pretty much describes what you need

    import all 3 tunes ....

    In each layouts event sheets

    Event

    on start of layout,

    sub event audio tag "level1" not playing (inverted)

    Action

    audio play tune 1 tag "level1"

    Event

    Level finished (some event determining that the level is finished)

    sub event

    audio tag "level1" is playing

    action

    audio stop tag "level1"

  • GenkiGenga

    Yeah, a clear search option and a 'Focus on event' option sorta thing. Opening all top level events involving the selected event, putting the rest back to its previous state with the event sheet scrolled to the selected event.

    That would help moving through large event sheets quickly while debugging.

    And work in progress, hehe, yeah ... no idea lol

  • As zenox98 says, a capx would do wonders.

    Though, what your describing sounds like over the top action for your video card .... are you applying multiple effects in 1 go on the same object or layer ?

  • Do you have events where the sine is getting deactivated ?

    Perhaps disable those to see if the sine still works when returning to the main menu.

    You could use an event to see if the sine is active, and if inactive, reactivate it.

    event

    object sine active (inverted)

    action

    object set sine active

  • During a search, the found results are expanded when they are folded (closed) .

    Clearing the search puts the event sheet back in the previous state ... which I kind of like.

    Otherwise, after each search I would have to close all the opened bits again.

    I just have gotten used to looking at the event numbers and find my way there after a search.

    I would not mind having an option to jump to a certain event number, making it auto expand if closed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Likely by an Ajax post action ....

    c2 vars: PlayerID, PlayerScore, TimePlayed,Code

    Server post vars: id,playerscore,playertime,checkcode

    In your data you will have something like "id="&PlayerID&"&playerscore="&PlayerScore&"&playertime="&TimePlayed&"&checkcode="&Code

    You can encode bits as you like and need.

    As for the server side, you will have to catch the post and store it somewhere.

  • I have seen quite a few topics relating to multiple images uploading, so I thought ... lemme try <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Gave it a few hours and I succeeded <img src="{SMILIES_PATH}/icon_e_geek.gif" alt=":geek:" title="Geek">

    Just 9 events and a tiny php file.

    Here is a demo

    The demo is not configured to send stuff to my server <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">, but works for selecting images.

    This uses R0j0hounds paster plugin <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> (great stuff man)

    It uses a php capable webserver as a back-end to store the images on a server.

    I used an array to bypass the need for those nasty frames if you want to add unlimited images <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

    Config / Settings

    • On your webserver, make a folder called "imageuploader", in here you place the from zip extracted php file from this dropbox link.
    • In the Capx file in this dropbox link, replace the global var content with your web address.

    ie

    "Your Web Without HTTP and no Folder Name" needs to become "yourwebsite.com"

    If you created the imageuploader folder in a sub directory, say 'test', the address becomes yourwebsite.com/test

    Usage

    Select one or multiple images for upload, and when done, click OK. This will start sending the files to your server. (mere second)There are little scaled thumbs generated, you can click them to show the bigger image <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    The PHP file has a bit of extra, it can also read the images from the folder automatically.

    So, if your entered web adres mysite.com c2 global var, you can use a browser to open http://mysite.com/imageuploader/image.php and it will display your images (after you uploaded them and did a reload of course)

    this is just a first version .... I will update it perhaps ... perhaps not ...

    Feel free to steal it and get your freak on <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Its likely an easy addition to the existing code, you could request for it perhaps.

    Perhaps it has to do with that a lot of web developers use the text as value.

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