radbuggy's Forum Posts

  • 5 posts
  • The Evaluator Badge says says to "leave some feedback on a page."

    What is feedback? There are some parts I still don't get (but I haven't been here very long either). At least I found this partof the website.

    I think it is funto have all these badges!

  • how about set your background to Self.X -5 to scroll left?

    then spawn random object on imagepoints inside your background

    Sounds great. I'll do that. Thanks so much for answering!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Yeah, I just want to make sure everything lines up properly. I was thinking I should find a way to determine which 32x32 square my character is standing in, that way I can specify where to place the "changed" block. I might find myself with 32x32 background tiles, and change them as the player uses said tile.

    >

    > I'm open to other options, too. I'm not wanting to get too complicated, as I like clean code.

    >

    Lucky its fairly easy to work with tilemap, here are some tips to get you started

    First thing is to keep track of tiles, since C2 doesn't show the tiles for you, adding a functionality that will always show this based on the mouse position is very helpful (The purple square is the mouse position). And in a lot of cases when working with tilemaps I personally find it a lot easier to work with the tile index rather than X,Y coordinates as it can be difficult to see what tile you are working with. So storing the converted mouse X,Y position in a variable can be useful, I would normally store these in a Game_controller sprite rather than as global variables, but either way will work. Storing these values can make it easier if you need to select tiles, as in the second event I use these variable to set the target tile for the green sprite or if you imagine that you want to check if there is a certain thing on a given tile.

    In the last event I store the units position in two variables.

    Tile_X and Tile_Y and you just have to make sure that these are always kept up to date and then you can use these whenever you need to check if a unit might be overlapping something on a tile etc.

    And I would add such conversion to all objects in your game, so you can just do a Object1.Tile_X = Object2.Tile_X and so on.

    nimos100 Thanks for the help. I keep looking for My Little Golden Book of Tilemaps and this fills in one page. Yay!

  • I'm new here and I'm wading through all the docs. Honest!

    But I'm stuped on how to make a background that will scroll, but where I can change the images randomly as they scroll. I'm looking to make an endless runner so I want the background to scroll by but show different buildings that I'll insert randomly. The point is to make it look like it is an "endless" runner even though there will be repeating. But I wnat to have the pictures change randomly so it doesn't look like it is repeatig.

    I apologise if this is somewhere and I've missed it. I need to put a newbee image in my sig but I don't have one.

  • Hello, My name is radbuggy. I like dune buggies and I restored an old one and someone said it was a rad buggy and the name stuck. I like Lord of the Rings and there's some character in it named Radbug.

    I've always wanted to make a game and I heard Construct makes that easier, so I'm here to learn. Please excuse my dumb questions. I'm sure I'll have lots of them.

    Thanks for listening!

  • 5 posts