Zetar's Recent Forum Activity

  • Solved - OK, so I figured out that my array is building the Axis depth at the Max, but because I am using a random amount of stars up to that MAX, The rest of the Array position fill with 0. Therefore, 0,0 on the layout spawns multiple stars...

    If anyone cares, I just filled the array with -100 to start with, then delete any stars at -100x-100...

  • OK, I am Revising my Request...   I fixed the Sector Re-draw with the error I found. But now, WHY IS 0,0 always spawning lots of Stars? - Reloaded CAPX in First post - please re-download...

  • OK, I figured out that for some reason, when I delete the primary instance 0 of the canvas at Startup, when I create new ones it starts with 1, 2, 3 ect... SO Array 0,0,0 is Blank...

    Hmmm....

  • I have a neat Mini star map in the upper left of the window that is created by filling the entire layout with stars, copying them to a canvas, and Downsizing that canvas. This becomes a "sector" on the Mini-map. The sector Number IS the Canvas IID. The original stars are deleted, and the process begins again until all sectors are drawn.

    While this process is running, I am filling an array:

    • X0= Star.x, X1= Star.y
    • Y axis position accounts for the individual star (0 is first star, 1 is second ect.)
    • Z is the Sector number - which SHOULD correlate with the Canvas IID of the mini-map

    <font color="blue">Does that make sense? Anyways, when you click on the mini-map I want the Layout to re-draw the stars relating to the array Z axis matching the Canvas IID. But it looks like the stars dont match the sector in the mini map???? AND 0,0 of the Layout ALWAYS has a bunch of stars on it... WHY!!!! </font>

    Can anyone Help? Here is the Link http://www.box.com/s/a1c37e12480b56fa21bc

  • I have node points that correspond with node buttons you can click. I am trying to get the player sprite to travel to each point when clicked, but only to the nodes that are joined by rail. (The moving I have down, it is the picking I am having issues with.)

    I stored a text variable "AvailableNodes" in Each Node button. Example "0,2,3". When you click on the Node Button I want to search the text var with TokenAt and see if the node the player is on is in the list. Then send the player to that node that was clicked.

    One question I have is: When storing a text value in an object variable, when using TokenAt, do I add "" in the variable or not?

    I may be doing something wrong with TokenAt... I really need another pair of eyes to look at this and help...   PLEASE?

    http://www.box.com/s/40b40aefb4e67827a571

  • I would go with Danijerry's idea. I am running into difficulty wity the distance idea. It would only be a tiny bit less complicated...   Someone needs to make a plugin for this :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • @Zetar Your method makes a lot of sense to me but I think there's a problem. System Compare Distance (Self.x,Self.y,ShipSprite.x, ShipSprite.y)<300 That line gives me an error saying you cannot refer to "self" in a system expression. The other problem is in line: ->Set variable Self.AttackUID = ShipSprite.UID I don't know how to set Self.Variable. I only know how to set a variable value for a specifically named sprite.

    You are right. I did not have it up and running at the time. It hates Self in expressions... I will look at your CAPX and see if I can figure anything out if someone else doesn't come through for you :)

  • Thanks for looking into this Tom. I have been AFK for about an hour, but before I left, I tried clearing my cash, and it did nothing. But I just re-booted and now it looks fine. I will let you know if it acts up again.

  • Well.... I guess not.   I will study that one.

  • Here is an example using the sine cycle to mirror the image.

    http://www.box.com/s/d1a3ac1ceb360e665cd2

    LOL - Kyatric - Yours flips in the middle, not at the ends <img src="smileys/smiley36.gif" border="0" align="middle">

  • Has anyone created a physics grappling hook that works.   I cant get mine to work. Can someone look at this and help me.

    http://www.box.com/s/b5b8d7e5614ab83d980f

    When I add the revolution joint I get a Physics error...   Does it give you an error? (Enable the resolution joint on the Suction cup sprite and disable the pin behavior.)

  • I am getting a "Devotee Badge" Every time I perform any action on this forum. Also Some of my favorie links are directing me to a blank page with: Error executing child request for /error.aspx.

    Any Ideas what happened?

Zetar's avatar

Zetar

Member since 19 Dec, 2009

None one is following Zetar yet!

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies