Shapter's Recent Forum Activity

  • Hi everyone,

    I'm looking for a way to load an image from an url and keeping the other standard animation frames.

    It seems that when an image is loaded from an url it replaces all the animation frames.

    I'm making a matching game that uses images from the internet and I want to keep the image at the back of the card.

    Anyone got a clue ?

  • Hey !

    Thank you !

    I didnt know how to use the loopindex expression but you my good sir have taught me much with a simple example !

    I'm making games but have no coder background so help like yours is invaluable to me. Thanks again !

  • Oops !

    Sorry about that!

    Here's the file : Here

  • Hey everyone,

    I'm having trouble importing an image from an url stored in an array.

    In fact I'm not even sure that the URL is stored in the array.

    Here's the capx : Url to array problem

    The images URL are stored in a .XML file and are imported with Ajax.

    Then it should store the URL data in the array but it doesnt seem to work.

    Anybody have a clue about this ?

    Problem with storing text into an array ?

  • It worked, thank you !

    Sorry for the delay, i'm working on several projects ...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I know what happened : the line "standalone" _in the XML was blocking the parsing.

    Now I just have to find a way to transfer the data from the XML to an array and to append the urls from the array to a sprite.

    That won't be too difficult I hope !

  • Hello everyone,

    I'm creating a memory matching game for kids using many different images.

    The problem is that I need to randomly pick card images from an online png database and make them appear as cards at startup. Moreover, the file giving the image's URL has to be easily to modify because someone else will update the image databse once i've finished the game.

    I've tried to append the image's URL using the AJAX, XML and CSV plugins (and also the URL to Image plugin) but I cant get it to work properly, mainly because importing files with ajax is more complicated than I thought.

    What do you guys think about this ?

    Should I use AJAX and XML/CSV ? Should I use an array to stock the URL strings ?

    I'm quite lost now that I've seen the many tutorials on Scirra and Stack Overflow forums : it seems that there are many methods to use a database-like file in Construct 2 and I dont know wich one would be the more optimized for images (and easy to manage).

    Any ideas ?

  • Hi there everyone,

    I'm having a problem with the function "On frame changed".

    It seems to be effective only when the animation is playing and I need it while the animation is stopped.

    In fact the user has to click on the object so the frame changes. Then the value of the frame is used in another part of my prototype (to add a physic force on another object).

    Is there any way to bypass this limitation ?

  • Hi there,

    Got the same problem to simulate an anchored ship on a loading bay.

    Set.X is useless and buggy so i'm looking for something similar to the last 2 examples you guys uploaded.

    In fact I dont understand why the global value FORCE is set at -500, it doesnt seem to work on my project ...

    I think there is a way to make the Sprite.X-Initial.X equal to 0 so the boat wont move horizontally but I have no clue on how to do this for the moment.

    Any idea ?

  • Found a solution that didn't fry my brain !

    I just added some kind of floater at each horizontal sides and it seems to work, even if i'm not really sure about what kind of problems it's going to cause during the rest of the development.

    Using physics on the objects but not on the water seems weird but it seems to work.

    Here if anyone want to see :

    docs.google.com/file/d/0B-727M6ikDE_VHJmbXRXNXJ0Nzg/edit

  • Hello there!

    Thank you Keepee for this example, it's very nicely done.

    I'm currently prototyping a game in wich the player has to load a boat with various stuff without unbalancing it.

    Your code is great for cubic object but I'm having a hard time keeping the steadiness of the boat, wich is rectangular for the moment. I tried to tweak the angular damping but it's of no use : the rectangle isn't going back to its original angle when it has been unbalanced...

    Do you have any clue about this ?

    Here is the .capx

    docs.google.com/file/d/0B-727M6ikDE_LVBOZmJ2WjF5MVU/edit

Shapter's avatar

Shapter

Member since 4 Apr, 2013

None one is following Shapter yet!

Trophy Case

  • 11-Year Club

Progress

11/44
How to earn trophies