Zetar's Forum Posts

  • You are a life Saver, Yann. - That answered a lot of my questions! I think I can tweak what you did here to do exactly what I want.   YOU ROCK! <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was thinking a (somewhat difficult) way would be to create one Sprite to represent all objects (that will need to be selected together), but put different "objects images" as different animation in the same sprite. When objects are placed at start of level or whatever, you tell each placed sprite what animation (or object) it is, then set each variable for that object depending on what it is.

    Then later when you need to select the multiple objects, you select the single sprite (which is acting like a family here) with extra condition to see which animation (object) it is...

    Of course if the animations are the core of the sprite, you may loose something here :)

    Does that make sense, or would that work?   I used that type of method on Classic one time and it worked great...

  • Been away a while, but good to be back! Bought Construct 2, now that it finally has enough functions to develop a descent game. <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" />

    Anyways, it is a bit different so to the point:

    I want to use the Simulate car function to turn right and left a random amount. I am developing a AI movement system for a hovercraft type vehicle. (TOP DOWN) It scoots along in one direction for x seconds, then turns random angle degrees in a random direction, altering it's direction.

    I had some success with Physics by applying impulse force at angles, but it was taking to many events to make accurate turns. Then I thought I would try the car function. But I can not get it to turn.

    Here is what I was thinking (which does not work)

    set speed 30

    set vehicle_variable to random(3)

    If vehicle_variable = 0 [simulate turn right]

    If vehicle_variable = 1 [simulate turn left]

    I've added extra switches to see if time is the issue, but cant seem to get it to work...   

    Can someone direct me to a post that explains how this works, or maybe example CAP. You all have always come through for me with Classic... :>

    Zetar

  • Sniff....   I hope soon. :)

  • Does Construct 2 have Families like Classic? If so, How do I use it?

  • Hey Everyone. I have been away for a while, but I would like to get back to work on this sometime soon. Family comes first, you know...

  • Ok, I have added a few more upgrades. There is now a holding box to the lower right where you can place subjects. They reproduce now! Also, you can add extra Moss by right clicking on the petri dish or the box. I changed the formula for Moss growth so it does not take up so much resources. It still crashes every now and again though... I am still working on a Menu, and I will (hopefully) be sprucing up the creature graphics. I also increased the age and randomized it a bit so they live longer. If they are reproducing to fast, just drag a few over the edge of the dish and drop them... They die that way...

    http://www.box.net/shared/g30jg75jmi

    Zetar

  • You could have them spawn circular grayscale textures from just behind them as they move, with a lens or magnify shader on them, and increase the size slightly before fading out. If you add a background under them, it should give a neat water like appearance.

    Neat idea. I need to work out a lot more issues before I really get into the "cool look" phase, but I will keep that in mind.

    Zetar

  • Why is my system reporting Smitfraud-C when I run that exe? Says that is is spyware. Is that a false positive? Any one else getting that?

    I would hate to get a virus by watching a program about bacteria. LOL

    Thats strange... I did a scan of the file and found nothing. If someone else could scan the zip file and let me know if there is a virus, I would appreciate it... If so, I need to get a new virus protection software!!!!!!

    Those pesky Flablets are at it again!!!!!!!

    Zetar

  • Aw Cool! you can do that? OK, now you will have to explain how... Is it an effect? Actually i wanted to add something like that to the right so you can place a Flablet on an examination table that is "up close" and experiment/examine the species. That may take a little more studying on my part before I can achieve it though.

    Zetar

  • Thanks again Deadeye and Daiz! If you want to see what i am working on, I posted a link in the Creations Folder : http://www.scirra.com/forum/viewtopic.php?f=4&t=5612&p=44795#p44795

    Zetar

  • Ok, First thanks to all that helped me out! This is my first descent working thingy... It's not really a game, but rather an experiment in AI that I am working on. Now that it is somewhat working, I thought i would show it off and get some comments (and errors that I can correct...)

    http://www.box.net/shared/bkaeaz1x1s

    Thanks for any input..

    Zater

  • I think the family idea will be the answer here! Thanks to both of you.

    On a side note, deadeye, just for my clarification, when you said aSprite and bSprite, did you think I had the same sprite as two seperate objects? If so, that was my mistake of clarification. I have a single sprite object placed randomly on the screen, multiple times using a Loop proceedure.

    Unfortunantly I don't understand the SOL, or indexed sprites very well, so I will want to do a little research on that tonight. Thanks again guys!

    Zetar

  • That might work. i will test it tomorrow night. Thanks!

  • Howdy! I am putting together a little AI experiment to show the kids. The program creates multiple moving copies of a single sprite, (Indexed). Each sprite has its own variables. What I need help with is what code to use to grab a variable from the opposing sprite on a collision. Example:

    Sprite on Collision with Sprite ->Get the sprite(other sprite you collided with) private variable ('Life').

    I assume I would need to call the index number of the collided sprite then evaluate that in an expression like

    sprite(a global variable that was called).value('Life')[/code:1k7ga6tb].  But I don't know how to pull that global value from the opposing sprite on the collision.   
    
    PLEASE HELP!  And thanks.   P.S.  LOVE THIS Program TO PIECES!
     
    
    Zetar