dop2000's Forum Posts

  • If this is one-dimensional array and you don't care about the order:

    dropbox.com/s/q902yhr7o85zxy1/ArrayRemoveDuplicates.capx

  • I'm proposing a spring time game jam to be "build a game using Dops tutorials only"

    Lol, please don't do this! These will be weird and crappy looking games :)

  • I'm guessing it's because the default letters are black, and you have black background.

    Press "Редактировать" on the left panel and change the color of the font there.

  • You need to wait for image loading to complete, before changing sprite size. Resize in "Sprite On image loaded" event.

  • FileChooser On Changed

    -> Sprite Load Image from URL: FileChooser.FileURLAt(0)

  • Are you able to add Cocoon Canvasplus object to a blank project? If not, you've installed the addon incorrectly.

  • You can use "Is between angles" System expression. Say,

    if Player.Bullet.AngleOfMotion is between 315 and 45 degrees
     -> Player set animation "Right"
    
    Else 
    if Player.Bullet.AngleOfMotion is between 45 and 135 degrees
     -> Player set animation "Down"
    ...
    
  • This is a common problem, unfortunately there is no easy way to do this. You can prevent characters from overlapping to some extent, but it's very hard to make 100% working solution. Try searching the forum, there are lots of posts about this, google "pathfinding overlapping site:construct.net"

  • The only way to this I know is using a tilemap with 1px tiles:

    construct.net/en/forum/construct-2/how-do-i-18/simple-scorched-earth-worms-ga-129595

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • vankiz I was replying to Mayfly.

    In your capx you are showing reflection angle for the white ball and it's not correct. In the real world billiard game the cue ball can only go backwards if you apply a strong back spin.

    You need to show reflection angle of the target (colored) ball. Once you get the angle calculated and shown (as on Mayfly's video), you can adjust physics velocity for the target ball to match that angle.

  • I finally did it! Posted all my example projects in one place:

    construct.net/en/forum/construct-3/general-discussion-7/collection-demo-projects-149701

    I would prefer to continue hosting the files on my Dropbox, this way I will be able to update them.

    If you still want to create demos for some of these projects - this would be cool! I will add your links to the post.

    Not all projects are worth making demos of course, you can pick the ones you like.

  • 8-DIRECTION

    CAPX Visible field of view (FOV) in a top-down game, like a flashlight beam.

    CAPX Smooth angle change in 8direction behaviour.

    CAPX Simple follower for 8direction behavior.

    TEXT

    CAPX Auto-resizing speech bubble, for dialog systems.

    CAPX “Old terminal” style text input with blinking cursor.

    CAPX and C3P Scroll text line by line. C2 version requires Scrolling addon.

    CAPX Search for a text in a large list by typing first letters.

    CAMERA EFFECTS / ZOOMING / SCROLLING

    CAPX Zoom a sprite or the entire screen with pinch touch gesture.

    C3P Z-elevation effect made with events, allowing to offset camera position.

    CAPX Camera - two examples of scrolling limited to a certain zone.

    ISOMETRIC

    CAPX Walking around buildings in isometric view.

    CAPX Z-sorting in top-down isometric view.

    MISC

    CAPX Comprehensive Undo/Redo system.

    CAPX X-ray machine effect with blend mode.

    CAPX Rotating an image in 3D (frame based)

    C3P Splashes of paint on the wall.

    CAPX Draw a bounding rectangle, or a perimeter around multiple objects.

    C3P Draw a rectangle with rounded corners.

    CAPX Stopwatch displaying minutes, seconds, milliseconds.

    CAPX Skiing or driving game - leaving double tracks, infinite scrolling background.

    C3P Driving a long truck.

    C3P Simple speeding up, slowing down effect for the wheel of fortune.

    CAPX Detect when an NWJS window loses/gets focus.

    CAPX Animation frame change with morph (fade)

    CAPX Chain demo, without using Physics.

    CAPX Changing sound volume with distance

    CAPX Simulate an ultra-low-resolution dot display.

    CAPX Draw an ellipse from its center and any point on its circumference.

    CAPX Fake 3D effect of firing a machine gun from a helicopter.

    CAPX Using Javascript to display Open File dialog, returns the file name to a callback function.

    C3P "Diamonds" transition effect when switching between layouts.

    CAPX Preventing cheating – protecting sensitive data with a hash. Requires CBHash addon.

    *** MORE COMING SOON IN COMMENTS BELOW! ***

    If you would like to support or hire me, please click here

  • COLLISIONS / OVERLAPPING

    CAPX Detecting the exact point of collision between two large objects.

    C3P Prevent from overlapping another object while dragging.

    C3P Lasers hitting obstacles. Raycasting feature of LOS behavior.

    CAPX A method of faking destructible ground with mask sprites, and using 'laser ray' to detect new terrain. C2 version without raycasting.

    CAPX Spawn objects randomly without overlapping, two versions.

    COLORS

    C3P Smooth tinting of the entire screen with selected color.

    C3P HSV color picker tool.

    TILEMAPS

    CAPX "Flooding" a dungeon tilemap, detecting rooms and walls.

    CAPX Flood fill a tilemap.

    CAPX Flooding a terrain heightmap.

    CAPX Simple 3D shadow effect for a tilemap.

    CAPX Create a destructible terrain as in Scorched Earth with a tilemap.

    QUIZ / WORD / MATH GAMES

    CAPX Word game - fill in the missing word in a sentence.

    CAPX Simple quiz game with questions and answers loaded from a text file.

    CAPX Math game - quickly type answers to math questions.

    PATHFINDING

    CAPX Pathfinding on a hex grid.

    CAPX Using an invisible tilemap as an obstacle map for pathfinding.

    CAPX Pathfinding - instantly and constantly showing path to cursor position.

    MINIMAP / ZOOMING ON MAP

    CAPX Zooming a portion of the map.

    CAPX Minimap - clicking on minimap scrolls to this position on a bigger map.

    SCROLLING LIST / MENU

    CAPX1 Scrolling a list of players, scores, images etc. Includes a version with multiple columns.

    If you would like to support or hire me, please click here