Lopimp's Forum Posts

  • Ok I've managed to get the map item I was over with by using a sub event.

    But I still have an issue to set my player position to the map item from the family I am over.

    This is the last event of my capx

    lo-zone.com/labo/puzzleLo/puzzleLo3.capx

    I'd really appreciate if someone could help.

    Thx

  • Hi Everybody,

    I am Lo and I am 32.

    I am playing game since I am a kid.

    I started playing on a Spectrum, back then games where on audio tapes and when you started loading your game (by typing load "") you could play outside, play a board game, doing your homework,... before your game was loaded.

    Games were simple and very hard at the same time.

    Simple because it was rather basic with no complex rules and heavy scenarios

    Very hard because you could not save your game and always had to start from the beginning when you 'died'.

    Then my dad had laptop at work,... a Toshiba 3200. This looks way more like a big suitcase than like a real laptop. It was monochrome (orange) and had a 4 Mb of RAM and I had 9Mb harddrive to install games.

    This was a real blast compared to the Spectrum I played on before.

    Than computer got more powerfull and I kinda followed the PC evolution.

    I am not really a console player, rather a PC one. I had a gameboy and really enjoyed it, but I am more a 'keyboard/mouse' kind of player than gamepad one.

    I like a lot of different kind of games, but I think my favorites are trun based ones. I like the fact that I can take my time to play and that I don't have to rush into the game.

    Now that I am older it's even more true. I don't have as much time to play and since I've got three kids I am also more likely to be disturb while playing. So I really like games I can pause , save, stop and start back when I have time.

    I am a web developper and I dev some games during my free time.

    I made some web based games and want to start building multiplatform ones now.

    Construct2 sounds like a very good option for me. It allows me to use a tool that avoids to redo everything from scratch and reinvent the wheel everytime. It also gives me the oportunity to deploy my game on several plateform without having to learn each plateform language.

    Since my time is also limited Construct can allow me to get to a result faster.

    I followed some tutorials and start learning the tool. I bought a personal licence now to have the full power of Construct2. I now need to spend time to learn how to achive the games I'd like to release.

    I am probably gonna be a pain in the a** with all the questiosn I'll post in this forum :)

    I hope to be good enough to be able to gather all the ideas I've got in my head and make finalized games out of them.

    Thanks everybody for the help I already got and thanks for the futur help :)

    If you have any further question don't hesitate to contact me ;)

  • Basically I want to highlight a puzzle piece I am dragging an object over.

    here is my capx : lo-zone.com/labo/puzzleLo/puzzleLo2.capx

    I unhighlight all piece but I need to highlight the one I am over.

    I have the uid of the piece I need to highlight in a global variable ( the one I display on screen)

    I've got two places where I'd need to get the object based on it's uid

    Thx

  • Hi,

    I know the UID of an object and would like to use it in an action.

    How can I get this object?

    Thx

  • Try Construct 3

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

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

    I've updated my project using families and function but I am a bit stuck trying what I want to achieve.

    here is my updated capx : lo-zone.com/labo/puzzleLo/puzzleLo2.capx

    I've got 2 functions in the event and a question for both (questions are in a remark in the event tab)

    1) ????? -> How to disable 'black and white' effect for all family item and how to enable it only for the one I am over (id being the function param)

    2) ????? -> How to set position to familly item Player is over (id being the function param)

    Help would be really appreciated

    Thx

  • Hi everybody,

    I am starting to implement a drag and drop puzzle 'game'.

    This is more an experiment than a real game, but I wanted to get advice from experimented C2 users on the best practices to achieve such project.

    My goal is to start small by setting up a kid puzzle game. It would be some easy 4 pieces puzzle where you can drag and drop the pieces in their correct placeholders.

    Later on I'd like to move forward in my learning to be able to start building board games (there as well it would go from very simple to more complex stuff based on what I would have learned)

    So far I am not at the 'simple kid puzzle game' yet, I just have a capx file/project that does the following:

    1) Initiate a player in a placeholder sprite

    2) Initiate a map composed of 5 sprite having a disabled 'black and white' effect

    3) Add drag and drop on player (and position it to the touch position)

    4) Highlight the map cell I am over (by dragging the player). Only one map can be highlighted at the time)

    5) Handle the 'on drop' so the player position is either set on the map cell highlighted, either it's placed back on the initial placeholder.

    (sorry I can't post links yet)

    Demo is there : lo-zone.com/labo/puzzleLo/demo/index.html

    Capx is there : lo-zone.com/labo/puzzleLo/puzzleLo.capx

    I looks a bit 'static' to me, I was wondering if there were better way to implement such things. Maybe there are plugins that would be better to use for such 'game' maybe there is a way to 'loop' through the map definition, or a way to group map items toegether as they mainly have the same behaviour.

    here for each map item I copy pasted the events and updated to fit to map1, map2, map3, map4 or map5. maybe there is a way to have a loop that could define the whole map (especially if I start having bigger maps).

    Don't hesitate to let me know if you need further info or if you want me to clarify some points.

    Thx in advance for any help you could give me.

  • Thanks

    My lack of knowledge would be more about the setup of the 'board' itself.

    Would it be using sprites or is there some kind of grid element or other object that should be used?

  • Hello everybody,

    I am a really new user of Construct2 and I am going through some tutorials so far.

    I was looking for a tutorial or a capx example of a puzzle with drag and drop behaviour.

    Basically I want to know how to implement something that would work like a 4 piece kid puzzle.

    We would have 4 piece that can be dragged and dropped and a shape where we could drop the piece to make the puzzle.

    When being close to the correct position the piece would be automatically places at the correct position.

    Is that something that could be done with the basic version of the soft (I am currently practicing with the free version and will go for the licensed when I'll have better use of the tool).

    Thx a lot

  • Great !

    thanks for the really quick answer :)

  • Hi everybody,

    I am a new member and I'll start using Construct2 with the free edition to learn and practice.

    I'll move to one of the license when I'll be used to the tool.

    I had a question regarding the licenses, are they limited in time or is it a oneshot fee?

    Thx in advance for your answers.