Ashley's Recent Forum Activity

  • Currently the camera is stuck looking down at the layout. It might be possible to support a camera that can be located at any position and looking at any position in Construct 2, however, even if that is possible, we'll still be focusing on Construct as a 2D game creator.

  • You do not have permission to view this post

  • at runtime MyInt stays unique to each instance of the plugin

    pMyPointer is like one variable shared by all instances of the plugin

    No it's not! If you wanted it shared, you'd declare it static, but since it's not, a copy of the pointer is held by every object instance. They could all point to the same object if your code does that - but each instance is holding a separate pointer which can be uniquely changed.

  • That would be an awful lot easier if we finished the ability to copy/paste layouts.

  • There's the 'pType' member of CRunObject which is a CRunObjType* pointer to the object's type. Have a browse through the SDK headers some time, you'll probably find a lot of useful stuff in there.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1. They're deprecated and no longer used. Ignore them.

    2. I'm not sure I understand the question. If you use pRuntime->CreateObject(specific_object_type, 1, pLayout), and specific_object_type is a valid CRunObjType*, that will work.

  • Hmm, I don't think that sound system is quite big enough. Make it a bit bigger maybe?

  • Sin and cos are rife through game design even if you don't use them in events(they're peppered through almost all the behaviors and rendering engine). It can only do you good to learn a little of the maths behind game design!

  • Known problem with layer rotations: objects can sometimes disappear when you rotate layers, but this is fixed in the next build.

  • OK, the format of saved meshes in the Sprite object is:

    A 4-byte ASCII string saying 'HSEM' ('MESH' backwards because I'm lazy about endian) to identify the MESH file

    int32: version integer (always 1 right now, reserved for future use)

    int32: horizontal number of points

    int32: vertical number of points

    Then, repeated for each point (number of times = horizontal points x vertical points), in column order:

    float32: x offset (as a fraction of the original image width)

    float32: y offset (as a fraction of the original image height)

    float32: z elevation

    float32: u offset

    float32: v offset

    float32 x 4: a, r, g, b for point opacity and filter, from 0.0 to 1.0.

  • It won't work like you expect if you use the 'control is down' condition. As you say it will keep adding 1 as long as it held, which will definitely mess it up, so you definitely want to use the 'on control pressed' condition.

    Maybe if you post a .cap people can investigate what you've done more easily.

  • Builds marked 'unstable' are generally for testing only.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,442,436 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x109
    Coach One of your tutorials has over 1,000 readers
  • x63
    Educator One of your tutorials has over 10,000 readers
  • x3
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x36
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs