TELLES0808's Recent Forum Activity

  • You can solve everything you want wile fading with a single conditional, it's easier than configuring and filtering fade behavior variables...

  • You don't need functions, you can simple filter usina the same condition of the trigger for the function

  • It's already on the Construct 2 sample files, search for the Tank sample, also on the ghost sample.

    scirra.com/tutorials/355/making-character-composed-of-multiple-parts

  • Combos like this?

    You should store the attack command before executing it and trigger it ready, also, the attack condition should wait until the animation is finished.

    This sample and template will be on sale soon. I get delayed with it because some milestones are making me rethink the entire event sheet to make it reach 50 events. Unfortunately it's currently using more than 100 and users of the free version will be unable to use it on their projects.

  • Show us a screenshot of you project and what you're trying to accomplish, without the code, just the visual of the game. Maybe it's simpler than you're saying and we are misunderstanding you.

    If the game is not ready yet, make a mokup with all the items, texts, icons, etc, a complete example of the screen will give us a better idea than wall of texts.

    [quote:2cmi7vqd]The challenge is then displaying BOTH the player instance variables AND the Enemy instance variables at the same time without having to recreate individual text objects for each type, which is the brute force method I've got working now. In other words, rather than txtType, txtName, txtArmor, etc., I have txtPlayerType, txtPlayerName, txtPlayerArmor,... AND txtEnemyType, txtEnemyName, txtEnemyArmor,...

    Manipulate and find instance variables are very simple, in all the samples it was made with a single condition, also, updating texts instead of creating them.

    [quote:2cmi7vqd]What I would like to do, but haven't found a way, is to have some routine which uses instances of the text objects themselves...

    1) Checks the Character.Type.

    2) IF "Player", use txtType(0), txtName(0), txtArmor(0), etc.

    3) ELSE, use txtType(1), txtName(1), txtArmor(1), etc.

    In the second example, I filtered the object and set the text without the need of setting anything, even a name for the text object, but if you want manipulate an existent text by searching an instance variable, it's even simpler.

    In the screen bellow we have 3 objects with their static texts, an instance variable in each one to make us able to find who is who and fill them.

    https://dl.dropboxusercontent.com/u/470 ... %20it.capx

  • I like to start with the game itself, the player behavior, AI and the stage, leaving the menu and other things for end, so, be able to focus in gameplay. Games for kids sometimes ask for a little bit of AI in the behavior, to help them play when they repeat a challenge more than one time, or they will give up easy.

    E.g. I had a game where my son was typing, like "Mario teaching type", when the stage was using only single letters, he was well playing, but when it become to throwing some words, he instantly asked me for help, and I recognized the need of an AI to help him if he miss some letters of the words, so, when he type a word missing one or two letters, the AI will simple bold the missing letters and ask him to type them in the end.

    Another sample was in a jump game like Mario, he fell of the platform while jumping by two times, and I did an AI to help him in the third try, so, when he pressed the jump, it was too late, but the AI recognized the edge and jumped before, confirming the jump button with a delay by using a condition listening with a gap of time to happen =]

    Kids are awesome and they deserve more attention, but today games are hard, bad explained and bad oriented in many ways, throwing different types of gameplays without even introducing a world or telling the player what is happening and what the game expect to the player, what objective and reward it will give.

    Your game sounds amazing and certainly will introduce kids to the Science by teaching them about gravity, speed, acceleration and the most important, with a nice reward when finishing it with your animations.

  • Things in games are called objects, two objects of the same type are called instances.

    Everything happening to an "instance" can be check using conditions in the event sheet. If you want a pet crying, make an "instance variable" like a boolean (true/false) and change it as desired.

    E.g. your pet, after 10 seconds of the layout starts, will become hungry, so, check the condition time > 10 seconds and do the action "set instance variable boolean hungry" to true.

    Now you're able to check if the pet is hungry and set its animation to correspond the new behavior.

    Condition: pet instance variable boolean hungry is true?

    And if this condition is meet, trigger the action: Change pet animation to "animation_name_for_hungry_behavior".

    With this in mind you'll be able to make the whole game, dealing with conditions and actions, so, finally you can call it as Events.

  • No, you can send without problem. If it's a doubt about events, maybe be better to share with the community and help folks in the same trouble =D

  • It's exactly what I did in a clean and elegant way =]

    I hate functions, so, you'll need to deal with it, ha! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    https://dl.dropboxusercontent.com/u/470 ... 0text.capx

  • Amazing collection. With it is possible to make an entire RPG World

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • We exchanged keys, and I'm impressed with the quality and variety of tiles it have. Highly recommended!

  • If you don't care, I'll be doing a sample of it and placing it to the Arcade Tutorials, as other games I already did there, so, if you run in trouble and want figure out without much stress, you'll be able to check it by 28/12/2016 =]

TELLES0808's avatar

TELLES0808

Member since 27 Oct, 2011

Twitter
TELLES0808 has 3 followers

Connect with TELLES0808

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • x2
    Popular Game One of your games has over 1,000 players
  • x12
    Coach One of your tutorials has over 1,000 readers
  • x3
    Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies