oosyrag's Forum Posts

  • 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.

  • 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.

  • construct.net/en/tutorials/animation-management-8-712

    You'll just want more animation angles/directions instead of just 4.

  • Yes, anything you can do in pico-8 you can do in Construct.

    You can call it pseudo-3d... but its basically 2d.

    The race track example would be a good place to start - editor.construct.net

  • Keep track of the base location of the car with a helper sprite, you can think of it as the shadow. The actual car sprite is pinned to this base sprite, and it's y position can be adjusted for the "height" in the air based on the coordinates of the base sprite.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Repeat tokencount (source," ") times

    Append output """"&tokenat(source," ",loopindex)&""" "

  • You should be able to do it with the built in Facebook plugin, although I'm not familiar with it.

  • On collision between two physics objects, compare position to see which one is above the other, and compare object.physics.mass to see which one is heavier or over a specific threshold.