VictoryX's Forum Posts

  • Some progress made. Below you can find the updated game link, link to the current commented .CAPX, and links to sources I cobbled together to make this happen. The last major feature I need to tackle is only rendering what is on screen with like a 10-20 tile buffer off screen so I can really make this a HUGE world without hitting performance issues. My current tiles are not seamless due to my lack of bravado within Photoshop, but hopefully I can make or find better ones in the future, probably find.

    UPDATES

    Smaller Map, Larger Tiles for testing purposes.

    Performance fixes

    Placing new blocks updates neighbor blocks

    Controls Changed

    CONTROLS

    WSAD- Move Camera

    Middle Mouse - Zoom

    Left Click/Hold - Place Block

    Right Click/Hold - Remove Block

    GAME

    http://hairdresser-bird-28631.bitballoon.com/

    .CAPX

    https://drive.google.com/open?id=0BzhJb ... k85dE9QU0U

    SOURCES

    https://www.scirra.com/tutorials/746/au ... ise-method

    http://www.saltgames.com/article/awareTiles/

    https://forums.tigsource.com/index.php?topic=14166.0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So this has been a long standing work in progress for me. Not just procedurally generating an underground cave system like Terraria, but also setting the correct blocks. So it knows if it's a corner piece, middle piece, side piece, disconnect completely, etc. Right now it is based on a giant array filled with numbers. So it starts off with the entire array being filled in with a single number. Then through iteration it cuts out cave systems. After that it checks each block to figure out what it is, top left corner, top middle, top right corner, etc and gives it a number value in the array. Then of course we generate a tilemap based off the numbers. For me it takes about 20 seconds to load in the game. The entire map is 8400x2400, the player is 16x24 and the blocks are 8x8. I'm still working on finding a way to only render what is on screen to help with performance. Anyways without further adieu.

    CONTROLS

    ARROW KEY MOVES

    MOUSE WHEEL ZOOM IN/OUT

    LEFT CLICK PLACE BLOCK

    RIGHT CLICK REMOVE BLOCK

    LINK

    http://florist-contraband-18753.bitballoon.com/

  • Oh wow that is really really interesting! I don't think I would have come up with this way of doing it. Thank you very much this works very well for my problem.

  • Not sure how incorporating a timer into the code I have would rectify the situation. Could you please elaborate?

  • So I'm trying to create a typewriter effect for strings that I pass into my game. This has been done before, although I'm trying to work it into a function. So that way I can call the function whenever I want passing the string I want displayed as a Function.Parameter. I have it working to some extent, I can achieve the effect when the source text is stored in a global variable. I cannot pull from the function.param(0) for some reason. I tried storing the parameter into a local variable and it didn't work with that either. Any thoughts on this? .Capx link below.

    Two Sprite Fonts one pulling from the Function.Param(0) the other a global variable. Spacebar triggers the function in this instance.

    https://dl.dropboxusercontent.com/u/729 ... riter.capx

  • You do not have permission to view this post

  • I know for 3D modeling of Game characters, texturing, animation you can see live "rendered" updates like that. Although I am unaware of anything that does it with 2D.

  • Agreed with Plinkie, give the Touch Object a Boolean Instance Variable.

  • You'd have to get a server where you store user data. This may also be possible in local storage as well, although I'm not sure.

  • You are asking a huge question here. Construct does come with objects that can connect to Facebook. However connecting to Facebook incorporates not only settings within Construct, but also on Facebook itself. I know very little to nothing on the Google login. If your game is hosted on your server. Bascially you AJAX save information through a .php file to save data onto a MYSQL database. The passwords would have to be encrypted. Through the .PHP or even better maybe within Construct? I'm guessing it's better to encrypt on the .PHP side. This is why now a days if a website has good security, they can never retrieve your password only reset it. Decent servers don't store user data without encryption. So a company never actually knows your password. I would suggest narrowing down your question. Provide a .capx.

  • Construct has speech recognition and text to speech features. I have not used them, but I don't see why you couldn't use the two to accomplish what you need.

    1 Speech Recognition, save the "Input" as a var string.

    2 Text to talk use the speech, using the var string.

  • post a .capx if you can, you may have a collision issue.

  • Add Keyboard input

    Added Platform or 8 Bit Direction behavior on the object you want the move,

    In the event sheet

    On W is down Simulate pressing Up or Jump

    On S is down Simulate pressing Down

    On A is down Simulate pressing Left

    On D is down Simulate pressing Right

  • Tapping jump will short jump, holding jump will high jump.