dcrew's Recent Forum Activity

  • Hello, Dcrew here!

    Windows 7 Ultimate

    32-bit Operating System

    Intel(R) Celeron(R) CPU E1400 2.00 GHz

    2.00 GB RAM (Memory)

    Display: NVIDEA GeForce GT 430

    <img src="http://screensnapr.com/e/abgGb9.png" border="0" />

  • Now with added Impact:

    Click here for the Tutorial i've done

  • I've now added Impact and a few fixes:

    <img src="http://screensnapr.com/e/8UdQa3.png" border="0">

    I'll include the source file download below..

    This example shows a simple Explosion with physics now with Impact added! I simply used two variables to the explosion, the Impact size (as you see in the picture) get's set to 20 (twenty) upon it's creation, that's an average small sized Impact.

    For those who lack knowledge on what "Impact" means in this example, It's the objects it affects around the explosion and not just the ones it touches.

    In this example it doesn't show but the explosion visual has to be seperate, this "RedBlock" in this example is the Impact source for the explosion.

    Click here to Download the Source file <font color="red">(Main)</font>

    Click here to Download the Source file <font color="blue">(Mirror)</font>

  • I have completed the example, took 5 minutes to work out (I'll include a picture and file below)! :D

    RedBlock = Explosion

    BlueBlock = Boxes

    GreenBlock = Walls

    -BlueBlock on collision with RedBlock

    = BlueBlock : Apply Physics Impulse 100 toward RedBlock.X, RedBlock.Y

    <img src="http://screensnapr.com/e/GL5F3g.png" border="0">

    Click here to Download the Source File

    It makes sense that impulse is basically (move away from another object) which is an explosion, so as soon as I saw the impulsion option I knew :) Have fun blowing up some blocks Tonycrew

  • -On Collision between Explosion and Object

    = Apply force 1000 to Object in opposite direction of Explosion

    If construct 2 doesn't have "in opposite direction of" then it needs it I say. otherwise do:

    -On Collision between Explosion and Object

    = Apply force 1000 to Object in direction of Explosion.Angle/Object.Angle*360

    / = devide   * = times

    If not try:

    -On Collision between Explosion and Object

    = Apply force 1000 to Object in direction of Explosion.Angle/Object.Angle+270

    It's something along those lines of math!

    Just thought:

    -On Collision between Explosion and Object

    = Object look towards Explosion

    = Apply force 1000 to Object in direction of Object.Angle+180

    It's really similar to one of those, I'll make an example tomorrow!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's in the works

    Thanks!

  • Player overlapping tree = opacity 50

    Player not overlapping tree = opacity 100

    Yes, How is that humanly possibly difficult to understand? -.-

    Edit: Oh I realise your suggesting code, I don't know if that would work because wouldn't you need to check each tree object with a For Each?

    Edit 2: I'm a fruit!! It worked:

    <img src="http://screensnapr.com/e/xCEjeZ.png" border="0" />

  • Hello, Dcrew here! I have this:

    <img src="http://screensnapr.com/e/rYDT1i.png" border="0" />

    The code makes it so that if the player is under a tree then the tree is half visible (50 opacity).. and if not then the tree is fully visible. Now as you see in that code I use a for each loop. and wondered if there was a way that uses less memory. it's not bad (it runs fine) but I'm guessing with my code that I used if I had like 50+ tree's then it would get laggy.. Is there another ray of hope? Or will an update make a better way?

  • Hello! Dcrew here asking another question.

    I recently begun my first surreal project (Cannonball was mainly a testing ground) and it's a Top-Down Zombie Apocalypse shooter! :D

    I have just implemented the first crosshair for the game, and I wondered if there is a way I can hide the mouse, I want to hide it because now instead I have my crosshair visual!

  • Welcome to Cannonball!!

    When I discovered how fantasticly amazing the physics are in Construct 2. I was just inspired to create a little test.. but only then did it inspire me so much to make a game out of it. This is the 2nd version of it and it's been highly improved. Your in a battle in this turn-based strategy? to fight against your oponent enemy!! It's not easy.

    It's not complete yet, You can have a mess about with it if you wanted because I'm including the source file just for you (and everyone else :P)!

    <font color="magenta">Change-log:</font>

    <font color="red">0.2:</font>

    <font color="blue">-Added: Enemy AI, Simple and Choppy

    -Added: HUD (heads-up display)

    </font>

    <font color="red">0.3:</font><font color="blue">

    -Added: Free Cam (W,A,S,D and Arrow Keys, Space to disable it)

    -Added: Sounds and Music to the Game

    -Improved: AI doesn't flicker anymore, has nice smooth aiming

    -Bug fix: Camera action-chase when firing an explosive ball</font>

    Hope you have fun with this!

    Enemy War was suggested by Mehtab

    <font color="magenta">Controls:

    • Left Click: Shoot (When it's your turn)
    • Right Click: Debug Build Menu
    • Key '1': Select Normal Ball
    • Key '2': Select Explosive Ball
    • Keys 'W,A,S,D' and the Arrow keys: Free-cam movement
    • Key 'Space': Re-lock Cam (disable Free Cam)</font>

    Play the game directly in your Browser!: Play in your Browser!

    or..

    <font color="red">Download the Source-code</font>: Mediafire, <font color="blue">Mirror</font>: Uppit

  • You may want to try int(random(1,2)) which results will be either 1 or 2.

    Without the int(), your result is probably a float.

    If this is still not what you want/doesn't work as intended, can you post a capx showing the problem ?

    Also in the first line you write ("Random(1,2)"), did you write it like that in C2 too ?

    The ("") might indicate a string, which is not the correct variable type apparently and is not necessary.

    That worked like a charm, Thanks very much for that Kyatric!

  • dcrew

    Have you got any user-created plugins installed?

    Just a hunch, but I was having similar C2 bombs until I re-installed after removing all user plugins and deleting the C2 registry keys.

    I haven't had a 'random' crash yet (touch wood). Having plenty of physics related crashes, but that's a different kettle of fish :)

    Nope, I don't install custom plugs (at least not yet anyway), I'll re-install later and see what happens.

dcrew's avatar

dcrew

Member since 25 Sep, 2011

None one is following dcrew yet!

Trophy Case

  • 13-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

15/44
How to earn trophies