Justin1967's Forum Posts

  • Thanks blackhornet. I'll take a look at it.

  • What would the event look like? For "Wave" 0 to 32 then read out the X and then the 2nd event to read out the Y?

  • I have an enemy attack pattern in an array. It has 2 dimensions holding the X and Y values. The enemy's X and Y positions have to be read in from the array. Do I have to use a loop? I've tried a "For Each" loop but I'm kinda lost. Grrr..

    Help please. Thanks.

  • Gyruss is a shoot 'em up game from the 80's.

    Got the basics laid out in C2.

    1. HUD

    2. Starfield

    3. Player

    HUD is arcade style. Stars are spawned from the mid point play screen and moved along a random angle (between 0 - 360 degrees). Player (ship) rotates in a circular motion around the mid point screen. The player can shoot lasers that move to the mid point screen and scale down to give depth.

    I haven't figured out how to make the attack wave patterns for the enemies. So, any suggestions would be very helpful and appreciated.

    I won't be publishing this game if or when I finish it. Gyruss is a trade mark game

    I've attached a screen shot and hope to hear from you with all your comments, suggestions etc.

    Long live Construct2

    [attachment=0:3aisnxck][/attachment:3aisnxck]

  • Hey Colludium,

    Awesome! Great graphics.

    Can you explain how you made the cool attack waves?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Were you able to finish the game? I'm just starting on it. I loved this game in the 80's

  • Thanks for all your help guys. Is there btw a tutorial on 'enemy attack waves' ? Not one the moves on a straight path, but a more complex one like curves, circles etc. What's the best approach?

    Couldn't find anything on the forum or on Google.

  • Thanks eli0s! I figured out how to make the sprite move faster a long the path, but how do I make it follow an invisible path. I can't have a black path on top of my backgound scene

  • Thanks. I'll take a look at the .capx file.

    I got mine working with a formula. I forgot to increment the degrees after every press of the key! Duh

  • I want my sprite to follow the (path) circumference of a circle.

    When I press the left arrow key the sprite should move left following the path and when I press the right arrow key the sprite should move back right.

    I've tried using the formula

    X1 = X + radius * cos(angle)

    Y1 = Y + radius * sin(angle)

    But I'm not sure if I'm heading in the right direction

    I've uploaded an example. The blue sprite should follow along the black path.

    I hope someone can help me out on this one.

  • I think it has to do with speed. The ball's bullet speed was 500 and I guess since the walls are also 32x32 the ball will shoot right through. I lowered the ball's bullet speed to 350 and it seems to be reacting alright. Thanks all

  • I have a ball (32x32 px) bouncing off walls. Sometimes the ball will shoot through the wall eventhough the walls and ball are solids. Is this a bug or do I have a setting not right?

    Regards,

    Justin

  • Thanks GeometriX. It took me a while to figure it out, but I got things working

  • Thanks guys. It was loaded in the project Didn't know you could only use it once.

  • Has the Function Object been removed in r195?

    Regards,

    Justin