kekeke456's Recent Forum Activity

  • I don't have an inventory system yet.

    The final items would be best as objects with instance variables describing the modifiers and name.

    Suppose I would make the prefixes and suffixes also as objects with modifiers and name as instance variables. How do I create a random object from a list of possible outcomes?

  • I want to be able to drop "Kings Sword of Haste" or "Godly Plate of the Whale"

    Prefix and suffix that means different modifiers.

    How would you go about and do that? Where do I store all the info?

    I am using construct 2 but i hope the answer will be applicable for me as well.

  • It worked, thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I want to have my player fire invisible bullets, but in slightly modified direction than his "default bullet angle".

    However, nothing works!

    Bullet Behavior, set new angle after creation: new angle is not applied after bullet creation.

    Custom Movement Behavior, set angle to player angle, set speed to 900: object is shot only straight left or right, not at the actual angle.

    Custom Movement Behavior, set angle to player 8direction.MovingAngle, set speed to 900: object is shot only straight left or right, not at the actual angle.

    Something is wrong. This should be simple stuff, but im out of options.

    Any advise?

  • 1. I create a 'tiled background' object, fill it with green color.

    2. Place the object in game window.

    3. Launch the game.

    Expected Outcome: Everything is green.

    Actual Outcome: Only original object is green.

    Do I miss any step?

  • Thank you dop2000!

  • Right...

    any other workarounds?

    the interface for multiple animations in one sprite is quite hard-worked.

    Could I use numbers as names for animation and change animation via math formula with angle as input?

  • http://coach-energizers-44416.bitballoon.com/

    Controls

    move with WASD

    aim with mouse, throw bombs with right click

    restart on space when dead

    5 different weapon combos (press 1,2,3,4,5)

    number 5 also requires left click

  • Thanks!

    Thats an upgrade, to use the animation frames instead of changing animations

    I guess the frames can be the result of a formula, mapping every degree to a frame number

  • Hi!

    In my previous top down games, the character looks at the crosshair and the image is rotated accordingly

    Now i want to have a view with slight angle (imagine starcraft view), so i need to change character picture depending on what direction the character is looking, not only rotate the character sprite

    Brute force solution would be to define single picture sprite animations for each rotation and go

    If angle is blabla, set animation blabla

    one condition for each picture

    Is there a more convenient way to do this?

  • Say I have three object types.

    Player, weapon, bullet.

    Then I want to have a variable in player for the currently used weapon, and a variable in weapon for the bullet type it uses.

    example

    player.weapon = lasergun

    lasergun.bullet = laserbullet

    if left click

    player spawn player.weapon.bullet

    How should i program these kinds of situations as simple as possible?

  • I have a top-down game.. I want enemies to group like in starcraft, not overlapping each other.

    To achieve that, I make the enemies solid and make them use 8-directions movement to have them be effected by solid.

    I move enemies forward using "Move forward" action.

    It works super well, except when it get's crowded.. then the squeezed enemies "teleport" to the edges of the group.

    Anyone have experience with overcoming the teleporting glitch in this kind of setup?

    Any tips or ideas are welcome

kekeke456's avatar

kekeke456

Member since 27 Jun, 2015

None one is following kekeke456 yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies