daehawk's Recent Forum Activity

  • I've made a few for testing purposes, have an RPG working on at the moment. But I've only uploaded 2 main ones atm. Have a third that's a slight clone of one of the other two I uploaded due to someone wanted a Batman one instead of Mario.

    Mario Pacman

    Inferno Escape

  • I started playing around with the Shadow Light and Shadow Caster some today to see how well it worked to see I could utilize it for the shadowing effects. Wondering if anyone has been able to test it out and find a way to deal with shadows starting from transparent parts of sprites. Tried playing around with Shadow Height but didn't seem to change it from the shadow cast or using it as an action.

    [attachment=0:mih6ifcr][/attachment:mih6ifcr]

    If I could get the shadow to start after X pixels from the top to where it started around shoulder height might be better. I've turned down the opacity while playing with it for now and it can hide it down some, but you can still see the shadow is starting based around the outline of the sprite and not based on the content within the sprite finding where the transparency ends and then content of the sprite begins.

    But I do agree that the length of the shadows is an issue. If could make it based on the height of the object making the length of the shadow. Or a setting/action where you could set it from 1x/2x/4x/8x/32x/Custom the height of the shadow cast object as the length choosing one of those values / being able to change the values through actions.

  • r168 I think was the same way that you're describing it. I have a back-up folder still for the project I'm working on atm that the backup is from r168 and the Sprites are the way you were talking about. r168 isn't that much younger than the current version, was the last Stable Release before r173 which is the current that is splitting up the animation frames as single images in their own folders.

  • Valerien Not everything is set up to where it's evaluated on every tick. Granted I could of added the section at the end that turns off that group, but was posting the information within a group targeting the code that I was having an issue with since had already narrowed down the issue. Yes I do have a few things that do call on every tick atm in a main section, but that's just group activity checking mainly turning some other things off at the moment. In Debug Layout atm highest I've gotten for CPU usage using popout mode for Inspect and Profile is 3-4% CPU Usage and that's on Layer Start up While going through the attacks and AI side peak has been 1% CPU Usage.

    Yes I am aware that on low end devices performance could become an issue. I do have a friend that has an IPad that I send her an uploaded version to test the touch controls if they are working as well. And have her tell me if she's having any lag issues with the touch. Since on my desktop and laptop I can only test the Gamepad, Mouse, and Keyboard controls. On a mobile device like a cellphone could be even bigger issue than the ipad.

    Things that I have added since last time I checked this post is the Enemy AI's turn. Current battle set up is a 6v6 for testing purposes. Left side is player controlled you can choose between Attack, Magic, or Special, After all player characters have gone the right side which is Enemy AI controlled will then go through their turns of "For Each(ordered) based on the Enemy.ID" and do their sequence of them choosing Attack, Magic, or Special then play the function for the one that the AI choose. After all the Enemies have had their turn the system turns off the enemies side and reactivates the player side starting with the first player and then goes back through their turn. Going back and forth this way.

    Debug Menu:

    [attachment=0:1u5finjd][/attachment:1u5finjd]

  • You're welcome.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need a certain amount of Rep to post URLs, but you can add attachments.

    But what you're talking about is the Window Size.

    There's the Layout size which you can set by going to Layout Properties, but then in Project Properties there is Window Size. Window size is the game screen.

    Underneath where it says Layout Size that you are adjusting is a link that says View next to Project Properties. In there you'll find Window Size underneath Project Settings.

  • I have noticed something else with the Debug Inspecter. Depending on if it is in the window with the program or in a separate window it will display alternate usage.

    Debug No Pop-up Inspect:

    [attachment=0:n306r1x3][/attachment:n306r1x3]

    Debug Pop-up Inspect:

    [attachment=1:n306r1x3][/attachment:n306r1x3]

    Since you're saying that the Debug itself might be reading as high on cpu usage just by being there. Using it as a Pop-up Window of it's own might be having it read just the project itself in inspect and not the Project+Debugg for Usage times.

  • Valerien An "advanced" tutorial I'm sure will help out many others that are also interested in making an RPG with Construct 2. The more methods people know that they could potentially use for certain things can help them grow. Using your advice earlier with the "id = Self.UID" I had created a new layout and event sheet, since I figured I could probably work better in setting up the pieces together with it going from the beginning.

    There has been two issues I've ran into somewhat in the battle system remaking it. I've done some a work around for both of them at the moment. One of them the work around can hold fine, the other one I'm going to need to actually find a better way to do it for future additions.

    One of them is something you've completed for your prototype Dan the Rabbit. Which is the Attack buttons that pop up above his head. Now I'd tried a part where "Turn = Character.ID. Trigger Once" for the spawning of my BattleAction Icons, Watching it in just Run Layout it looks fine. But watching it in Debug Layout it's actually ignoring the trigger once and constantly spawning them on the character.ID who's turn it is. So modified it to an Opacity and Start of Layout set up that works. Which isn't too bad for a turn based menu atm for me, also changed the amount of events it used from 22 in my old system to 7 now. Works yes, but probably not the most ideal.

    This is the way my current one for the BattleActions are for players being run: [attachment=2:1nzy1992][/attachment:1nzy1992]

    So my question for you though are you using an opacity type for your Actions or were you able to come up with a way to actually get them to stop spawning rapidly?

    The other thing that I've been having some issues with that I've tried a few different things is setting up something in the Families for the Rotation of Turns. While using a single avatar for the character and setting it as the following:

    [attachment=1:1nzy1992][/attachment:1nzy1992]

    It works perfectly fine. It will set up PlayerLowest and PlayerHighest on each instance of CharacterMage. But if I have it spawn the other Characters as well from the spawn script with it set to the Family Character, and then change it from CharacterMage to Character in the setting the PlayerLowest it will only set the lowest ID with the Lowest ID and the Highest ID with the Highest ID. If I set it for each it sets the Lowest and Highest as the current ID. Hmm while typing and still thinking just had an epiphany so going to set up a method I just thought of.

    Yup it works. Before when I had it set up and it was working fine I only had Characters on both sides. Earlier today I had added Enemy on the opposite side and then started getting the issues I described above. But I've done the change I had an epiphany on and it works the way I wanted it to with the variables.

    For those that might run into an issue like this for their event set up, and want to see what I did to solve it:

    [attachment=0:1nzy1992][/attachment:1nzy1992]

  • You're welcome

  • round(random(1,10))

  • daehawk : You rather want to use a for each loop at the start of your layout and for each character, create a variable id = Self.UID;

    Then, every time you want to call a character you have filtered, you just have to call objectName.id

    Valerien : Thanks for the feedback and this is actually a good idea and method. Also has properties for some other things that I am now changing the way their events are set up for. As well as gave me some ideas on how to change some other things I was working on setting up. Thanks.

daehawk's avatar

daehawk

Member since 4 Mar, 2014

None one is following daehawk yet!

Trophy Case

  • 10-Year Club

Progress

10/44
How to earn trophies