SputnikCZ's Recent Forum Activity

  • Try to create a condition for the movement. "If enemy move => 5px -> set position -> self.XY"

  • First of all, are you using Debugging? Not the C2 version of Debug but your very own. It helps to create few documents (if you know exactly how to set it first) and then it will tell you what you are looking for. It's easy way to create better performance games. If you have problem on Linux, it can be system problem, not a game problem. Try different Linux versions. I'm using "Zorin", great Ubuntu system.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Korbaach, you nailed it. Will download it and check later on ny PC. Great job G!

  • I'm using functions to determine what to do and when. For example:

    Func:

    "ClenUpAC"

    'set everything in the AC to OFF, every boolean etc'

    "StartAC"

    'Now set what should happen with the AC'

    "Debug"

    'only if you are using debugging as I do'

    Simple way and you can call it anytime you need.

  • G, this is good. I'll try to explain on what I'm working. That capx would help a lot.

    Sprite: "Planets_Types"

    Vars: Food_amount, Water_Amount

    Boolean: Habitable

    Animation structure:

    Folder: Habitable

    Animations: Habit_TYPE

    Folder: Unhabitable

    Animations: Unhabit_TYPE

    I setted everything for those vars. So the problem is only this animation. I'm using command "tokenat" to find what planet have "water" or "ice" in the name to set higher amounts of water on it.

    If you need something more, feel free to ask me.

  • Oy lads

    I've got some problem with the code now and even when I was looking for a solution here on the forum, I have no idea how to fix it.

    I created a sprite with animations and now I want from my game to pick randomly 1-3 animations from that sprite and save it in the 3 buttons. I setted few variables for this sprite regarding what it will have but I don't know how to create that command "random" after each turn. Since this command is used for numbers and not the texts so I can't point it like "random(sprite.AnimationName)". Any ideas how to fix this?

  • Oy lads

    I'm trying to learn in the C2 for some time (Second year started) and due to lack of time it goes so slow. Even when I learned how to create a functions for menu, changing the needed sprites etc I have a question about the Layers and Layouts.

    When I'm working on web based "Sci-Fi Mafia" game with a lot of sheets (Each sheet contains only what it needs - "settings" for settings, "building sheet" for buildings only, etc) and even when I have only 3 Layouts now - "Home page", "Login page" and "Game", in the "Game" layout I have a lot of layers (Almost 12) and here is my question:

    Is it better to create 1 layout with 2 layers for the Background and GUI and each layer separate into the layout or leave it how it is? I'm more worried about the effect on the performance of the game. Even when there is not even one single animation yet (It's more text based game with single sprites only) I'll add something later.

    Well, when I'm here already I'd like to ask something else. I never worked with the "Multiplayer" functions yet and I'm little bit confused of "How to save players' data" into the game (When he is logged on and doing something) and then how to synchronize it with the cloud storage etc... If you have any ideas, shoot it at me!

    Cheers guys for any kind of help. If you need more info about what I'm asking for, I'm here almost every day (Still learning and reading).

  • I will try do my best. In few days I will post my work. Now I have some major problem with layer visibility. :/

  • Hello guys.

    I'm working some time on a project and right now I get stuck. We figured out how to set building array bassed on sprite background (squares 10pX10p)and how to create simple object with the "core" square and another squares around.

    Here's my question - How to "save" this "builded module" into the array or into other thing as sprite etc.

    1st Phase is create the spaceship design. Than Save

    2nd Phase is put allowed modules onto the design

    3rd phase - save the setted spaceship into the "game" and let the game manipulate with it (In battle system, navigation - there is transition between layouts)

    This is not moveable sprite. Who want's to discuss something about it, feel free to write me.

    Cheers,

    Rob

  • Debug showed me that button was clicked with one another what was on same layer. It's repaired. I don't know why I didn't saw it before. :/

    Thanks pal.

  • Pic1

    On this picture, you can see how those comands are set on buttons (Sprites) for Corporation.

    Pic2

    This picture shows you how is Pirate section set. For compare.

    Pic3

    On third and last Picture you can see button variable..

    IDK why it not works. Any ideas?

  • Yop. I will post a screen after my bath.

SputnikCZ's avatar

SputnikCZ

Member since 6 Jul, 2016

None one is following SputnikCZ yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies