RattyRat's Recent Forum Activity

  • Thanks.

    Still Can`t really think of a use game wise for this, although the experience should make it easier for me to do an isometric type game (with fewer, larger sprites I would think).

    RR

  • Small update now with 3 colours and finer/brighter shading:

    https://dl.dropboxusercontent.com/u/15657176/Voxels.capx

  • Thanks for the feedback, I`ll keep tinkering with it and post anything interesting.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all,

    Thought I would share this as it turned out better than I thought it would. I wanted to see whether I, and Construct 2, could do something with voxels (3D pixels) as seen in some popular games at the moment.

    This is what I have after a few hours programming:

    https://dl.dropboxusercontent.com/u/15657176/Texels.capx

    Hold LMB and move the mouse to move the light in the plane of the screen, use the mouse wheel to move it away from/closer to.

    Not sure what, or whether, this is going to be useful for. Feel free to fiddle with the code, if you re-use any of it in your projects please remember to give credit.

    Comments, suggestions, as ever, most welcome.

    RR

  • FYI - Chrome Updated to v.33.0.1750.117 and the issue has now gone away.

  • Thanks again. I will try and fix it from Chorme/system settings, if I get any results I will post them here.

  • Thanks everyone for the replies.

    Oh well, looks like it is more-or-less specific to me - I`ll see if I can get IE to work with the sound and, if not, try installing Firefox (bleugh!).

    Shame, I really do prefer Chrome.

  • I hope someone else can confirm this, as soon as an audio file is played (in chrome) I get frame rate jittering, it goes on even once the sound has stopped:

    Link to .capx file (required! If link is blocked remove the http and www parts):

    https://dl.dropboxusercontent.com/u/15657176/AudioBug.capx

    Steps to reproduce:

    1. Run capx above in Chrome (v. 32.0.1700.107)

    2. observe smoothness of my awesome code

    3. press mouse button to play the sound

    4. shed tears over the heartbreaking stuttering and jumpy framerate

    Observed result:

    Jittery animation of sprites

    Head banging the keyboard while crying "why! why! why!"

    Expected result:

    Sexy smooth animation and frame rate.

    Smiley face.

    Browsers affected:

    Chrome: yes

    Firefox: ?

    Internet Explorer: no - but the sound does not play (mouse click is detected)

    Operating system & service pack:

    Windows 7 Home Premium SP-1

    Construct 2 version:

    v162 64bit

  • Thank you.

  • Hi,

    Suspected as much. However, if this is expected behavior, then surely it should be documented (otherwise I would not have reported it).

    I had a good search through the manual and could not find anything explaining this (although I found at least one occurrence of the manual distinctly saying instructions are applied in order, whereas "destroy" is clearly not).

    Please could you also suggest why, having set the variable Clicked to YES, the next event that checks if Clicked is YES does not get run.

    Thanks for the swift action on this,

    RR

  • Hi, manual states that events/actions run in order shown but some actions (Sprite.Destroy) seem to occur only after end of main loop.

    (also trying to analyse this I got an oddly similar result when setting a global variable).

    Link to .capx file (required!):

    dl.dropboxusercontent.com/u/15657176/Destroy_Order.capx

    Steps to reproduce:

    1. Run prog

    2. Click on a sprite (sprite is destroyed)

    Observed result:

    1. Note that Destroyed Sprite UID still appears in For Each Sprite report

    2. Note also that although 'Clicked' is set to YES the "BEFORE" (before loop end) report (which is after the click event) does not get shown.

    Expected result:

    1. Destroyed Sprite UID should not be in For Each report

    2. "BEFORE" report should be showing

    3. "AFTER" (after loop end) is as expected

    Browsers affected:

    Chrome: yes

    Firefox: ?

    Internet Explorer: ?

    Operating system & service pack:

    Win 7 SP1

    Construct 2 version:

    r143

  • Found a solution using Families, here is an example to illustrate:

    https://dl.dropboxusercontent.com/u/15657176/FindBothInOffsetOverlap.capx

    By putting the sprite in a family and then detecting offset overlap with that we get 2 picked lists, one for the sprite and one for the family.

    Using FOR EACH did not work as it only picks from one object.

    Using a normal FOR loop from zero to 'PickedCount' and then applying the Pick Instance event on both the sprite and family seems to get the matching pairs.

    I hope this helps someone else as it was really frustrating me!

    RR.

RattyRat's avatar

RattyRat

Member since 25 Feb, 2013

Twitter
RattyRat has 15 followers

Trophy Case

  • 11-Year Club
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Email Verified

Progress

14/44
How to earn trophies