Zetar's Forum Posts

  • Thanks I hate it when it is so simple...

    About the TokenVar... GREAT IDEA, and a event saver at that. Yann, you are invaluable to this forum.

  • So, I am trying to figure out how to use the Token features and place them into an array.   I created a global variable {ArrayData} holding the token data like this: "0,1,2,1,2,0,2,1,3".

    I then want to store this into an array that is 3 X whatever length the tokencount is divided by 3. The array is only 3 wide.

    Then to test it, I want to create text boxes to show the values in each position of the array.   

    To me, the capx below should do this. WHAT DID I DO WRONG!   

    Thanks in advance forum buddies!

    CAPX

  • I got this error when trying to change the layout size after adding objects to the layer.

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    Unknown layout property modified!

    Condition: false

    File: Bars\PropertiesBar - Layout.cpp

    Line: 217

    Function: void __cdecl LayoutPropertyChangedHandler::OnPropertyChanged(const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &)

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

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

  • I don't know the answer to your question, but I know Ashley commented on a subject like this recently:

    http://www.scirra.com/forum/using-c2-with-multiple-screens_topic49045_post308376.html?KW=split+window#308376

  • I dont need to go back to school. Yann is schooling me just fine!   <img src="smileys/smiley42.gif" border="0" align="middle" />

  • Thanks Both of you! I took only 1 semester of Trig... Now I wished I had finished!!!!!!

  • lucid, that is COOL! <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Have you checked if this was fixed in r8.1?

  • septeven, it loads fine, but I noticed I can't select any of the plugins. when I click and hold, I can scroll, but single click does not select plugin. Array stays selected at all times. Buttons work with one click (Like Install), but any (Install) button I click only wants to load Array. Am I doing something wrong?

    I have Windows 7.

    *** EDIT - Never mind... Double Click...   Got it :) But I did notice the All does not load on startup... You have to select something then go back to all for it to populate... by design?

  • HAHA- That was easy...

  • LOL - NP

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • klaypigeon, is there any way you can post your Capx?   

    Essentially, when you spawn a sprite with bullet behavior, it will automatically set at the "default" speed the bullet behavior is set at. So you need to make sure the speed is set for Every spawned bullet if it varies from the default.

    Example: So right after you have Gun spawn bullet, set speed of bullet behavior on bullet sprite to variable that changes on a different event.

    May not be what your looking for, so a capx might help :)

  • Hello All!

    I have a little top down tank with a rotating turret who's angle slowly follows the mouse. Works great! Now I want to implement a target icon that stays directly in front of the turret, but the y axis moves to the mouse position. I want to know when the turret is lined up with the mouse using this sprite.

    I have tried a few things, but it doesn't quite work.

    I tried:

    Every Tick> Sprite Set position Turret ImagepointY(0), Mouse.x

    and variants of this. I think I am way off base.

    I (think) I need the event to do something like:

    Set position of Sprite along Turret Angle at distance(Turret.x, Turret.y, mouse.x, mouse.y

    My head hurts...   HELP!

  • Yes. I am waiting patiently for those containers.   <img src="smileys/smiley41.gif" border="0" align="middle" />

  • Thanks Bunches Ashley. I get what your saying. Now I know what I need to do to make it work.

    BTW - C2 is still the best bang for my buck, and I am having lots of fun with it. Keep it up mate!