dop2000's Recent Forum Activity

    • Post link icon

    As a rule of thumb, I steer clear of "Wait 0". Rarely do I really want to postpone actions back to the end of a tick.

    I use "Wait 0" all the time. Mostly after I create objects and need to change something about them (call a function that re-arranges them for example). It's also sometimes useful with mouse/touch events, drag&drop and other behaviors.

  • Add a debug output into event 23 - Browser log "Buttons NOT down, cloning object"

    Run the project, open console log, try dragging with right button+shift and check if that message appears in the log.

    If it doesn't, this means that you have some other event somewhere which clones the object.

  • Export to Cordova, then zip the exported files, then upload zip to Phonegap.

  • I need to build apk for an old Android 4.2, I managed to do this by changing "android-minSdkVersion" to 17 and building with Cordova CLI.

    When I'm testing it on an old phone, everything works except for sounds and music. Logcat shows errors like this:

    I'm guessing .ogg format is unsupported, or maybe it's looking for the media file in wrong location..

    Does anyone knows how to fix this? Is it possible to use wav or mp3 without conversion to ogg somehow? Will appreciate any advice.

    .

    EDIT: Seems like some issue with file access or location. Same error happens when I try playing mp3 or any other file.

    Tagged:

  • It doesn't mean "buttons hold together". When there are multiple conditions in AND-event, each condition is evaluated separately, one by one from top to bottom. If every condition is true, the event will be executed.

    (Middle button not down)=true, (Right button not down)=true, the whole event will be (true AND true)=true.

    .

    In case of OR-event any condition needs to be true. If middle mouse button is not down (true), but right mouse button is down (false), the entire event will still be executed because (true OR false)=true

  • You've already tried implementing my Undo system and made good progress with it. Why do you want to start from scratch and do the same job again? I'm sorry, but this is your project. I've already invested several hours into this and I can't do the whole job for you. At least not for free :)

    You've got the essentials working. All you need to do now is adding "SaveStep" function call to all features in the app where Undo is needed. With features triggered by keyboard shortcuts or on-screen buttons it should be very easy - just call "SaveStep" at the end of events. Similar with features that have any sort of "On finished" trigger (like "On drag end") - add "SaveStep" there.

    With some other operations like rotation this can be a little trickier. You need to set stepSaveRequired=true flag while the object is rotated, and call "SaveStep" function when mouse or keyboard button is released. See my screenshot in this comment.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • jatin1726 ColorValue expression only allows to access the color value you set previously with "Set color" action.

    If you need to read any pixel color from an image, you need to use Canvas object in C2 or DrawingCanvas in C3.

  • You didn't replace the Canvas object in the project and you didn't do any of the things I suggested!

    1. Remove Rex's Canvas from the project, better uninstall it completely.

    2. Add R0j0hound's Canvas object to the project, set its size 1x1px

    3.

    Touch On Tap Sprite
    	: Canvas set position to touch.x, touch.y
    	: Canvas paste object Sprite
    	: Text set text to "Red: " & Canvas.redAt(0,0) & " Green: " & Canvas.greenAt(0,0) & " Blue: " & Canvas.blueAt(0,0) 
    
  • Set acceleration to a very large number, like 9999999

  • You installed the wrong plugin. You need Canvas by R0j0hound:

    construct.net/en/forum/extending-construct-2/addons-29/plugin-canvas-41782

  • You do not have permission to view this post

  • You do not have permission to view this post

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    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
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies