X offset and Y offset

0 favourites
  • 3 posts
From the Asset Store
Dissolve
$1.05 USD
58% off
Dissolve effect with parameters for edge color, offset and size.
  • Hey, so currently I'm trying to make a bejeweld-like game to learn about drag and drop and all that good stuff. The thing is I'm fairly new to construct and my programming knowledge is little to none in terms of "vocabulary" I guess, and searching thourgh the forums I found a guy that shared a .capx file which contained a very simple and basic drag and drop code, but instead of setX and setY (x and y from the jewel) there was something about xoffset and yoffset and tried searching for it but couldn't find anything ... anyaway, I was hoping someone could explain this to me and share some other useful codes and such? Like anything helps, even some website link with the most useful basic concepts of programming or whatever.

    For your time, thanks.

    EDIT1: Ok this is kinda embarassing, it was an instance variable ... Still, I'd like some explanation on what it is since I spent my time writing this... :p

  • An offset is just a position relative to something else. It could be some thing as simple as your left eye is two inches to the left of your right eye. It's use in that capx would depend on what the capx is doing specifically.

    Usually to do drag n drop in C2 you just use the dragdrop behavior unless you have a good reason not to.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • An offset is just a position relative to something else. It could be some thing as simple as your left eye is two inches to the left of your right eye. It's use in that capx would depend on what the capx is doing specifically.

    Usually to do drag n drop in C2 you just use the dragdrop behavior unless you have a good reason not to.

    Yeah, found out about that after I had already finished. And thanks for the answer, very useful.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)