Glitchster's Forum Posts

  • Well, that worked like a charm and I did it.

    I've been searching all day and trying to find a way to select or pick a specific sprite without interacting with it with a touch or anything. Like, I want to indirectly affect a tile. I want a character to chop down a tree that is close to him. Do I have to click on the tree and say cut down, then he'll walk over and cut it down, or can I just put him somewhere and say cut down the nearest trees in reach?

    Is the loop not an array or can I mark each sprite block with an instance variable id? Construct 2 is so different than what I'm used to - scripting.

    It's so frustrating when I can't figure out something that I think would be so easy.

    I uploaded the newest game file to my server.

  • OK, I did it, but I can't click one to change it.

    Is it not

    on touched (sprite) - system create object (a different sprite) at (first sprite.X, first sprite.Y)

    • first sprite - destroy

    ?

    I know it works, but it doesn't work with sprites created with the loop.

    my game file is here: www -dot- cazualnoob -dot- com/web-games/

  • I don't use skype anymore, I use discord. Unfortunately, I can't send you a pm, I'm too new.

  • Probably biting off more than I can chew for my second game, but there might be an easier way to do this than to create 900 sprites that are clickable and changeable.

    I have a 29x31 grid I want to be able to click each square and change it to a different object. It will be like a tower defense game.

    My fears:

    ... to do 900 sprite objects all by hand

    ... do it in an un-optimized manner where the game won't run properly

    ... run into a dead end and have to start from scratch.

    Any helpful suggestions, words of wisdom, or places to start would be greatly appreciated.

  • Awesome guys, thanks for the help.

  • Well, I'm at a loss.

    For anyone wanting to help (or to check it out): www dot cazualnoob dot com /web-games

    I'm having a hard time telling construct who's hp to hit.

    I had the game working perfectly before I added bad guy hit points (each bad guy would take one hit to destroy, now I want 3 hits). At that time the player hp worked perfectly - sometimes it doesn't now.

    Only the first bad guy has hp that is pinned - which leads me to believe my instance id's are not being successful.

    I've been messing with it for so long, I'm going backwards.

    I don't know when construct is selecting the target object (in javascript it would be "this"). Expressions are not my strong suit, but I can't find where in construct I can manipulate the code with expressions I want. Just having a hard time figuring construct out.

    Thanks in advance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Awesome, thanks. I think that put me on the right track.

  • So, I'm kind of new. I'm creating multiple instances of bad guys who spawn in at random locations and I'm pinning their hp bars to them.

    Their hp amount are instance variables. I'm just having a hard time figuring out how to id them and connect them to their prospective hp bars (that are pinned to them as they move).

    I'm currently making id's (+1) for each created in the bad guy's instance variable. However, I don't think that is going to work. I need to use the UID, are those system controls only in the full version or is this impossible to do in construct 2?

    A hint would be great, as I would prefer to figure it out myself, but if there is already a tutorial (that I can't find out there) that would be just as good.

  • Yes, all the stuff I make runs fine.

    I can only assume there is something you're using in your example that is not in the demo version.

  • Its a fresh install of the newest possible beta. Are there any libraries I need to add?

  • I already tried that.

    It doesn't work in Chrome or IE.

  • " Unable to launch browser 'NW.js' for preview. "

    I can see how you made it, but I can't make it run.

  • Sorry in advance for being a noob.

    How do I make a timer bar that starts over automatically?

    Similar to FFVI: I'm just having a hard time getting pointed in the right direction and I'm only looking for hints so I'm not wasting a lot of my time.

    Am I supposed to be using simple "sprites" or the "progress bar"?

    Would I use the "Timer" behavior?

    And how does the "8 direction 1" example not have anything on the event sheet?