SoldjahBoy's Forum Posts

  • sqrt((Sprite.X-Sprite2.X)^2+(Sprite.Y-Sprite2.Y)^2)

    You forked up a bit there.

    lol oops missed a bracket hahaha... stupid laptop keyboard for the lose!

    ~Sol

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks Doppel...

    Well for starters, the formula for distance between two objects is very handy you guys:

    sqrt((Sprite.X-Sprite2.X)^2+(Sprite.Y-Sprite2.Y^2)

    Then finding the center point of that distance...

    Still not quite getting there, but getting some results... but I suck at math so I'm doing this out of pure morbid curiosity!

    ~Sol

  • If I can find out the command for SQAUREROOT in Construct, I think I might be able to get this working... tried squareroot, sqrt, square, etc etc to no avail.

    Anyone know what it is?

    ~Sol

  • Changing the collison mask from bounding box to ellipse makes it work a lot better... however I am determined to break it again, so I made "right click to drop a heavy object" in the code there, and this large ball with more mass comes crashing through the smaller box objects sending them flying all over the place quite nicely. This is fine until, again, there are lots of ojects and it crashes.

    I used the debug window and it gave me this error:

    A crash inside a plugin's non-event code has been intercepted! This may be a bug in the plugin or a problem in Construct. The application has exited.

    Plugin- Physics.csx

    Object Name- movement_3_2

    Instance ID- 0 (of 4)

    Will see if I can make it work, then make it break again.

    ~Sol

  • cap. http://www.fileshack.us/get_file.php?id ... =Mario.cap

    How would such a routine look? As I said earlier i tried doing it with loops, but it didnt really work out.

    I would try something like

    +On start of layout

    -Set alterable value (x) of Brick to brick.x

    +Player overlaps brick

    +Player is jumping

    -Set alterable value (a) of brick to 1

    +Alterable value brick (a) equals 1

    +every 3 ticks

    -Brick.x = brick.x + 1

    +Brick.x is greater than alterable value (x) of brick + 5

    -Set alterable value (a) of brick to 0

    +Alterable value brick (a) equals 0

    +every 3 ticks

    -Brick.x = brick.x - 1

    +Brick.x is less than or equal to alterable value (x) of brick

    +alterable value (a) of brick is 0

    -Set alterable value (a) of brick to 2

    -Set brick.x to alterable value (x) of brick

    Something along those lines would probably work

    ~Sol

    *EDIT*

    x...y...i always get them mixed up lol... those might all be Y's haha

  • I was just messing around after I saw the "liquid" demo... thinking to myself "That is a shite load of code to make something happen... why didn't he just use physics objects?".

    So that's what I did.

    Works great until you start to "fill" the bucket up (around 2500 objects or so should do it). Try and see what happens.... it collapses in on itself and crashes :/

    linky: http://www.fileden.com/files/2007/8/21/ ... llapse.cap

    ~Sol

  • Did ok on my laptop... got to 10fps once I hit 6500 or so grains of sand. My main PC doesn't flinch lol... at least, I got bored before it started to slow down... xD

    Cool idea... kind of reminds me of "Powder" by Dan Ball... fun game is fun.

    ~Sol

  • I don't think Construct uses multi-core (or does it?)

    My laptop gets ~200fps (starts at 800+) uncapped and cost 1/3 your "future pc" lol.

    Either that or the GPU you have matches only a fraction of the potential the CPU provides.

    The fact that it doesn't support multi core is what I'm getting at... it would perform better on a dual core since the base core speed is much faster. The thing that holds my PC back is software that doen;t use the technology to it's full potential.

    I am seriously considering "downgrading" to a dual core CPU until more software comes out that uses multi core.

    My GPU is the fastest GPU available on the market to date... and I have two of them... so there is no bottle neck there. It is the sheer difference in Ghz of my CPU. If I overclock from 2.5Ghz core to 2.8 I go from 250 fps to around 320fps... so if I go buy a 3.2Ghz extreme edition CPU, put liquid nitrogen through a liquid cooling system, and overclock is to 5.7Ghz, I will be getting somewhere around 1000fps?

    Who cares anyway... 250 fps is way faster than anyone needs it to be. It's weird because it runs at the same speed as Assassins Creed on full settings :/

    ~Sol

  • Lol, it's funny because the only thing I ever used the editor for was importing graphics and placing image points and the hotspot haha.

    ~Sol

  • Image link is broken? I'm not sure I understand exactly what your problem is with the goomba AI... they should be fairly simple to make as they just walk along until they bump into something then turn around and go the other way. I would suggest using ball movement and making invisible detectors where you want the goomba to change direction.

    +Goomba collides with Detector

    • Goomba angle = goomba angle -180�

    As far as the bricks go, I guess there are a few ways you could try. Personally I would do it with animations, because if you do it right it won't look "cheap" at all. Just make sure there are enough frames and it hould look sweet. You could also try making an invisible detector that the brick "rests" on, but doen't affect the player... though you may run into trouble if the brick object is using physics, as it may not bounce straight up and back down to it home position, thus you could end up with some very interesting bricks. O.o

    Perhaps post a .cap file or something if you are still ahving trouble with your goomba... and if I can think of a better way to make the bricks I will put something up here for ya.

    ~Sol

  • WOW that's freakin' awesome

    Thanks for uploading again deadeye, that was worth looking at... so like, Construct is 3D lol

    ~Sol

  • Broken download link is broken by the way.... anyone else save this by chance? Wouldn't mind taking a look at it.

    ~Sol

  • IRONY

    About 2 days ago, the guys that made Media Center for the XBOX (original modded versions), released a beta version of the same software but for Windows. Looks like I won't bother lol!

    ~Sol

  • It starts out uncapped on my PC at around 1000fps, but quickly drops and stabilizes at 250 fps and just sits there... weird :/

    I guess it would be partly due to having a quad core (2.5ghz) instead of a 3.2 dual core? Still fast as hell!

    ~Sol

  • Smudgy trails are awesome, David is awesome

    That's because Australian's are awesome. If we could all be awesome like David, we would all be Australian.

    *EDIT*

    Hey wait... I'M AUSTRALIAN! omg >.>

    ~Sol