Hamrath's Forum Posts

  • 14 posts
  • Thanks, I'll try to make each layout not too big and hope that it'll help. :)

  • : No, it's one big layout. But I probably got it. There exist a "on screen" command, I didn't find before.

  • Hi,

    currently I'm writing a top down shooter you can see here in a demonstration:

    Demo

    (Use [X] to fire and [C] to use switches to open doors, arrow keys to move)

    The room change is described here, if you wonder. ;)

    What I would like to do now is, that I disable all objects outside of my current room/view and enable them when I enter the room. Vice versa I would like to disable them again, if I leave the room.

    Anyone got a hint how to do this? Might be in the forum, but I just can't find the right keywords.

    Thanks in advance,

    Oliver

  • Never mind. I missed some calculations. :-/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I'm building a Infinite Jump like game. You have to jump up a tower. It'll be an improved version of my game Minimal Jump, which you can play here.

    Each floor you have jump on is based on 2 platforms (called platform1 and platform2) with a gap of 160 pixels. I want to set x of a platform, which exits to a side 160 pixels from the other platform, depending on the direction the platform is moving.

    Currently I do the following:

    platform2 has an instance variable called partner_uid, which is set to the UID of the firstly created platform1. It looks like this:

    Local number cur_uid = 0
    System: Create object platform1 at (xpos, ViewportTop("GameLayer")
    System: set cur_uid to platform1.UID
    System: Create object platform2 at (xpos+160, ViewportTop("GameLayer")
    Platform2: Set partner_uid to cur_uid
    

    Now if platform1 vanishs to the right I'll want to set its position to platform2.x-960 (size of the platforms is 800 + 160 for the gap), so it can reenter from the left. The following is my code for this event:

    Platform1: X > 1200
      System: Pick Platform2  where Platform2.partner_uid = Platform1.UID
        Action Platform1: Set X to Platform2.X-960
    

    I repeat this for X < -400 and vice versa for Platform2

    Unfortunaly this doesn't work, the Platform just disappears and doesn't reenter.

    Does anyone have a solution for this? Any help is appreciated.

    Kindest regards,

    Oliver

    (Edit) PS: Oh, just if you wonder, why this works in Minimal Jump: I have a fixed layout height there (with a very small window) and could use the wrap behaviour. This doesn't work, if the floors are randomly generated.

  • Uhm, sorry. Didn't give enough information. I meant on Scirra Arcade. ;)

  • Is there a way to reset the highscore for my game?

  • Yeah, I know, that the penalty is disturbing, but it needed a challenge and I thought, this was one. ;) During the development I also had a version, where even a hit to the ceiling during a jump, would give you this penalty. But I removed it.

    I will improve it in the next version (but it might not get removed).

    Of course the graphics are terrible. But this will definetly change. :) There will be be backgrounds, I really want to make it look like a beautiful C64 or Amiga-Game. That would fit the gameplay the most, I think.

  • Hi,

    during Ludum Dare 26 - the theme was 'minimalism' - I built Minimal Jump. You can play it at Scirra Arcade, or - if you'd like to vote - on Ludum Dare. The Arcade version has minimal (pun intended) bugfixes and a highscore list, though.

    I'm already working on a bigger version, which will include several game modes and HD graphics (read: 8bit style).

    Hope you like it. :)

    Kindest regards,

    Oliver

  • It does if you double click the object in the layout, but not in the objects tab. I agree it would be nice if double clicking it in the objects tab would open the animation editor.

    Ha, of course I was missing to tell this. I want it in the objects tab, too. :)

  • It does? No, I just want to open the image editor. And it doesn't do that here. :-( I'm using R117 now, but I never saw this happen in any version yet.

  • What I'm really missing in the IDE is a default command on doubleclick. Eg. if I double click on a sprite object the image editor opens.

    I'd love that. :)

  • Hi,

    I'd like to have one ways in a grid based movement. Based on the Pacman tutorial I tried this, which almost works:

    Example (Release 101)

    Moving in the arrow direction works fine and the player even stops, if the direction is not correct. But after this the controls go wacky. What am I missing?

    Thanks,

    Oliver

  • Depends. Is the IRS watching?

    No. <img src="smileys/smiley22.gif" border="0" align="middle" />

  • 14 posts