Guif0DA's Recent Forum Activity

  • Like the title said, can I make a script that can read a global variable?

    like..

    ip - global variable (xxx.xx.x.x)

    script:

    host = global('ip')

    ??

    tried some ways but none worked, it is possible? if so, how?

    thanks

    edit:

    in script:

    System.Close seems not working, I'm doing something wrong??

    also guess i found a bug..

    700 objects with physics behaviour in the same layout = crash..

  • heyy

    I was testing the minimap obj, it's a very simple object and powerful, great job Scirra

    but for my purpose it not working how I would it to be..

    I'm trying to make a minimap of just a small area around the player, not the whole layout... example.. my map has 6000x6000 size, in the minimap it's showing all the area and my idea would it to show only the places,objects, etc, near the player..

    is it possible? with a diferent object maybe?

    ty!

  • Don't know if you can have more than one per layout, but since the layout object is bugged, it's suggested not to use it at all.

    Besides that I don't think layouts can share info at the same time.

    Might try the minimap object on a separate layer with scrollx, scrolly, set to 0.

    thanks for reply, do u know exacly what is the bug of layout object? I'm new at construct, moved from MMF2.

  • Hi

    I made 2 layout objects showing the same frame but with different size(one would be a minimap) but only 1 layout obj. appears during the runtime... is it possible to display 2 layout obj showing the same img at the same time?

    ty

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've never tried full screen with an editbox until now, and I see it doesn't work correctly.

    I would guess that it doesn't work well because full screen uses DirectX to display, and it doesn't play well with Windows API. I don't know...

    I don't see a way to fix that, other than not using full screen.

    Perhaps you can use the Text object, or SpriteFont Plugin to do the display portion instead of the EditBox. If input is needed, there is an Input plugin in the WIP plugins forum that could be used for that. I'm sure that it's possible to emulate an EditBox.

    any idea how to make a text object scrolls down and have options to scroll up and down? I'm having some dificulties here hehe

  • The EditBox is a Windows object, so it does not behave like most other Construct objects do, such as sprites.

    I'm not aware of any way to change any of the things that you have mentioned, other than the position and size of it.

    I don't think that there is a 'On window resized' condition, but you could store the current size at start of layout in a couple of global variables, and compare those against the current size each tick, then resize the EditBox based upon the change if they are different. Then set the stored size to the current size...

    The System object has expressions under it's Display category for the display size, and the Window object has similar expressions for window size.

    If I activate the fullscreen mode the editbox actually changes his size but it become invisible and nothing appear when writing, I can see the size is right because of the mouse pointer...

    any solution you may know how make it become visible with fullscreen mode? this would already help..

  • with python it's possible, I'm beginning to using construct so i can't really help with online but yea mMF's mooclick is outdated, there are other extensions alot better for that like lacewing but only for patchs 249 or above and to get them you ill need to pay for mmf.. =/

    but ya, construct can do online games

    search the tutorial page and look for online games

  • Hi. In my experience, those options just make it so that the text contained by the EditBox can be larger than the box itself.

    If you're looking to make it scroll so that you can see text that has been added to the EditBox through events, you can use the EditBox's Set Selection action to force it to show any area in the text.

    The following simple example would add the amount of time that the application has been running in a new line each time the LMB is pressed, then set a null-selection the end of the text.

    + MouseKeyboard: On Left mouse button Clicked

    -> EditBox: Append text Timer & NewLine

    -> EditBox: Select characters len(EditBox.Text) to len(EditBox.Text)

    thanks it worked, but now I got a new question.. It's possible to put a different background color on edit box? it's always white and also, how do I change the Font, color font, size of the font of the Edit Box? And finally, when I maximize my screen the edit box is not expanding, it stay in the same place with the same size, nothing happens..

    thanks for help!

  • Hello

    I made an edit box in my project and I checked the ''autoscroll'' options but it's not scrolling. Not sure if it's working properly...

    There is a manual way to do this with events or scripts, if so, how?

    Sorry for my bad english =/

    thanks for any help!

Guif0DA's avatar

Guif0DA

Member since 5 Dec, 2010

None one is following Guif0DA yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies