Golden_wang's Forum Posts

  • 15 posts
  • I have a tough question to consult with you guys. I has developed some Html5 games in windows XP with Construct2, the games detect players? actions by the signal sent from keyboard. Now I want to let the Html5 games run in Android environment, and I have already done some works make the Android system can send a code when it has detected player?s actions. Can I let the games recognize the code sent from Android as same as that recognize the signal sent from the keyboard in Windows XP? How can I do that? As detailed as possible, Please.

  • You can drag and drop a .gif straight from Windows in to the layout and it should create a sprite with the gif animation as frames. To be honest though, GIF is an old 90s format and you should avoid using it! PNG is much better.

    Thank you so much Ashley, it actually work!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well you can; doing it this way is how it's done. It's just that you can't import the full frames of a GIF by clicking the "Load an image from a file" button as that seems to only import single frames.

    I have no idea why it's done this way - seems a little unobvious to me - but that just seems to be how it goes.

    thanks for replying me so patiently GeometriX [:P]

  • You need to import frames rather than the full image.

    At the bottom of the animation editor the animation frames are laid out. Right-click an empty space and click on Import Frames.

    Thanks a lot, I know import frames must work, but are you sure that can't import the full gif image in C2? [:P]

  • I've tried to import a gif image into C2, but there are not any dynamic effects showing up ... Why?

  • I have the same question with

    Pode please share your capx in the demo link thanks a lot.

  • I'm making a poker game, I want to implement the poker rolling over effect, how can I do that?

  • Rory one more simple question but make me confused almost a whole day.How can I get the system date in C2?

  • thanks a lot Rory ! that's work

  • why "on any key pressed" event can't invert in my construct2?

  • I'm making a game, in this game an event is that if more than 10 seconds no movement on keyboard it would notice the player with alarm sound.

    how can I estimate that more than 10 seconds no movement on keyboard?

    please help me..

  • You could use animations to force the desired effect.

    Frame 0 - Uncoloured version

    Frame 1 - Coloured Blue

    Frame 2 - Coloured Red

    Etc

    Then create a colour pallet based on your choice. When the user clicks a new colour change a variable.

    If the user then clicks the sprite and his variable is equal to red then change the sprites animation to red.

    Or something along them lines.

    Its a very long winded way of doing it but I'm sure this method would work or at the very least allow you to start making the game until someone else could point out a simpler way.

    thank you for the solution,I think it must would work but it seems too complicated,lead to that I will spent too much time to make a lot of pictures....

    Anyway thanks a lot guy <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Are there some ways to make the sprite be covered by color dynamically?

  • And how to fill the color in a part of a sprite?

  • I want to make a game of filling color for children, how can I do that? Are there any tutorials or sample demos

  • 15 posts