fishol's Recent Forum Activity

  • So i have to put all panels outside gaming screen area, initialize panels by pinning, and then when I need to display particular panel, i have to move current panel outside screen, and move another panel into the screen ?

    Is there any way of organizing game objects in editors objects panel ? I'am afraid that i end up with hudreds of objects in one single place. Managing all of them will be real hell.

    I know there are subfolders, but I cannot check how they work because I'm on free license. I wont spend 100 euros if i dont know construct well - its lot of money for me, and before I spend such sum i need to be sure construct is good tool. For now it seems kind of chaotic and I'm afraid that its not good editor for making bigger games with many of objects.

    Can you light up how does look structure of really big projects in construct ?

  • Hi, how can I create some kind of organized GUI panels ? I have one area for my panels, and I need few different panels. Eache panel has different buttons, texts etc.

    Whats best way of binding all GUI elements of each panel together, so when I need switch to another panel, I wont need to place dozens of objects ? I'd like one element that represent one particular panel, that holds all elements (buttons, texts, sprites), so I can instantiate only that panel element.

    I want it because when I have a few panels holding dozens of objects each, I would have complete chaos in my event sheet.

    Are there some good tutorials (preferable text - I hate youtube tutorials) about creating GUI in construct ?

  • Hi, how can I create link between two instances ? In normal programming you can do this by setting "instance variable" on an object and then assign another object to this variable, but in construct it seems that only 3 basic types are allowed for instance variable: string, number and boolean.

    I would like to make connection between two objects, because I have tower (with turret behaviour) that shots bulets. Now when bullet hits enemy, i have no way to get somehow tower that has shot that bullet, but i need to get this tower because I want to increase experiance for it.

    Only way I see to do so is to put number variable on bullet, pass UID to that var while creating bullet and then add condition pick tower where tower.UID = bullet.tower_UID on the bullets with enemy collision event.

    Is there better aproach for such thing ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • THANKS MAN !!! Mouse coursor over object is perfectly fine for this purpose

    By the way documentation says something different of picking instances with mentioned condition:

    "Pick overlapping point

    Pick all instances of a given object type that are overlapping a point in the layout. The given X and Y position in the layout will be tested against the instance's collision polygons."

  • Hello, how does those conditions works ? I need to check if there is an instance under mouse position, and i thought of making condition "pick overlapping point". I did it, but i have no idea how to check if such instance exist. I need to perform an action ONLY IF there is no instance found under given position.

    Another question: if i pick some instances with systems condition, how can i determine which particular instance I am using in actions ? Lets say I have action "set text to instance.variable" - if i pick more then 1 instance - how does it work in such situation ?

  • Hi, whats the easiest way of making movement along path created by nodes hard-placed on the map ?

    I want to place invisible objects on layer, set order id for each of them, and then make an object move to each of them ?

    I want to make a simple tower defense with determined path on the map, and make enemies follow that path.

    Pathfinding in such situation in complete overwhelming.

  • Update your link in first post, its not working

    You should make GUI more responsive (buttons doesn't look like buttons)

    Nice idea but its too fast at start, imo you should add more kind of zombies, including some bosses, make regular zombies easier so their function would be only making profit, so player has time to rise his defense before boss arrives, and boss (not regular zombies) should bring real challenge to the player.

    Such approach may hook player better inside your game, current gameplay isn't really entertining

  • Hi there. I want to know if its possible ... well ... i bet it is, so maybe i should ask if its hard to do so: connecting my own HTML and javascript code with game compiled with construct 2 ?

    What I'm trying to achive is to make game menu in HTML+JS, and then, after pressing button "PLAY" it loads construct2 canvas and starts the game with some particular parameters set with HTML elements.

    Simple example, I have many options that affect game difficulty, lets say:

    • number of enemies
    • health of enemy
    • damage of enemy
    • speed of enemy

    etc ...

    All those options are set by player, they are not automatic. I want to use for this purpose HTML forms that save those options in javascript variables. After player set game configuration and press play button, games starts, and all object vars inside game scale to the settings.

    Is it hard to do ? I'm completely new to c2 so I'm dont know many of its abilities, but I suppose that if there is possibility to access WebStorage - maybe I should save those settings inside WebStorage with my own javascript, and then read it in the c2 app ?

    Or maybe is there better approach, like accessing javasciprts global object, so if I set configuration inside simple javascript vars, I can read them later inside c2 game ?

    Or maybe even better - is it easy to access HTML DOM so I can read config directly from value of HTML input elements ?

    Another question about HTML+JS and C2: Can I easly use, lets say, jQueryUI for ingame dialogs ? I really dont like way of making GUI inside C2, so I thought about using thing I know well and like: jQueryUI, for making ingame dialogs. Is it possible ? Is it easy ? Can I easly show up dialog from C2 app ? It involves calling javascript function that is set inside HTML document but is outside C2.

    Is it easy to access HTML DOM inside such dialogs, for lets say, again read HTML form ?

    How about sending signals from outer HTML to C2 app ? If i make game menu panel with buttons that after clicking should call some action inside a game - is it possible ? Lets say I have a HTML button spawning unit inside strategy game, is it easy to achive such a thing ?

    Since its a long post, lets sum it up with question list:

    1. How to run C2 app with HTML/JS button ?

    2. How to read data inside HTML DOM / JS scope from C2 app ?

    3. How to run (open) jQueryUI dialogs from C2 app ?

    4. How to retrive data inside jQueryUI dialogs from C2 app ?

    5. How to send signal (execute C2 action/function or set an variable inside C2 app) from HTML to C2 app ?

fishol's avatar

fishol

Member since 11 Mar, 2014

None one is following fishol yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies