chrisbrobs's Recent Forum Activity

  • You could check out the Examples and tutorials list -

    http://www.scirra.com/forum/viewtopic.php?f=8&t=8169

  • > sorry you could not open the cap. did i link the wrong file? is anyone else having a problem opening the cap?

    >

    It says Background.png is missing. Sorry for not clarifying that.

    ---------------------------------------------------------------------------------------------

    I have the same error message when trying to open the cap?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "i have some enemy actors simulating 'space invader' movement. as they incrementally approach invisible barriers on either side of the screen, they are suppose to drop down in unison, and reverse course"

    Here's a very simple SPACE INVADER clone i made in Construct 99.6 (i think)

    You might be able to adapt the events to work in Construct 2 ?

    http://dl.dropbox.com/u/22173473/space%20invader%20example.rar

  • Post regarding error with monsharen's example removed.

    It runs perfectly ok. Sorry

  • Brilliant. I was wondering how something like that could be done with Construct.

  • Kill all the aliens and zombies.

    You have a limited amount of ammo.

    <img src="http://dl.dropbox.com/u/22173473/zombie.png">

    http://dl.dropbox.com/u/22173473/Zombie3D.rar

  • Round(value)

    Rounds value to its nearest whole number, eg. Round(6.9) gives 7

    ...from Construct Manual, which some good man put together

    Errm...I didn't read that page

    Anyway i managed to solve the problem by adding some markers.

    <img src="http://dl.dropbox.com/u/22173473/solved.png">

    + System: For each Green

    + puzzlecubes: puzzlecubes overlaps markers

    + puzzlecubes: Value 'numb' Equal to markers.Value('marker')

    -> puzzlecubes: Set animation frame to 10

    -> puzzlecubes: Set X to markers.X

    Thanks to everybody who posted.

  • "PixelRebirth

    + System: puzzlecubes.Value('x') Equal to round(puzzlecubes.X)

    + System: puzzlecubes.Value('y') Equal to round(puzzlecubes.y)"

    "Noga

    ...and, I think it is difficult for a player to pixel precise position those blocks, you could add a range. If a block is between i.e. 550-554, it'd snap to the right position"

    What do these expressions actually do?

  • My attempt to make a simple presentational/promotional thing with a Paralax scrolling.

    I saw a flash tutorial on the internet that had about a trillion lines of code.

    Only took a couple of events using Construct 2.

    http://dl.dropbox.com/u/22173473/c2paralax/index.html

    Left / right arrows to navigate.

  • I didnt want to start a new thread, so i will ask the question here? (it is related)

    Iv'e got the offset image thingy sorted, but now i'm struggling with the next bit -

    How do i create an event to detect when each puzzleblock is in its correct position within the puzzle.....similar to a jigsaw puzzle.

    I gave each block, 2 private variable's ( 'xpos' and ypos') and set the values of each to the required resting position....ie Square 9 should be at 552, 608 to be correctly placed.

    I tried the following-

    + System: Always (every tick)

    + System: For each puzzlecubes

    + System: puzzlecubes.Value('x') Equal to puzzlecubes.X

    + System: puzzlecubes.Value('y') Equal to puzzlecubes.y

    -> puzzlecubes: Destroy

    but it didnt work?

    Can anybody help me with this?

  • I'd use sprite, tiles are usualy used only as static images. Just click on lydia, than animator tab and in the top window (there is probably the Default animation with 9 frames) right click to add another animation - name it "Image 2" (or whatever) and add 9 frames of the new picture. After, you can add "Image 3" animation for the next picture and so on. Than you can call correct frame with "Set animation" and "Set animation frame" actions.

    Great idea! thanks for your help.

  • [quote:2g1q9ttl]This doesn't solve the problem (it still pastes to all the sprites)

    The Sprites share the same texture, so if you change the texture on one all of them change. One way you can do it is give the Sprite 16 animation frames and assign each instance a different frame. Another method is use TiledBackground objects instead of sprites. They can each have different textures but only with the load texture action, so you'll have to save the image from the canvas to a file first before loading.

    In the actual game i need the solution for, i am using a sprite with 9 animations.

    <img src="http://dl.dropbox.com/u/22173473/small%20splash.png">

    These events start when the level loads-

    + PickLevel: On fade out finished

    -> System: Create object puzzlecubes on layer 1 at (488, 272)

    -> puzzlecubes: Set 'numb' to 1

    -> System: Create object puzzlecubes on layer 1 at (240, 272)

    -> puzzlecubes: Set 'numb' to 2

    -> System: Create object puzzlecubes on layer 1 at (616, 408)

    -> puzzlecubes: Set 'numb' to 3

    -> System: Create object puzzlecubes on layer 1 at (752, 152)

    -> puzzlecubes: Set 'numb' to 4

    -> System: Create object puzzlecubes on layer 1 at (648, 152)

    -> puzzlecubes: Set 'numb' to 5

    -> System: Create object puzzlecubes on layer 1 at (328, 416)

    -> puzzlecubes: Set 'numb' to 6

    -> System: Create object puzzlecubes on layer 1 at (304, 152)

    -> puzzlecubes: Set 'numb' to 7

    -> System: Create object puzzlecubes on layer 1 at (744, 408)

    -> puzzlecubes: Set 'numb' to 8

    -> System: Create object puzzlecubes on layer 1 at (400, 152)

    -> puzzlecubes: Set 'numb' to 9

    -> System: Create object lydia on layer 1 at (60, 446)

    -> lydia: Activate Platform movement

    Everything works fine as it is, but i was looking for a way to let the player choose a picture for the puzzle or start the level with a different 'picture' every time.

    If i was to use tiledbackground objects could i still make them pushable blocks (platform behaviour) ?

chrisbrobs's avatar

chrisbrobs

Member since 10 Aug, 2010

Twitter
chrisbrobs has 1 followers

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies