QuestionGuy's Recent Forum Activity

  • Could you show an example? Since I am very new with some of this stuff I did not really understand the proccess even if i understood the logic, thank you

  • For example let's say I make a tiny game and I add sounds and sprites in it. When I export anyone can easily open the game's folders and take a look at the sounds and sprites, something that I don't really care about, but let's say I wanna hide these and do something so people cannot open the files and see everything. Is there any way to do it? This is about the sprites and music not the code

  • Thank you so much for everything, the maze works very fine and I can now add whatever I want in it, however I am trying to set the value of every discovered cell to 1 so if I change between 2 mazes the game will remember what was discovered or not. I tried using set xyz but it didn't seem to work based on debug.

    cdn.discordapp.com/attachments/960278860161765436/1331660326151655424/TheBetterMazetest.c3p

    everything else seems to work perfect

    also you can save arrays in locl storage right? I have done it with on item missing and on item get but for arrays I don't know how it is done

  • I finally made the player move properly,thank you for telling me about Debug. I would like to ask how I can make the player's direction value loop from 0 to 3, because I want to make it so if you pressthe down button it adds 2 and my current code would make it work weirdly

  • Alright, this time I used an array and it now has a purpose, if the array's cell value is 1 the game will know the cell was discovered before (this for when I manage to add another maze with a different Z value). I want to make the player rotate when he presses left and right, and when he presses up he will move forward, however for some reason it didnt work when in the other test it did. Also since I coded everything in a different way I cannot seem to be able to make the discovered cells visible with the player as of right now and I need some help.

    cdn.discordapp.com/attachments/960278860161765436/1331312902988369971/TheBetterMazetest.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The bug did got fixed, I am not very experienced with construct3 when it comes to arrays so forgive me

    You are telling me I can do this without using an array? I'd like to know how, since this is a very early design and I will probably redo everything.

    I will eventually add another value that determines the room, so if I change room the entire maze changes layout and gets undiscovered, if I return to the previous room the game will remember whatbwas discovered

    From the thought of this in the end I may need to use an array for this. And for such array I will make an array file now that I learned more about them

  • At the current state of my test, each cell of the array is hidden. When the player goes inside a cell, it is revealed, alongside its properties. Each cell currently has 4 important values, one for its top, bottom, left and right. Depending on the number of the value the Cell will either display a door, a wall, or nothing (there can be 1 way doors this way if lets say the first Cell was a door on its right and the second has a wall on its left). The Game properly makes the Cell visible but for some reason it fails to properly load the cell properties, like sometimes I may walk randomly and some properties (which are not correct) will spawn on blocks far away from me, or end up not spawning at all.

    I will unfortunately provide a discord link for my file

    cdn.discordapp.com/attachments/960278860161765436/1329976488862416969/maze_test.c3p

    could anyone perhaps take a look and tell me what I am doing wrong?

    (do not ask why I can move through walls because this is a very very early test)

    I am also planning to add another value that will be responsible for a different maze layout each time it changes

    Tagged:

QuestionGuy's avatar

QuestionGuy

Member since 18 Jan, 2025

Twitter
QuestionGuy has 1 followers

Trophy Case

  • RTFM Read the fabulous manual
  • Email Verified

Progress

2/44
How to earn trophies