Gmoney's Recent Forum Activity

  • It's very important to make backup files for any save files, just in case something like this occurs.

    I would also look for an autosave file in the folder. There should be one unless you've disabled the autosave feature from preferences.

    Make a backup copy of that autosave file to another folder first, then rename the filename.capx.autosave file to filename.capx.

    You'll be able to open that file as capx.

  • You do not have permission to view this post

  • Digital art.. is not something that can be mastered easily. <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">

    It takes a huge amount of time and effort to develop a skill in that field, and that cannot be done fast.

    There are a lot of good tutorials available on the Internet, but you need to find the one that's suitable for absolute beginners.

    Pixel editing is not something I would recommend for any novice learners in art to venture into, as its workload can quickly turn in to a nightmare.

    I would recommend the learners to learn how to draw with a pencil first, before considering to draw anything with computer applications.

    Even after learning how to draw with graphical applications, it takes a large amount of work to learn more applications to master the game development mastery.

    Construct 2 saves time and effort in that matter, because we don't need to learn programming languages.

    So my advice for you is to research and find the best graphical application for your need, learn to draw, learn to use the application and voila! <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    That's that.. and.. for this example, I'll briefly explain what I would do in order to modify the animation.

    First of all, you need an application to modify the image files.

    I use a Photoshop but other applications are ok as well.

    You need to divide the image file into multiple parts so that they can be modified separately.

    Here's an example.

    Here's a PSD file for that.

    https://www.dropbox.com/s/jgorssy35rjnhn8/Lion.psd?dl=0

    Then you need to save each part of the image as separate PNG files and bring it into an animation application.

    I use an application called Spriter for my games development.

    You then need to use the animation application to modify the animation of your image.

    Here's an example.

    The lion now has two animations -- Idle and Walking.

    Here's the Spriter save file that contains the lion.

    https://www.dropbox.com/s/x1gf4rxoo3z1t ... .scml?dl=0

    Then you need to export them as PNG and import them into Construct 2.

    Here's an example.

    Here's a final Construct 2 capx file.

    https://www.dropbox.com/s/hmi5sp9y1moz0 ... .capx?dl=0

    Use your arrow keys to move the lion.

  • Or you can go with variables like this. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/hgmygmup9nivm ... .capx?dl=0

  • Here is another method. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/79tngj4brzvy7 ... .capx?dl=0

  • I have added the following features.

    1. Added a 'Level Select' button.

    - When pressed, a Level Select screen will pop up to show how many stars are remaining.

    - When discarded, the game will continue just the way you left it, right before entering the Level Select screen.

    2. Added a feature to allow the Player who hasn't finished the level to restart without having to reset the number of stars remaining in game.

    - Previously, when the Player reached the goal without collecting all the stars required to finish the level, the number status of the stars had automatically reset.

    - What happens now is this. If the Player hasn't collected all the required stars, the Player will restart from the beginning of the level. The Player will notice only the remaining number of stars are in game and the ones s/he collected have disappeared.

    By the way, I have downgraded my Construct 2 version to 233, because other people who I helped on the forum advised they were also using 233..

    https://www.dropbox.com/s/1zwbn414ceh00 ... .capx?dl=0

  • Ops, my apologies, Aquanex2.

    I missed your reply that said you couldn't open my files because they were version 234, because I've only read the latest reply. (Sorry..!!) <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    I have modified the files so that it can be opened in version 233 of Construct 2.

    GMoney - star counter - v233.capx is the file from earlier today.

    GMoney - star counter v2 - v233.capx is the file from my last reply.

    https://www.dropbox.com/s/ea6xfm19bnx3e ... .capx?dl=0

    https://www.dropbox.com/s/cfpftjjvpdywe ... .capx?dl=0

    Please download the latest version of Construct 2 from the following page. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.scirra.com/construct2/releases

  • You mean like this one? <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/lepbb23odl7p9 ... .capx?dl=0

    Game complete scenario

    1. Added 2 more stars.

    2. When all 5 stars are collected, the level clears.

    3. Player is taken to the 'Complete' layout.

    4. The message shows 'Collected all 5 stars! You have finished the first level..!! Click to reload the level..!!'

    5. When clicked, the player is taken back to the first level with 0 total stars.

    Game incomplete scenario

    1. When player collects less than 5 stars and jumps into the goal, the player is shown a message that says 'Please collect all 5 stars. Restarting.'

    2. The game restarts with 0 total stars.

  • From my example or from the 'after' version?

    I did, for all three capx files.

    I collected all the stars, but the level didn't clear, so I had to jump to the goal in order to restart the level.

    My example had reset the stars to 0 after I reached the goal, just like the 'before' version.

    There was no change for the 'after' version though.. The stars were not collected and the level just restarted after I jumped into the goal.

  • Thank you for the capx update, Aquanex2.

    I've looked into the issue and found the 'after' example is not adding any stars to the StarCountArray.

    Before

    After

    Meaning there's no link between 'CountUp1/2/3' variables and 'AddStars' after the change.

    I have one more question for you.

    Why would you need an array to store number of stars collected?

    I think we can take an easier path and store the numbers directly to the variable.

    Here's an example capx I made to demonstrate.

    https://www.dropbox.com/s/d48dvvmo43gif ... .capx?dl=0

    This is what would happen when I'd go to the 'Level Select' screen without clearing the score.

    1. Collect a star.

    2. Click [Go to level select without clearing score].

    3. Click [Go back].

    4. Score is still 1.

    This is what would happen when I'd go to the 'Level Select' screen after clearing the score.

    1. Collect a star.

    2. Click [Go to level select after clearing score].

    3. Click [Go back].

    4. Score is 0.

    Function and array are a superb way of organizing the overall code, but I tend to avoid them because they could be more troublesome to troubleshoot once things start to get tangle up along the way.

  • Do you have an example capx by any chance? I tried to make one from scratch, then figured it would be easier if you'd supply a simplified example capx file.

  • I use Intel XDK's 'Emulate' feature to test drive my games. Also, a couple of months ago, Intel introduced an app called 'Intel App Preview', but I haven't tested that app yet.

    http://goo.gl/874JiD

    Other than that, I don't recall hearing about anyone using Webview to preview their games.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Gmoney's avatar

Gmoney

Member since 7 Nov, 2015

Twitter
Gmoney has 1 followers

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies