GeorgeZaharia's Recent Forum Activity

  • if your using platformer behavior... change also the {fall speed}. even if gravity is set to 1 will still fall

  • blackhornet i know this is an old plugin and its not developed further sorry for zombifying it... is it possible to get the midi file notes to be played ? and create sprites based on the midi file pattern?

    Edited: actually i think a pattern isn't really necessary... the plugin plays the notes or the song based on a BPM (lol said rpm haha) right? is it a way to detect the speed of which the player taps the tiles and convert the time between the taps to bpm and then play the song based on that? that wold be actually close enough to dont tap the tile... i want to use the midi plugin cause loads so fast dont mind the pattern sprite recognition anymore i think the bpm work around wold be the best approach to this.

    Edited2: nevermind solved it i wish though that pattern recognition of the notes to be possible... wold enable us to create so much cool stuff using the notes pre-loading ...generated maps etc...

  • a big sprite with that particular custom image effect and fade it in and out when u get the power up...wold be the most simple way...

    here is example capx

  • you dont need to use random x to destroy an object if u have also the condition on clicked object... what happened was when u clicked a random X position was selected... from the width of the layout... and ur sprite was not on that X position... just use the mouse or the touch condition on object clicked or on object touched... then sprite.destroy... also you may want to next time to not post a new reply to your own post but edit the first one until u get a response. otherwise you will be flagged as spamming the board.

  • Curti

    your links dont work remove the https:// and the dots between the drive.google.com

    also you posted the problem in the wrong section... it should go in the how do i section... that way you wold get more responses then here. send to me via email at zgaagz[at]gmail[dot]com the capx u wanted to share and make sure is public view open.

  • Curti

    hi i dont usually add people on my gmail... so i did a small capx with 4 examples using physics, static rotation and movement+rotation to left using counter-clockwise object.expression see capx events and see the comments inside. hope it helps u

    Download Capx example

  • rotate clockwise/counterclockwise add a speed + 5 or - 5 etc

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you dont have to use right click u can also use the normal ctrl+c ctrl+v to copy and paste u just need to click to select the action you need and use the commands shortcuts like on any normal windows application... if u mean to paste between 2 actions a new action u cannot do that by using the above... but you can do it by doing the next thing that is also shown in the gif i posted... keeping ctrl down and drag the action you want to copy paste under or in the middle thats what im thinking you want....

    however i dont agree with having more then 7 actions per condition event.

  • Sorry

    ......

    lol dont mention it man, nothing to be sorry you actually helped a lot with that line of code is awesome... all he has to do is to detect which way the touch is dragged first time.. left right up or down... but for sure speedat(index) will solve it

    srry dont have time to assembley the entire capx for u, but hope this sections help you.

    i know there is a tutorial using that for swipe movement. 1 of them being this one and then there is this section dedicated to swipes and swipe movements with the entire variations of ways on how to make it happen.

    its just a matter of making the swipe happen in straight lines and not detect the between angles and ur done. ur 90% there. good luck.

  • you mean like this? Demo NinjaMiner

    you can do it by using the platformer behavior and when u press right change the gravity angle towards 0 when u press left change world gravity angle towards 180 270 up 90 down. make sure only the player has the platformer behavior and the walls to be solids (solid behavior)and thats it.

    now if you dont use controls and u use touch to determine the direction of which u swipe towards you can calculate the angle of the initial x y of the touch and the release ... as specified above.

    the speed you can increase it by setting the value of gravity pull or fall to a higher number test and retest till u get it as you want ... have fun.

    download TOTM example capx movement using platformer behavior. i used newt 's angle detection since the touch plugin has no .angle expression i created 2 variables that are saved on any touch start then on any touch end newt's code works good as long as you dont rush the movement... its inaccurate sometimes... but you can fix it... by adding a 4 way condition check for angles... when touch ends... check if its between angles etc...

  • - I remade your .capx here. I hope it helps. https://onedrive.live.com/redir?resid=A ... ile%2ccapx

    Thanks ,it does work now, however last time when i tried to do the same thing i did not used OriginalWindowHeight expression... did it got changed in the latest updates?

    i noticed also the rounding of the image-point but didn't thinked wold be a possible bug.

    however based on what you said ....

    I believe that is not a bug because the Window Width and Window Height is based on the browser's size or screen size(if fullscreen)

    my res by default is 1680x 1050 so now makes sense why it wold do that ... but it wasn't doing it on the low spec monitor i had before a 1280x1024 max res one.

    ... now i feel dummy ...

  • Problem Description

    i created a new empty template, changed the resolution for the layouts to 1920x1080 and the template screen till here all good, until i create a sprite and try to automatically place it on start in the center of the screen based on the window.height/2... window.width /2 ... as simple it sounds... there is a displacement... not sure if this is because of the browsers or not but problem persists on chrome, firefox, internet explorer and even NW.js

    the capx also includes 2 other sprites i used to determine the actual WindowHeight WindowWidth center...

    also another note : i tried another test placing the object to the center of the screen by first taking the ViewportRight("0") then subtracting WindowWidth/2 of the curent position.

    it seems instead of - the system does a +

    for that i have no capx .

    since the method is a bit unusual and i just need the WindowWight WindowHeight expression to work for my capx.

    Attach a Capx

    ____ Upload a Capx to this post ____

    Description of Capx

    ____ Concise description of what this CapX does ____

    the capx is a new empty template, that has 2 lines of codes to automatically position a newly created sprite.object based on WindowHeight/2 WindowWidth/2 system expressions.

    Steps to Reproduce Bug

    • Step 1 create a new empty template
    • Step 2 set the resolution or screen size to template and layout to 1920 width 1080 height
    • Step 3 create a new sprite object
    • Step 4 set the position of the new created sprite object using the set_position expression to x:WindowWidth/2 y: WindowHeight/2

    Observed Result

    on my testing i added a text object to get the WindowWidth and WindowHeight and the valuesof WindowWidth and WindowHeight divided by 2.

    it seems the windowHeight is not 1920 x1080 but 1644 x 925 .

    Image reference

    Expected Result

    sprite to be positioned to the exact center of the screen that is initially set ie. 1920x1080

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)
    • NW.js: (YES)

    Operating System and Service Pack

    Win8.1 Enterprise N x64 bit

    Construct 2 Version ID

    ____ r227 stable 64-bit version ____

GeorgeZaharia's avatar

GeorgeZaharia

Member since 30 Jun, 2014

Twitter
GeorgeZaharia has 35 followers

Trophy Case

  • 10-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x9
    Popular Game One of your games has over 1,000 players
  • x21
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies

Blogs

  • Construct For Dummies - Simple Tutorial Collection

    I scour the Construct forums for users tutorial requests, and create small quick and simple tutorials using Construct's defaults features so anyone can use and apply them.

  • My Dev Logs

    Thinking on games 24/7 is fun and waste of time and unproductive if we don't bring those game ideas to life. In this blog im bringing my game ideas to life and log their development process.