greenleafvt's Forum Posts

  • So I wanted to set a global variable that was the previous layout. Saved as a string. Set the var as a string=current.layout name. However, as an action, I can't change the string value to the current layout name.

    Doing it as a numerical value works, but strings don't work. I'm sure there is a reason for this, but I'm not sure why.

    It's ok, I can map all the levels to numbers, but I struggled with not being able to say layout = "Town"

    Also go to previous layout isn't workable in this situation. Otherwise, I would use that.

    I guess the question is why strings can be global vars but can't be changed from the event sheets...

  • Ok. "" on

    go to to layout "var"

    No quotes on global var

    and that seems to work now. Just not going to the right spot, but at least it's working. Thanks all.

  • Yes... I think it's something wrong with the syntax. Or I'm going to try not using LAYOUT next

  • So I was trying to make a menu system on a new layout. I though I could make a global var that could store the previous layout name therefore let you hit a "back to game" button to let you go back to your previous layout from the menu...

    Doesn't seem to work though.

  • Slaps Forehead. Jeez. Thanks!

  • I tried counting the moves and moving the NPC that number but that didn't have the desired effect.

    I wanted the Player and the NPC need to sync. Move for move. I kind of got it working in the attached CAP3 but it fails on longer moves. 1-1 works fine ¯\_(ツ)_/¯

    1drv.ms/u/c/69e7b1f136a84038/ERNliSxpU6pAjCzf0u_BVW8BL8uJ9Qu52kMsXzGWx6KHTA

  • Sorry for posting again but I asked this a while back but never really got any feedback.

    I am stuck on how to make a turn based game. Seams simple right?

    Basics are player can move tile to tile but the enemies/NPCs get a move for each tile the player moves.

    Player choses to move 5 tiles. Everything else moves 5 tiles correspondently. Tit for tat I guess you would say.

    When combat starts it limits movement to one tile so the player takes a turn and the enemies or NPCs get one move.

    When combat ends you can move multi tile but all the NPCs do as well.

    Examples would be: Crown Trick, Stone Shard ect...

    Seems so simple! But I need some help. Keep barking up the wrong tree.

    Thanks

    Tagged:

  • Question about updating a live game: If I publish a game lets say to Steam, how do I update it and not destroy the buyers/users progress? I have never launched anything but I'm guessing I'll need to fix lots of bug when I do some day. If the game is an RPG style I don't want to anger all the users by destroying all their progress in the game.

    How do you launch a update for an existing game using on online services? Has anyone got advise on this?

    Tagged:

  • You do not have permission to view this post

  • Sorry to turn this into a discussion vs an answer type tread. I also am not a lawyer lol.

    I agree with igortyhon I use AI every day to help with jewelry design. Very helpful but the end product is always edited digitally and even more so in the fabrication phase that I feel no bond to copyright.

    I think its going to get real interesting with AI when you consider parody or fair use. Most people think that you should have the artistic freedom to mock some source intellectual property. In a way it seems like freedom of speech (USA). However its always better to ask. 100% if it is for profit. Companies owning the "AI" will be unapproachable in this respect I fear vs being able to talk to a person.

    Example:

    "Space Balls" George Lucas gave the ok but with terms for no merch etc.

    I think use AI as a tool in the creative process but make it your own in the end.

  • Hmmm, yeah that is a good idea. I'll give it a shot.

  • So I have a layout with many global layers representing different pages of a menu. This works fine but just turning layers on and off is kind of dull. I though it would be cool to add a little movement when layers are activated. Like have the layer sweep in 20 pixels. I didn't see an easy way to do this except putting everything into a family and trying to do this for each layer... Problem is many things are shared between the menu layers. The close button for example. Is their an easier wat to do this? Like I wish I could lerp(layer1.x,20,20) or apply a tween to a whole layer.

    Any ideas would be great.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ha! Ok thanks. It makes sense that you could pick the X & Y of two different points (0) & (1) etc.

  • So I have been using distance(object1.x,object1.y,obect2.x,object2.y) but is their a way to use image points?

    Example if I made image points

    1 2

    0

    4 3

    Or do I have to add in math to each distance(object1.x-25,object1.y-25,object2.x,object2.y) to use image point 1

    Tagged:

  • Thanks,

    Got your idea working. With all 8 directions in an isometric layout, The system "Is within angle" worked for me. Trying to make it work with families now as Its going to be a pain to do all N,NE,E SE,S etc. for 20 or more object sprites.