grossd's Forum Posts

  • What is a good way to create pop up data entry forms. I'd like to simulate declaration and entry of sprite properties which are then stored in dictionaries

  • Thank you.

    Let me read up on containers so i understand your suggested method.

  • Hi is it in principle possible to query during runtime of a game the instance variables defined for an object in some generic way.

    intsead of a dictionary i want to use C3 own object store to store and retrieve data as well as learn about object name and properties.

    thanks

    Daniel

  • and the properties ...

  • Yes, that is what i do ...

    I thought that there needs to be some condition to cause onShoot to happen more often. It seemed as if onShoot only happened once.

  • Hello,

    I managed to spawn a bullet when a target was acquired. However, the bullet only shots once -- as if acquision only happens once.

    I also tried to unacquire immediately after shot but this didnt cause a reacquire and shoot again.

    what am i missing to get the turret should many times until some condition is met?

    thanks

    Dan

  • Strange ...

    I now redid the layout -- basically creating a new layout main2, and then copying-pasting each layout element to the new layout ... then "moving" the associated event sheet to the new layout -- and the visual issue disappeared.

    ....

  • Hello,

    I wrote an interactive animation last year, and everything was fine. Today I decided to continue working on it and notice that the visual layout is all messed up.

    No matter what version I open, they are all messed up as if cut into large puzzle pieces.

    Also, I can't identify the source of the "cuts" -- moving around sprites and background its simply not there to be selected.

    Now I notice it happens when i move sprites around in the layout -- so its not a runtime thing ... perhaps a browser thing -- i will try to switch from edge to something else.

    Edit: I now switched browser -- and the problem persists -- also, its for background and listboxes that somehow when overlaying other objects cuts white triangles into them.

    Its as if the rendering engine does that ...

    Was there any upgrade that could explain this issue. Is this something known?

    Below is a sample

    all suggestions are much appreciated.

    Tagged:

  • Perfect! thanks.

  • Hello,

    I have a sprite with two images in two frame. Frames are all stopped, i.e. they don't run, so to change the frame requires a set frame action.

    I have a toggle button, and when i press the button i basically do a set frame (1 - sprite.animateframe) which works well.

    However, i actually wanted to have a spriteState boolean instance variable and control the set frame with the variable and conditions on the toggle button event.

    But, i can't get this to work -- the event loop, once it sets the boolean to true, the next event condition is true and then it sets it to false.

    I.e. how can i create a toggle within the event loop

    Tagged:

  • Is it possible to access the accelerometer to measure acceleration?

    If its not directly possible, can it be done using javascript, possibly, with a library that provides direct hw access -- does something like this exist?

    Tagged:

  • ok, so playing with this some more ...

    I didn't set the original viewport size according to the notebook but to the large monitor -- interestingly, they do share the same aspect ration, but this still creates black borders on the notebook and (almost) none on the external monitor.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you.

    Setting scale inner, indeed cuts quite a few things away.

    Interestingly, I now noticed that with the default setting: letterbox integer scale, when i maximize the browser in an external (24'') monitor black areas are mostly gone, but when maximizing on my notebook monitor (12'') thick black borders exist.

    Not sure why this is happening.

    Edit:

    I see layout size parameter and viewpoint, which is also a 2D size.

    Why do these two exist in the first place. Why isn't one size enough.

    Perhaps because the layout is used for other stuff ...

    So the layout size is simply a work area size, whereas the viewpoint is what is displayed -- which, i guess, means the aspect ration must be aligned with the actual aspect ratio of the monitor in use.

    This may explain why borders appear on one monitor (with a different aspect ratio) than another.

    So, how can a viewpoint be defined that seamlessly works across two or more monitor.

  • Hello,

    For some reason I am not able to get the margins of the game to cover the fulls screen. I also have a black margin around the game and game elements smaller than they could be.

    I tried creating games at different resolutions, play with project settings, but can't get it to work.

    Any suggestion would be much appreciated.

    I am working on a typical notebook 12'' computer ...

    Dan

  • You do not have permission to view this post