Zetar's Recent Forum Activity

  • rojohound, Very interesting way to do the worm pixel detection. If I understand correctly, you are testing every pixel on the edge of the Worm Sprite to see if it is touching a ground pixel as indicated by the Array. You used an Array so you could have a "detectable" pixel (the x,y coordinate in the array.)?

    I have an Idea to use image points on a sprite (2 bottom 2 mid-sides 2 top) and cycle through them per tick: Something like this:

    Every Tick

    For "Cycle"=1 to 6

    ->System Compare 2 values -> Canvas rgbAt(sprite.ImagePoint(Loopindex("Cycle"))=rgba(Whatever color the ground is)

    Then move back like you did if it touches.

    Would that work? And Would that speed up the FPS? (Haven't tried it yet... Waiting for Day Off... UGH!!!)

  • So, from what I can see, There is no way to change a collision box once the item has been created?

    I am trying to come up with a way to make a simple digging game. I want a player sprite to walk on a block then dig a small hole that becomes a part of the terrain - meaning the player sprite can fall into the hole.   I tried using Destination out on a sprite, but the collision is still an issue (or am I doing it wrong?) Then I studied the Canvas Plugin Posts and saw a reference of using pixel colors as your collision detectors. But I can't make mine work. I have tried many ways. (I can't post my capx at this time BTW...)

    Is there a Tutorial somewhere to help me with this?

  • Another way of doing it is right clicking on the layer in the layer panel and clicking on Add Alpha.

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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?

Zetar's avatar

Zetar

Member since 19 Dec, 2009

None one is following Zetar yet!

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies