tarik00555's Recent Forum Activity

  • Well, I made a terrain generator in C++(I already posted this in a similiar topic). It is a very simple method. I used pseudo cursor(an integer) which is placed half way down the screen and adds a random number to it(like from 5 to 16), then it places the 'block', increases the number by 1, places another block and so on until it reaches the bottom of the screen. Then we add one to the X coordinate and repeats the same process again, and again until it reaches the far right of the screen.

    I tried this in Construct 2 and the first thing I got was just a black screen, then I made it so that, instead of placing the blocks all over the screen, it repeats the actions 80 times and I get 18 FPS. So I want to know why is this so CPU-intensive.

    Also, in my other game I place clouds that are bigger sprites, apply movement and collision detection and the game runs just fine(60 FPS) and it loads in 0.0001 seconds, too.

    Links:

    For the C++ terrain generator:

    Subscribe to Construct videos now

    The other game(Invasion of planet Zork): http://dl.dropboxusercontent.com/u/2670 ... index.html

    EDIT: I can't believe I forgot to put the example!

    Here it is:

    https://dl.dropboxusercontent.com/u/267 ... cency.capx

  • First of all here's a link to my game:

    Game

    If you attack the jugs most of the time more than one number will appear even if you only attack one jug. The first thing I thought was the problem is that I made a invisible hitbox for the sword that will appear twice: once when the sword is diagonal, and then again when it is horizontal(as soon as I wrote this I made it so the first hit box destroys before the second one appears and it didn't work).

    Here's the project download so you can look at the events yourself:

    Capx Download

    Thanks for all the help in advance. <img src="smileys/smiley1.gif" border="0" align="middle">

    EDIT: The controls for the game are WASD and K for attacking!

    EDIT 2: SOLVED! I made the event check for collisions every 0.1 seconds instead of it automaticaly checking the event every tick.

  • bumping once again...

  • No, you don't. Just click the link at the top. Here's a pic:

    <img src="http://i42.tinypic.com/2q83fiu.png" border="0" />

  • bump

  • Just like stated above, what would be the simplest way to generate sideview terrain(one like terraria). I know of this example:

    scirra.com/forum/better-random-terrain-via-midpoint-displacement_topic46616.html

    But when I increased the amount of blocks to 6000 the FPS was 25 and that is not good. Here's a picture of my terrain generator in C++. It can generate grass, dirt, stone and caves(more like holes).

    <img src="http://i42.tinypic.com/ei9iye.png" border="0" />

    When I tried implementing this method in Construct it didn't work...

    Please note that I did not implement the whole system, but what I have implemented should've worked just like the C++ example without caves.

    http://speedy.sh/MrevA/ConstructTest.capx

    And here's the C++ source if you want it:

    http://speedy.sh/KuTrW/Random-Generator.rar

    Thanks in advance.

    <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I got some inspiration from the old Atari 2600 games, and decided to create a little platformer. It has really responsive controls. If you download the game it is different from the video. Many things hgave been improved, fixed, and the level is a little bit bigger.

    youtube.com/watch

    speedy.sh/R2YmU/Retro-Shooter.rar

  • bump

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • EDIT: I was using platform+ behavior, and when I deleted it I get this:

    <img src="http://i41.tinypic.com/70urmf.png" border="0" />

  • <center><img src="http://i44.tinypic.com/2ntk6cy.png" border="0" /></center>

    I get this error, I've tried putting the Background2.png where it says that I need to go to AppData, Local and then Temp!

    It now gives the cap1H..., but it's always a different cap. The last one it gave me was cap20... but that one didn't even exist!

    Help me, please....

  • I have exported my game, but when I run the "index" I get this:

    <img src="http://i42.tinypic.com/bikxnd.png" border="0" />

    Nothing changes...

  • Thank you mrPeanut for your help too

tarik00555's avatar

tarik00555

Member since 10 Jun, 2012

None one is following tarik00555 yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies