vtrix's Recent Forum Activity

  • the idea is to pin the selected objects to a move/rotate sprite in the middle point of the selection

  • i want to calculate the lowest and highest x and y position of a bunch of sprites, the objects from where i want the calculation would be selected by mouse, so the amount of sprites is depending on the selection

    how would i write this?

    do i need an array to do this? if so how would i implement this?

    my endgoal is to find out the center of the selected sprites

    so i think if i know the above i could calculate the distances and divide by 2 to get the middle point.

  • hmm well the pin example doesnt realy fly, im still working things out :)

    maybe youre right and is my approach wrong

  • first of all i wanted to create tabs using families, because i want to keep layers to a minimum and families are easier to work with and easy way to group things, so i think it would work perfectly for this

    but what if you need to add things to the menu on runtime, you have to have something to say , youre in that family..

    i could also pin this tabs to a certain place, for example bottom of screen,

    aside from this examples i can imagine that there will be other things created a runtime that will have to change or put in a family

  • is this something that could or will be added? i think it would be usefull

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • the only solution i found is to import everything as music, ive not been using sound lately but sad to know its still an issue

  • Hi Rex, some questions about hashtables

    is there a way to loop thru a hashtable or should i combine it somehow with an array

    and is a hashtable a good way to do something like a shop with tabs :

    example:

    armortab:

    heavy armor = properties: defence:4 attack:0

    medium armor = properties: defence:2 attack:0

    ...

    weaponstab:

    sword = prop: def:1 atk:6

    dagger= prop: def:0 atk:2

    ...

    how would i write something like this?

    {"armor"{"heavy_armor"{"def":4}, "medium_armor"{"def":2,"atk":2} }, "weapons "{"sword"{"def":1,"atk":6} "dagger"{"def":0,"atk":2}           }}

    ?

    thanx for any advice you can give..

  • is fixed in the new release 80.2

  • 1st new event didnt make it crash

    made two new blank events and crashes, on existing capx

    edit: just tried with new capx, making two blank subevents makes it crash

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    Getting event sequence number from event without one assigned

    Condition: sequence_number != 0

    File: Projects\Event.cpp

    Line: 30

    Function: unsigned int __cdecl Event::GetEventSequenceNumber(void) const

    Build: release 80 (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.

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

    Abort   Retry   Ignore   

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

  • also crash on blank subevent (existing capx), + and like 50 errorsounds, only option is to close construct

  • i made a simple test, this one doesnt work for me,

    two strange things, the destroy action on the callback only destroys one instance, should destroy all

    + none of the instances can be loaded back...

    simpletest

  • did you tried loading the saved objects after each save? with the second save function it doesnt load the objects,

    i was only guessing the bug was in save function

vtrix's avatar

vtrix

Member since 24 Jul, 2011

None one is following vtrix yet!

Connect with vtrix

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Email Verified

Progress

15/44
How to earn trophies

Blogs