lamar's Forum Posts

  • >

    >

    > Try setting the bullet to the angle the turret is facing and add in your random spread

    >

    > Set bullet angle to turret facing angle+random(-20,20)

    > Turret facing angle >20

    >

    I tried setting the bullet angleofmotion to static 50 degrees. It changed nothing, the bullet still fired to its target

    Edit: I found out that if a bullet has no speed itself, it will only move in the angle the turret is shooting. So what I did was change the angle of turret by -10 to 10 degrees at the moment its shooting. it looks funny, kinda like recoil. But I like it.

    That s basically the same as adding random spread to the bullet just using the turret angle instead.

    Glad you got it figured out!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • >

    > Don't steal that name or I will hunt you down.

    >

    >

    If this game ever gets popular you will see 5 MILLION clones of it on the Playstore.

    It'll be impossible to hunt that many people down.

    True- you can't really stop people from making their own version of a game but if it gets popular I won't care as long as I make mine lol!

  • Are you using the bullet behavior for your enemies?

    That works by changing the angle of the bullet and 0 and 170 are right and left on the X axis.

  • > When you say it doesn't work what is it doing when you run that event?

    >

    > If you are using 360 degree rotations you will need to determine if bullet is at 0 degrees or subtracting 20 from 0 will not give you the right degree.

    >

    > Add bullet angle >20 and it should work.

    >

    Whatever I do, the bullet still shoots at the exact position of the origin point, every single time...

    http://imgur.com/a/WVUB6

    Try setting the bullet to the angle the turret is facing and add in your random spread

    Set bullet angle to turret facing angle+random(-20,20)

    Turret facing angle >20

  • I came up with a football derivative game that is dang fun and challenging.

    Here is a gif of the kick off:

    The opposing team enemy all look like gladiators so I am thinking "Gladiator Ball" sounds catchy!

    Don't steal that name or I will hunt you down.

    Maybe I will add maces and spears and lions and tigers and bears- oh my!

  • I've got my problems with image points too... I have several anmiations for an object and per anmiation different image points from where to spawn bullets from.. Accessing them via number works fine, but via name fails.. at least it seems to take a different image point than the one I want to access.. Everything works fine if there's only one animation though..

    Any ideas why accessing the image points via name fails when there are animations? (The animations are set BEFORE I try to access the image points)..

    It is probably a result of the speed at which the animation is being played. By the time you see the sprite attached to the image of a frame it has already moved to the next frame and so on.

    If that is the case using the Pin behavior is a better choice as it will stay where it is supposed regardless of animation.

    If you need something moving attached to an image point you will need to slow down the frame speed to see it.

  • Hello Lamar, will this be available to download as a capx at some point?

    Well, I haven't decided yet how to release it.

    I may keep it as a standalone sandbox designer you can use or provide a template with CAPX for people that want to buy my template and design their own pinball games.

  • When you say it doesn't work what is it doing when you run that event?

    If you are using 360 degree rotations you will need to determine if bullet is at 0 degrees or subtracting 20 from 0 will not give you the right degree.

    Add bullet angle >20 and it should work.

  • yeah flip image. Also, once i stop aiming and move around, it stays in that position

    You need to set the position of the turret using Every Tick.

    Every Tick: Set angle Turret to Mouse X Mouse Y

    You can look at that CAPX I linked to and see how I do it using mouse or touch.

  • You can add a random spread to the bullet or add sine to the enemy which makes it tougher to hit the target.

    I use sine for a lot of enemies as it creates a more natural AI.

  • I can't see your image?

    There are many ways to add help to a game.

    If the game is complicated I usually include a help screen and a button to that in the start up menu that takes the user to a new layout with help explained.

    You can do it using layers all in the same layout but I hate having to open and close and hide layers and it makes it easier to edit the help screen if it is in a new layout.

    If your game needs many help screens then using layers might work better.

  • I have been publishing media since before the internet so I know how to advertise and make money off my 3rd party ads.

    I have been down the road with google adsense and the pay per click is just not going to bring any significant revenue in my opinion. Most people never click the banners.

    I make much more from video views and Amazon ads than I ever made from click banners.

    I have a game nearly ready to publish that is a football derivative with quarters and a half time break.

    So what I am thinking is to have a clickable ads from my Amazon account at each quarter and a video from my channel at half time that the user will click and will open in another web page while they progress through the game.

    The amazon ads will be related to gaming and so will the video.

    Any thoughts and if you have tried other advertising in your games put it in the comments please?

  • there is a small problem ive just discovered. i set a gun to the mouse for rotation, but when turn it to the other side, it rotates. How do i fix this problem?

    You mean the image flips?

    You can set the sprite to NO in rotations and choose just left and right directions and use mirror.

    If it is a turret this is my Turret CAPX:

    https://static3.scirra.net/uploads/arti ... ttack.capx

  • Just slightly sarcastic, with a bit of irony.

    And then theres this.

    Oh OK. I do think instant gaming will replace apps and another step is a program like that where you download a bunch of games and they can be played offline and you can update online with new games when you want for a small monthly fee or with included advertising.

    Many ways to make revenue from games and it is just really being explored now!

  • Maybe they should make an offline version of the arcade too.

    I guess that was supposed to be funny?