dop2000's Recent Forum Activity

  • I have a demo:

    dropbox.com/s/hnhepai660anaf4/ScrollingListOfPlayers.capx

    You can find more examples on this forum.

  • You can try "Local Storage On any item get". Inside this event extract the ID, for example with the tokenat expression:

    Set id to int(tokenat(LocalStorage.Key, 1, "_"))

    And then pick the object instance with this ID.

    I don't know if this event will be triggered for each key separately though.. You will need to test.

    Alternatively, you can put all values into an array and save the entire array in LocalStorage as one key.

  • See these tutorials, they are not exactly what you need, but can give you a general idea:

    construct.net/en/tutorials/animation-management-in-8-direction-games-712

    construct.net/en/tutorials/4-direction-animation-503

    In your case you will need to compare the angle from the character to mouse cursor. So you might use conditions "System is between angles" , with expression angle(Character.x, Character.y, Mouse.x, Mouse.y)

    For example:

    angle(Character.x, Character.y, Mouse.x, Mouse.y) is between -45 and 45 gegrees
    	Character set animation "Right"
    
  • You do not have permission to view this post

  • Open _Gameplay.xml with Notepad.

    Search for "RewardedVideoLoaded", it should be at line 6965. Replace this block:

    <conditions>
     <condition id="19" name="RewardedVideoLoaded" sid="961265260840662" type="AppodealPlugin" />
    </conditions>
    

    With this line:

    <conditions />
    

    .

    Try to open the project. If you are able to open it, find action "Set AdsRewardLoaded to 1", review and change the event if needed, because without that condition it may not work correctly.

  • Are we not allowed to have "Else" condition without another condition unless its a Boolean to the first condition then?

    On your screenshot the "Else" event was simply empty, it had no sub-events or actions, that's why it did nothing. The next condition after it was not a sub-event under Else, that's why a new item in a new slot was always created.

    .

    Else with boolean conditions works the same way as in many other languages.

    But when you use Else with events that pick instances, Else means "if previous event picked nothing". Actually, you don't need to pick all inside of Else block in this case.

  • You can try removing the condition with id=19 from the event sheet by manually editing the project file.

    Unzip the capx file into a folder. Search all xml files in the "Event sheets" folder for a string plugin="Appodeal" id="19" (or something similar). Remove the entire <condtition> block. After that try to open the project.

  • Containers only link objects logically, you will need to re-create offsets with code. An easy way to do this is with image points on the biggest "parent" sprite. For example, if you are making a human body, define image points for arms/legs/head.

  • Do you mean when controlling with the virtual joystick? Or with keyboard keys?

    When using virtual joystick, you should move the tank with 8-direction actions like "Simulate control" or "Set vector", not with "Move at angle" action.

    Also, your joystick doesn't work very well, you need at least put it on a layer without parallax. Please see a few better examples of the virtual joystick in this post:

    construct.net/en/forum/construct-3/general-discussion-7/collection-demo-projects-149701

  • Easy - use Timer behavior. When an enemy is created, start a timer with random time for it. On timer event, enable shooting for this enemy instance.

    Try not to use "Wait" action when programming enemy AI.

  • You can't write to JSON files in runtime, if this is what you are asking. You can only manually edit data in editor.

    7500 records should be fine, I remember Ashley mentioning that JSON parsing works really fast.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What exactly doesn't work?

    Check out the JSON template, it shows how to parse a similar data.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,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
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies