Magistross's Recent Forum Activity

  • You ought to remove the random element from the positionning events, otherwise you'll most likely end up with sprites occupying the same spot. What you need is random picking and fixed positionning. Here's an example.

  • If you consider all tiles as obstacle, it's pretty much straightforward; you have to test tile IDs under the object you want to test collision for, when an ID <> -1, it's a collision with that tile. The only drawback with this is that you are limited to bounding boxes for collision testing... it's usually not an issue in those kind of games though.

  • But it's a shame really. I tend to use a lot of functions and what not, so pretty much all my code is off-limit for debugging. I wonder why triggers can't debugged though ?

  • It actually fit perfectly. A single instance, with very few draw calls. Much better than multiple sprites !

  • The events in the sheet "Movement" are overriding the animations changing events of the sheet "Event sheet 1", especially line 5, which is setting the animation to fall and setting current frame to 0 anytime the player is moving downward. You ought to add a "(negate) Is climbing" to events 4,5,6,7 in sheet "Movement".

  • Since your player object is global, you need to reset it manually, including its behaviors. I see you already reset its instance variables, but you lack a "Stop ignoring user input" to restart its platform behavior correctly.

  • If you are using a tilemap, I suggest that on collision, you check surrounding tiles for a place to "nudge" into. I'll see if I can come up with an example soon.

  • Prominent The ternary part is not needed. The expression (a=1 | (b=2 & c=3)) already gives a value of 1 (true) or 0 (false).

  • I thought you said you had that part covered? Fetching the file from FTP will probably require you to write a server side script that fetch the file and return it as a response.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sure, here's a simple example using a project file.

  • Well if you are actually able to load the file with AJAX, populating a list with it shouldn't be hard. First clear the list if it's not empty, then loop through all "tokens" of your data using "newline" as separator.

  • What does your AJAX.LastData look like ?

Magistross's avatar

Magistross

Member since 4 Jul, 2011

Twitter
Magistross has 14 followers

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies