DarthPapalo666's Forum Posts

  • I want to create a card game where you can trade some cards with others, but I'm not very good at multiplayer features. The game would be for android, can someone help me?

  • You mean zooming? Here is a simple demo:

    https://www.dropbox.com/s/p40ibb75m9g8z8j/ZoomTouch.capx?dl=0

    yes thanks!

  • I want to make a layout of my game for android able to be resized by pinching the screen like in photos, etc.

  • I wouldn't do that with pathfinding, probably something like give the monster object Bullet behaviour and then create an event 'every tick, monster set angle toward position player.x, player.y. That will make it look like the monster is following you.

    If you were to do it with pathfinding it might not look like the monster is following you as it goes to the previous player start point but it would be something like find path to player, move along path, on destination arrived, find path to player.

    And with the bullet behaviour how the monster will detect obstacles?

  • Because you're finding a new path every tick. You only need to find the path once then let the object move along the path then find a new path when it reaches its destination (in general). Try 'on the start of layout' instead of 'every tick' and you will see it move after finding the path once.

    ok, it works but how do I make the pathfinding object to move to the point all the time? like a monster trying to catch you, also in the project I am working the monster pass the walls...

  • Can someone explain to me why this is not working? this project is not my game but is happening the same that in my game project.

    Download capx:

    http://www.mediafire.com/file/aybrjbnt237vzkp/DontWork.capx

  • Here you go:

    https://www.dropbox.com/s/mvkeozz88p943 ... .capx?dl=0

    May not be the most optimized code, but it works.

    But can I ask you another favour? I think is too much so if you don't want to do itis ok, could you make also the map creation like in Spelunky, or if it's too much just explain to me how to make 16 tilemaps and design the rooms like in the video, but thanks for what you have just created. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink" />

  • Here you go:

    https://www.dropbox.com/s/mvkeozz88p943 ... .capx?dl=0

    May not be the most optimized code, but it works.

    Thanks very much!!!!!!! I will apply it to my code soon and if I finish the game I will sure give you credit.

  • One way to go about this that has worked for me in the past is to start by building a tool with which to mod your game - and work from there outwards. You can continue to grow the tool as the game develops, and have it output files which can be read at a later date. Good luck! Making tools is fun.

    This seems to be more easy for everybody to make a mod but I don't know how to make programs that interact with other ones, I really don't know anything about AJAX, etc... I hope someday I learn!

  • I have a grid of 16 rooms, that are like in a 4x4 square. I want to make a random path between them, like from one room of the top line of rooms (the entrance) to one room in the bottom line of rooms(the exit). But I want the path to not go through the same room twice. For you to understand better I leave here a video where they explain this method (is from the Spelunky game) youtu.be/Uqk5Zf0tw3o

  • There are a few ways to go about this, depending on the scope of whatever you are trying to achieve.

    A straightforward way would be to build your game engine around external files or project files loaded by AJAX. They would contain the values for moddable variables in your game. If you change the project file, then different values would get loaded.

    From there, a more advanced option would be to load sprite assets from URL, again either from project files or external files. You can have an xml document to provide a list of links to all assets that need to be loaded, and change that file if you want different assets.

    Ok looks good I will experiment with external files some days. Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's only a question, but can I make a game in construct and later create a mod for the game that anybody could install it?

  • Thanks to both of you!

  • I have a 32x32 sprite and I want to fill all the layout with that sprite but using events. All sprites aligned to a 32x32 grid.

  • Ok, thank you!