angryscientist's Recent Forum Activity

  • I am trying to make a gun system in my game, that is extremely mod friendly. To do this, I plan to access a text file via the AJAX plugin, and then have the text in the file effect the properties of the gun.

    For example you could put "BulletBounceFalse,CanAimTrue,ShootPhysicsObjFalse" Ect. (I Hope that made since)

    I have already made a functioning prototype, that works pretty well. But I have ran into a problem that I cannot find a solution for. Pretty much I would like you to be able to put (for example) "Damage10,Accuracy5,Kick7" Ect. I simply cannot find anyway to convert text into a number. I do not know if this is even possible in C2, and I would appreciate any help the anyone could provide.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • lamar I will try that

  • I am making a top down shooter, with controls/aiming similar to Hotline Miami. And I would like some of the weapons to shake the cross-hair, (The mouse) to simulate recoil. I was wondering if it is possible to set the mouse's position in construct 2.

  • The most realistic way is using boids algorithm. There is an example for that in forum. Alternatively simple hack would do the trick:

    I love the example CAPX you showed. It is exactly what I was looking for! Except for one problem. The code you provided does not work with instances of the same object. If you know a way to make this work with instances of the same object, I would be thrilled!

    PS I tried using Boids flocking algorithm. But it did not produce the type of behavior that I wanted.

    PPS Sorry for the response being so late.

  • I am encountering the same problem in my game! I have not yet found a solution but I m actively trying to solve it. I will tell you if I find a solution.

  • Have you tried using containers?

    Containers, work well, for one set of objects. While "Object Variable" Would work for many objects.

  • I have been using construct 2 for a long time now. And there is one feature, that I have wanted my entire C2 career. And that feature is, "Object Variables". What I mean by "Object Variables" is, a new type of variable, that could store an object in data. If you don't understand, let me give an example. You create a object called "Weapon". You than create a Object Variable called "Holder". You than spawn, "Weapon" and set "Holder", to a object called "Player". You than say, Every Tick, set "Weapon" Position, to "Holder". This is obvious, a crude example, and I am sure if this feature was added, the community could do so much more! This might already be possible in C2. If this is already possible, I would love somebody to tell me.

  • How so? It sounds to me like you just need 1 trace object and a for loop. Or is there a reason you need to keep information about a trace after you apply damage and effects?

    While I could create one weapon with a loop, I plan on having multiple enemy's, all also using hit-scan weapons. I believe this could not be done with a loop.

  • Will you try to add support for multiple arrays? I know you can do it by create multiple Trace objects. But I am trying to create hit-scan weapons, and with guns like a shotgun, to is very inconvenient to create up to 10 different Trace objects.

  • Would a plugin suffice ?

    Yes! A Plugin would work great.

  • I have been using C2 for a quite a while, and I have even bought a licence. But one big missing feature is Ray-Casting!

    I know there are a couple people who have already made a Ray-Cast with the existing features of Construct 2, most notably Sqiddster. But there are a few problems with using this method. For one thing, is is very difficult to create multiple Ray-Casts, running at the same time. For another, when I did manage to create multiple working Ray-Casts, the frame rate dropped.

    While a wide variety of ray-cast features would be nice, there are a few essential features that any Ray-Casting system would need. First off all you would need to be able to set the length of the Ray-Cast. You would also need to be able to access the length of the Ray-Cast, when it hit, as well as the hit position. It would also be nice to be able to visualize the Ray-Cast.

    I would be amazingly happy to read the patch notes, and find out that a Ray-Cast feature was added to Construct 2! and I am sure many of you feel the same.

    | |

    If you have any questions, or comments please leave them V below! V

    ( Sqiddster's post ---> https://www.scirra.com/tutorials/902/li ... raycasting)

  • You do not have permission to view this post

angryscientist's avatar

angryscientist

Member since 13 Apr, 2016

None one is following angryscientist yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies