oosyrag's Recent Forum Activity

    • Post link icon

    So keep using C2. You got what you paid for, and you get to keep it. No one is taking that away from you. Sunsetting a product doesn't mean it will stop working all of a sudden. I'm still using Photoshop CS2 as a hobbyist. Sure it doesn't get updated any more, but it still works fine. There's nothing forcing me to buy a new version of Photoshop every year or an Adobe Creative Cloud subscription. Same thing for Construct.

    Speaking of hobbies... $100/year is about as cheap as it gets outside of free. A simple gym membership is more than that, and if you think that's an impossible amount then pretty much any sport would also be impossible to enjoy as a hobby either.

    • Post link icon

    Last I checked Construct 2 still works perfectly fine?

  • It would be more useful to show what you did on the event sheet in regards to animations, or better yet post your project file, as animation events can get complicated.

  • Yes. You can either use an invisible helper sprite with the scroll to and 8 direction behaviors as a "camera", or simply use 8 direction on the background directly to move it.

    On mouse down and mouse is over arrow, simulate control left or right.

  • Generally speaking, you can get the effect you want by making the origin of every sprite at it's base, or lowest point.

    This will not work for complex shapes though, which will require stitching together multiple simple shapes.

    Elevation adds another headache, where you won't be able to use automatic z sorting by y position at all. The simplest case being that the player can have the possibility of being either on top of the cliff or behind it at the exact same single x/y coordinate.

    That said, there is a reason those 2d tilemaps based games are designed the way they are, in that it's probably not worth the extra complexity and buginess for something that might not be actually desirable for the user in terms of gameplay, even though the developer might think it's cool (to have the player character or other objects be occluded by terrain).

    The best way to do implement this imho is to actually learn and work with 2d artwork inside a 3d framework/engine instead of trying to simulate too much 3d in a 2d engine. You're just going to run into more and more technical issues to get frustrated with and stuck and waste time trying to find solutions that may or may not exist to begin with instead of actually working on making the rest of your game.

  • If what you described is the limit of what you need (looking up pairs of strings), I would recommend trying with the dictionary object.

    When entering a pair of strings "A" and "B", create a key:value pair in dictionary 1 as "A":"B", and dictionary 2 as "B":"A". When looking up a string, you can check if key exists in either dictionary, and display both values if it does.

    Php and MySQL are quite large topics, and I'm sure you can find extensive resources with a quick Google search. I don't have any particular one to recommend.

  • Yes, you should be able to put all relevant objects in a family, and use a for each object and layer condition to filter by layer to save whatever data you want to json or array or whatever your data storage of choice is.

    I definitely recall an example project that had pretty much what you're looking for. Unfortunately I didn't make that particular file and this forum's search is pretty crap. Will see if I can find it.

    Edit: Didn't find the thread, but did find the file - dropbox.com/s/vq06s6x9oc335id/saveSpritePositionToJSON.c3p

    Sorry to the original creator, can't remember who it was.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not sure what you are asking, but objects can exist outside of a layout, and you can implement some sort of scrolling method to view as much as you want.

  • Text inputs are not sprites. Your question is a little unclear.

    You can style or change the font of a text input with css, or you can create your own text input with the text object or spritefont object. You can also compare text in a text input box to create a sprite object.

  • As with all optimization inquiries, if you can't measure a difference yourself, then you're probably wasting your time.

    On the other hand, organizing your events in a manner that is readable, easy to modify, and makes sense for you yourself to work with has a decidedly clear and immediate benefit, regardless of what others might consider best practice.

  • You can connect and interact with an hosted database like mySQL via php through the AJAX plugin's post and get action. That would require some knowledge of php and mysql, as well as having access to a dedicated web host.

    Otherwise, for the use case you have described, the dictionary object may suffice. It can associate a string (key) with any other string (value). You might need to use two dictionary objects that are mirrors of each other to get two way lookup or simply add two entries for each key-value pair, as normally it is one way. This doesn't come anywhere close to the full functionality of an actual database though.

  • Ah I was looking at the link in your first post.

    The second one would be decidedly harder to imitate with sprites.

    You may be able to draw it dynamically with the canvas plugin but that's going to be quite a bit of work.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

  • 12-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
  • 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
  • Email Verified

Progress

22/44
How to earn trophies