Spider_hip's Recent Forum Activity

  • LogicDistance , to get logic distance between two chess by uid.

    wow , I think this one comes for me. Thank you very much ^^

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you rexrainbow.. You're great :)

    If we sum all of your plugins and behaviours, It almost equals to strategy maker in c2 :) It's like dream in a dream :)

  • First of all thank you for this great plugins and behavior.

    I created 2 chess objects one for player, and one as a npc.(chess,chess2)

    I used board and squareTX. Board is bigger then window size.

    Player directs chess object with arrow keys. When there isn't chess2 object. Camera automove with chess object. ( I don't know where autocamera came from. Maybe It's part of board plugin)

    If I create chess2 as npc. And give it wander. If chess(player) moves 1 square global turn is turn++. And if global npc value is lesser then global turn. Wander. (I just trid to create turn based movement system as I can)

    But then camera wants to move also with chess2 object as it wander. So If both objects gets far away from each other, camera centers them and looses both objects. I just want camera to follow chess object. :) Where do I do wrong or what do I have to do. Thank you very much.

    oh by the way. Is there a way with your plugins to easily "if player is 3 squares near to npc object then pick that npc object and do smth with it (make chase player).

    I bet even if I can do it with your plugin I can't count if npc see player then follow it. If there is solid object between them, then you can't see player, so don't try to follow him :D

  • Hi all. I need help about arrays. I couldn't still learn to use arrays :'(.

    When it becomes just little 2 dimensional array, my brain shuts down. And if I choose to go with private variables, then I can't pick proper ones and can't use proper functions. Sorry for long introduction.

    Here is my project;

    I have an sprite to use as an excel like cell. I want to spread it to window(maybe later to a proper area). So I used

    for x from 0 to round(displaywidth/sprite.width)

    for y from 0 to round(displayheight/sprite.height)

    add 1 to sprite.count

    So all of the sprites has different private value than each other.(but I think this is not enough to handle) After that things get complicated.

    Here is my problem;

    If I drag a text onto one of sprites, I equal sprite's width to text's witdh. But if text's witdh greater then sprite's witdh so it overlaps with other sprite, just the opposite, if it's lower then there becomes a space.

    Here is my question;

    For example on (3,4) cell, if I put a wider text. How can I push cells which overlaps to right(4,4)(5,4)(6,4) And if last cell on that row goes out of screen, than it should go down row's head. And of course other cells should do same basics.

    And also what if I delete one of the cells. So I guess (3,4) should be (2,4) and the rest same. What if I want to add between one of them. :(

    I think this is very hard to do with private variables. I should learn to use 2d arrays. Then with some maybe mathematical functions this can be done. But as I mentioned before I can't think that wide.

    I had seen an example before which was a complete space shooter game with enemy ai done with only arrays and functions. Omg it was amazing. But I couldn't learn to use arrays even with those examples.

    Sorry for long post. I can send my cap :) but there is nothing more then tons of private variables and a sprite and text. :)

  • Hi, I know It has been a year, but there may be people who also interested like me about this topic.

    First of all I'd like to thank you for this nice example. Than I'd like to ask a question. What if I have 32*32 but also double sized 64*64 (tree)objects. What should I do than ? Do I have to split my sprite to 4 pieces ? But what if another player wants to use this map editor. Is there anyway , if I choose 64*64 object from editor, turn tiles to 64*64 , than if I choose 32 again, turn back to 32 tiles.. If I did it on map editor as theory. What should I do on save and load ?

    Thank you

  • On multiple objects to specify to construct which one you want to work on, you should use that object on event.

    Like, if you use smth "on collision between something and snowman => jump snowman" than your action works. But if you use like " on collision between a and b => jump c" than construct jumps your all c objects. Beceause there is nothing to specify any c object.

  • I really liked this effects. But it's really weird. If I set values on startup they effects as normal. But if I change the values on runtime(for day/night cycle) than It effects very odd. I add 100 to value, but it effects like 10000. Or I set rgb highlights to 100. Than I decrease it 25 4 times. if it becomes 75 than it effects like 750. when it becomes 50 it effects like 750 again, when it becomes 0 than it effects like 0.

    I couldn't resolve reason of this oddness.

  • Hi ^^ Your tutorial really helps me a lot. I can understand this plugin with 2 examples better.

    It's weird that if you close the application with x than "end of application" function doesn't work.

    And it's important to know exact number of players, if you work with team like game or if you try to create layout owner to first player. If creator of room(first layout logger) leaves the room, others should automaticaly disconnect by that layout.

    I'm trying to make a fake master server - sub server(create room) like system. :)

    I have an idea, what if we untick application caption property. And draw a same looking caption with sprite ^^. So x button can be our own button which handles same with esc button ^^.

    If it works, than only problem left would be task manager logouts :)

    By the way, do you have any idea about how to make a real master server-sub server system with cc ? Is it possible with some way ?

  • Thank you again :) I'm really sorry to disturb you again and again. But now I found weird problem again :)

    If I create a new app, It works. But I tried netshooter's cap(online plugin demo). When I click to host button, It gives error and app ends. If I change edit plugin with old one, then when I click to host, It works.

    Why could it be like that ?

  • Thank you verymuch lucid you're great.. It works great..

    But I relaised a weird bug. If an editbox doesn't focus on than you can't see it's border, and can't select it. Even if you click it's invicible area.

    For example with this plugin, if you try to use scidave's network plugin, you can't see and select ip and name editboxes. If you focus on one of them than other one becomes unfocused ^^.

    Thank you for all your work.

  • I'm sorry to wake up an old topic ^^ But I really need (buddy40)'s file.. I have problem with that editbox focux off. :( I handle that problem with minimize application and maximize again. But now I need to work on fullscreen so I can't use that method. Thank you..

  • Wow will there be a new version for CC? Omg thats super duper news..

Spider_hip's avatar

Spider_hip

Member since 15 May, 2011

None one is following Spider_hip yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies