jbmoyer's Recent Forum Activity

  • Go to /tutorials/all

    Brett

  • Although I haven't used it C2 supports posting to URLs so you could have a website with a DB and store info there but that means the player needs to be online. If C2 allowed you to edit code then you could use sqllite which can be downloaded to the local to computer from you game but it dosent right now.

  • OUCH, (DUH). So I saw/see that "Set Angle" but its not clear what it does, based on what you say I understand but it doesn't respond or (DUH) does apply to me :)

    I created a Sprite with Bullet and Set Angle to No, when I hit Run it still shoots off to the right.

    Thanks

    Brett

  • I see that help tremendously. I was confused as to why the bullet was traveling in the facing direction of the gun, but it was because it was setup to spawn from the gun and therefore uses its angle. Wow, thanks.

    Brett

  • Can someone explain the Bullet Behavior? I have read this (https://www.scirra.com/manual/90/bullet) and much more, but I am confused as to why when you insert a Sprite that the Sprite has to face East. I get that bullets travel East, unless you set an image point and then rotate the sprite, but I really don't get why. It appears that whatever direction the Grab Handle is facing is the direction of the bullet, Why?

    Any help understanding the concept would be greatly appreciated. Thank you

    Brett

  • I am a moron mipey owe you apology. I was confused about how inst vars work until I found an unrelated tut. I thought the value of a var was shared across all of that type but no and that was a stupid assumption they are called inst vars. So after rework, events went from 40 to less the 10. Sorry thank you

  • I believe I saw somewhere in the documentation that you can have Dictionaries of Dictionaries, that is called a Multi-Dimensional Array. Essentially its like a database rows and columns, sounds like this is what you are looking for, but me being new to C2 not sure how to implement.

    Json and XML are very similar, just different formats, if you don't have a programmer background then it is probably for you to work with XML which is more readable.

    Brett

  • Great tips guys, thank you

    Brett

  • Ok so I found a way to do it, might be messy but it works. Not sure why I cant get my images in posts to show, any help on that would be great.

    So here is what I did to use a single set of objects but to know where the user clicked.

    Place a set of objects, then copy them, not clone. Create a Sprite, fill it with color. Place that over your objects, create one for each set of objects. I named mine Overlay1 (over the first set of objects), Overlay2 (over the second set, but note the objects are the same exact ones just copies of them not clones).

    Next in the Events, OnClick of X object, (sub event) OnMouseOver Overlay1, do X. and OnClick of X object, (sub event) OnMouseOver Overlay2, do Y. Works great I am sure its nuts and someone will tell me a better way but for now WOOT!

    Please coach me on posting photos I am sure it will help you understand what I did. Thanks

    <img src="https://www.dropbox.com/s/hjitf08re77tzek/forumhelp.png" border="0" />

    Brett

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Bummer no one has ideas on this, sucks to have to create 4 times the Objects just to enable different events.

    Brett

  • Whiteclaws, yes, no huh?

    Yes Re-usable Function is a good way to look at it, I like the idea of create a good solid Function and Do save as Behavior... anyhow

    So I don't get why you don't think it works? The behaviors are exactly this, I am just looking for an easy way to create on the fly based on a list of events.

    Think of it this way, you create a great double jump ability for a platformer and you are a platformer addict its all you build and you wanted to use that in all of your apps, right now you have to copy/paste, which would work, but what if you find a better way to do X in that or a bug, now you got to fix it in all your apps. One codebase vs N.

    You could build a behavior, surely but man it would be nice to do on the fly. Anyhow. Thanks.

    Brett

  • I assume you mean Instance Variables, but they will apply to All of that Type, so all 3 #1 object would have the same value, how would you tell Row 1, #1 from Row 3, #1?

jbmoyer's avatar

jbmoyer

Member since 7 Mar, 2013

Twitter
jbmoyer has 1 followers

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies