Muurtegel's Recent Forum Activity

  • Sorry for the interlude, my laptop died (2 years old with a 1 year warranty, grr).

    Wait what? Where do you live? In Europe we have a European law that says that you have warranty for as long as you might expect the product to last. (Laptops are supposed to last at least 3 years I think.)

    No matter what the vendor or the manufacturer say.

    p.s.: Awesome to see more development on C2!

  • Wow thank you both very much. I'm going to look into both examples to see which one suits my needs best. I understand how the first example works now, it was a bit too difficult for me to read the code you posted. But after seeing the .cap it's a lot more clear!

  • Well I currently have no idea what I'm doing (I'm just doing what JayJay suggests and haven't figured out how it works yet). So if you have a better suggestion, please do tell me.

  • Sorry for taking so long to get this straight, I'm still doing this wrong.

    Maybe you can help me by taking a look at the .cap: https://rapidshare.com/files/460290723/rotating.cap

    Thanks a lot for the help so far!

  • Wow thanks, that looks a bit too complicated for me to come up with at the moment. I'm having a bit of a hard time to understand it.

    Am I right that the WeaponSlot is the base object and the Mech is the object that you want to rotate with the WeaponSlot? And did your create a variable with the XOffset and the YOffset of the WeaponSlot?

  • Thank you for your reply! It worked, but not as I expected it to work. What I'm trying to do is this:

    I have 3 sprites and want to rotate them in a way that their relative position and angle towards each other stays the same. Something like this:

    <img src="http://img857.imageshack.us/img857/7663/examplevy.jpg">

    Is it possible to create some kind of parent to do this?

  • Hello everyone,

    Is it possible to set the pivot point (or hot spot) of a sprite to a certain value?

    I'd like to have multiple objects rotate around the same axis.

    Thanks in advance,

    Maarten

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you created collision masks?

  • So do I, but I posted it anyways. There would be no point in making posters / boxes for a product that's called 'Project Cafe'. There's no way in hell that Nintendo will use that name for their new console.

    It could be a working title, but it wouldn't make sense to make boxes / posters for that as well..

  • I really don't get this, but Sprite[Platform].VectorX works now.. I've tried the exact same thing before (by typing it and by using the browser) and it only returned 0 or - then. Now it returns actual numbers..

    Thanks everyone for the help. I guess I should've restarted Construct to try again or something..

    edit: I know what the problem was. My text box wasn't big enough for the numbers to show.. I could either see a 0 or a - because the text box ended at that point.. Rookie mistake i'm sorry.

  • Where do you destroy the block? You might want to add 1 to the Bloques variable in the same event that you destroy the block object.

Muurtegel's avatar

Muurtegel

Member since 14 Feb, 2011

None one is following Muurtegel yet!

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies