Equinox80's Recent Forum Activity

  • Alright, no problem!

    Edit: Yes it does very much, you could always set the speed to 200 + the Player's speed, if moving.

  • Alright I don't know exactly what you mean, I disabled that event and the bullet moves left, toward the player.

    Do you want it to move away when the player presses right, at the right spot?

  • In most cases the sprite cursor attaches itself to the mouse so that the mouse is actually in the top-left corner of the sprite (hotspot) so try clicking the object assuming that is where the mouse is.

    If so, then change your sprites hotspot.

  • Could you share the capx?

    Otherwise,

    Variables are read by ObjectName.VariableName So I'm not quite sure what you mean.

  • For my game I made the player having a variable called isFacing, and I set that variable based on if left, right, up, or down is pressed or held.

    Then I determine which way my projectile goes based on isFacing.

    It would help to share a capx, but otherwise try to change the angle of the shot based on player isFacing.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Could be broken somewhere, you could also have a condition where it says On Click and Sprite is over object, then do the action.

  • Typically you can wrap something in int() but you are trying to set a string inside it (ComboBoxRight.X="") which makes no sense.

    Wouldnt you want ComboBoxRight.X - PlayerXCoordLastTick ?

  • I updated the capx, I am really close but still don't know how to do it, I have it so it loads based on the SpawnPoint.SpawnEnemy, right now it loads TrainingDummy1 on all spawn points.

    I tried adding another ForEach SpawnPoint overtop of the main foreach xml node however when I do that they all load TrainingDummy. The left 3 should load TrainingDummy1, and the right 3 should load TrainingDummy2.

  • Hello, I am having some troubles in the Spawnsheet of this capx:

    dl.dropbox.com/u/73299017/capx/MyORPG.capx

    I am trying to spawn an enemy using my SpawnPoint sprites in my Game Layout.

    Right now it loads the last entry in the NPCs.xml file, I want it to load the right NPC based on the "SpawnEnemy" variable on the SpawnPoint.

    So I have an entry in the NPCs.xml called Training Dummy. I want it to load the TrainingDummy sprite and then set the hp, name, and so on accordingly.

    Edit: What would be great, but doesn't work or atleast not that I know of, would be: Training Dummy < Set Name WHERE Node Name = SpawnPoint.SpawnEnemy

    Know what I mean?

    Is there a way to achieve this?

    Thanks.

  • I believe what GodSpear means is how to make it so when you click to move, the player moves only straight lines to get to the destination, as in when you click up right of the character, the player moves right, and then up, instead of moving diagonally.

    Unfortunately I haven't done this yet so I do not know :/

  • Yes Families are awesome, I just figured out how to do that too.

    For enemies you can have families and for bullets too, but for the bullet have something like a "Type" variable so that you know what kind of bullet family hits what kind of enemy family.

  • Thanks very much, I am going to need to do a massive overhaul near the end anyways since I am going to turn my game into an ORPG, want to get the basis done first.

    However I will study this very much, I know quite a few different programming languages and tools, but I've never learned arrays yet.

    Thanks alot!

Equinox80's avatar

Equinox80

Member since 16 Nov, 2010

None one is following Equinox80 yet!

Connect with Equinox80

Trophy Case

  • 14-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

16/44
How to earn trophies