lennaert's Recent Forum Activity

  • Hi guys!

    I actually have a 2 questions. This came to me when I'm practicing Javascript by reading some tutorials.

    "Do we really need to master a programming language to make games or programs? Like, do we need to know 80% of that language?"

    "How many months or years would it take to master or be familiarized with the language?"

    As advertised, generally you require no coding skills to create a game with construct 2.

    Obviously, if you wanted to do it in a programming language like javascript, you will be required to learn that.

    The amount of time required differs per person, generally your background is of most influence.

    If you know other languages, it would just be learning the correct syntax and approaches, seeing as how most code all does the same, just written a bit different.

    If you are totally unfamiliar with writing code, then it will mostly depend on how you intend to learn it.

    If you plan on learning lots of little tutorials and try to snatch just pieces you need; then you will likely spent a lot more time learning that language then if you were to take a course for an x amount of time, which would cover all the basics.

    I learned most by the former, but in hindsight, would advise the latter.

    I've been writing codes since GW basic and know how to make programs in roughly 10 languages ... surprisingly, apart from the whole object orientated approach, lots is still named and applied the same as it was 20 years ago.

  • Well the good news is there's probably only one answer.....

    I figured it was a bit blunt to just state ...

    1. no

    2. no

    3. no

    4. no

    But I like yours better

  • ...

    How do I use the Ajax.LastData and get a specific tag?....

    Looking closer at this bit ...

    When you perform an Ajax request, and the request is successful, the reply from that request will be available once, and can be caught using the on request complete trigger, referencing the tag you defined in your ajax request.

    After the trigger on request complete has run, the Ajax.LastData will not be available anymore from that request, unless you perform the ajax request again with the same tag.

  • no problems here

    Mobile intel 4 series, gma 4500m

    64bit windows 8.1

    EDIT: something strange, don' t know if it is related, but it runs at 63 framerate >_>

  • Could you explain more specific what you mean with "tag" ?

  • Hold on.. I initially asked if <script> was the way to go but you corrected me it should be <javascript>..

    Now you use <script>?

    Confusing haha

    Cheers though man. You rule

    whahaha

    well ... it used to be javascript ... stuff changed, habits die hard

  • set var = Browser.ExecJS("window.MyUsername")

    in the index file I have :

    <script>

    var MyUsername = "Lennaert";

    </script>

  • I would imagine the total data of the markers will be fitting in one ajax request.

    Perhaps then simply poll the database every minute or so, and give a notification if there are changes in the new LastData compared to what the user already had in the construct 2 app.

  • SelectedUID should be a global or local variable, not instance variable of sprite, then it would work.

    This

  • As you loop through the objects with LOS, your own can be included, just keep that in mind and use actions accordingly.

    ie

    id = myid do nothing

    id <> myid so something

    But if your own object is solid, it could be interfering to what it can potentially see with LOS.

  • variable selectedUID

    event

    on clicked objectX

    action

    set selectedUID = objectX.UID

    set objectX.selected = 1

    sub event

    pick all objectX

    pick objectX by evaluate where objectX.UID <> selectedUID

    action

    set objectX.selected = 0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hmm, I have been seeing lots of notifications in various of my projects suggesting doppler effects support would be dropped.

    Are you using things as "Play at object / play at location" 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