IGDev's Forum Posts

  • This is important to fix?

    When i start preview

    "---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Could not find behavior's combo property index

    Condition: index >= 0

    File: Projects\BehaviorInstance.cpp

    Line: 374

    Function: class cr::pod<class std::vector<struct era::InstanceProperty,class std::allocator<struct era::InstanceProperty> > > __cdecl BehaviorInstanceERACallback::GetProperties(void) const

    Build: release 236 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Przerwij Ponów próbe Ignoruj

    ---------------------------

    "

  • LorenzoB

    i try on IE11

    on other browsers like chrome all works fine

    mozilla too

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What might cause black screen when running game on IE?

    i try open on two PC's

  • bump

    anyone?

  • 2 ways ....

    1/ dt based, Every tick add dt to global variable counter. (System Expression dt = time for one tick)

    2/ Wallclocktime based. Set a global variable to System expression wallclocktime on startup. Time is now wallclocktime - global.

    Ok thats works better

    any ideas how change this displayed time from x.xxxxxx to x.xx ?

  • I create global variable 'timeclock'

    and text object for display time in text (set text to timeclock)

    EVENTS

    • System every 0.1 seconds add to global variable 0.1

    (so every 0.1 seconds variable have have 0.1 etc)

    great

    but problem is when i set

    -System every 0.01 seconds add 0.01 to global variable counter never display right time

    when game runs 1 second variable display 0.65

    how create right timer?

  • bump

  • I add to folder 'files' in construct2

    its possible to display new font in game from this folder?

  • I create global variables (text)

    -firstname

    -secondname

    -fullname

    i add 2 textboxes

    -for type first name

    -for type second name

    Now in events i set to every tick

    set GV firstname to textbox firstname.text

    and this same forsecond name

    in inspector when i type i see typed text in this two variables

    but when i set in events

    set global variable fullname firstname + secondname

    text are not connected

    full name global variable display only first name

    Why?

    how fix this?

  • luckyrawatlucky thanks i think your solution is best because is most siplier and smaller

  • glerikud

    if you have animations skin1, skin2, skin3. you should make lot events to steer all addational animations for each skin.

    If you upload all animation frames on skin1.

    and create event to set walking animation and

    even if you change skin on start of layout

    this same events will display walk animation

    I still think this is better way than others

  • SoldjahBoy i need one animation group for one skin of character

    thats better than create families or create new sprite called Enemy 2 and copy events for each created sprite only because i must create animations on standard way.

    All enemies and player's will be on two sprites ONLY on whole peroject

    This way help me save lot of time, lot of CPU usage and not lot of other sprites on project and collision checks

  • luckyrawatlucky yes something like that. You use global variables fpr each animation. I do this same thanks

  • signupdemo i dont want create other animations than Default

    i need have all frames in default and picking right frames to play

  • thanks for posting this.

    I read all pages and im afraid i don fin solution for my issue.

    Can you take look at my other topic

    and look at question number 2 ?