imhotep22's Recent Forum Activity

  • You can use random function for spawning, like every random(1,10) seconds, spawn platform.

    This will spawn platform every 1-10 seconds interval. You can of course increase or decrease this depending on your game.

    You can also limit them with an id, lets say you have 50 platforms, set 10 to id 1, 10 to id 2 etc, this should be an instance variable, then you will need another global variable to toggle which group to spawn in the every x second add another condition platform id == global id, then at each every x call add 1 to the global variable. And when variable gets to 5-6 where they are no platform with that id reset it back to 0. This will add you extra control.

  • system -> go to layout by name -> enter layoutname

    When you change the layout everything resets back.

  • Use reset layout action, it should reset everything back.

  • If you are using platform behavior, the wall's needs to be solid.

    Give us more info by posting a screenshot or something, I can only guess like this.

  • There was a similar tread about this which I helped solved, here is a link to that

    viewtopic.php?f=147&t=192946&p=1130941#p1130941

    Also here is a screenshot of my game, where I'm using local storage to save and load date with array saved as json

    https://postimg.org/image/enyi4lp9x/

    I hope this will help.

  • There is a reason why pixel rounding is there, to improve performance at a cost of less smother gameplay, you cant "Fix" it without making the game more performance heavy which will defeat the purpose of pixel rounding in first place.

    You want smother movement don't use pixel rounding, you can make pixel rounding look more smoother by making the screen resolution bigger then it will be less noticeable, but bigger resolution more stuff on the screen == reduced fps, so it wont really improve performance or it will by such a small amount it will be neglectable and you might as turn it off.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use minify script, there is no other way.

    Also even without its almost impossible for someone to copy your code, even if he did, he will need all the images in your game with the correct names in order to display it right, also changing the code is hard because usually its +20k lines, it will take days to understand how it works.

  • You are welcome

    Good luck with your game

  • You have to be careful where you upload the files, there is a file hierarchy that must be maintained.

    it goes like this domain_name -> htdocs -> index.html

    The starting file has to always be index.html the first folder has to be the domain name address example gametest.byethost7.com and inside it there has to be folder called htdocs.

    Also in the root directory you have to have folder called logs, if you delete any of those or rename them it wont work.

    I am not using their online manager to upload files, instead I am using filezila to directly connected to the ftp server they provide you, and I upload the files there.

    Here is a screenshot of my test server folders. You should set yours the same, with different names of course.

    https://s22.postimg.org/qtmn1p69t/Screenshot_1.jpg

  • You can also dynamically count the enemies, on start of layout add a for each loop and as action add +1 to a global variable, and you will get the total number of the monster without counting them your self

    This can also be used for monster spawning during gameplay, and the variable will be adjusted to the new monster number.

  • There is a full tutorial on json format and syntax on wc3shcool's

    https://www.w3schools.com/js/js_json_syntax.asp

imhotep22's avatar

imhotep22

Member since 18 May, 2017

None one is following imhotep22 yet!

Connect with imhotep22

Trophy Case

  • 7-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

9/44
How to earn trophies