Your C2 tests

From the Asset Store
A cool way for kids to write and practice English Alphabets
  • i improved the ship movement, and added in collisions with the asteroids. but it is still not rotating the way i want it to.

    it is turning, instead of rotating.

    http://dl.dropbox.com/u/6707683/construct.../asteroids_test.capx

    is this something that just has not been added to c2 yet, or am i just using a wrong method?

    Tested this on my PC. This is not about the rotation but the Destroy of the ship.

    When an asteroid touches the ship there is an "explosion" and the main ship disappears. However if you wait a while and another asteroid collides with the same location of the ship, although it is not visible you still get an "explosion". This is a bug in your logic.

    Also on the iPad, for this simple example with the game just loaded in the browser I get 14 fps which means very jerky movement. On my pc (Firefox 4) I get 30 fps. So I'm guessing that with more objects and more things to do it would be much slower. So either the engine is sucking up a lot of juice or your game logic needs tuning.

    I know the iPad is not as powerful as my pc but 14 fps with nothing much going on onscreen is way too slow to be even half usable.

  • thanks dapeeper for testing my demo,

    in regards to the 'destroy' action, i actually did that on purpose. there are things that i test to figure out functionality, and things i test to find bugs. so i created the destroy sequence to make sure that it worked, but i purposely did not remove the ship so i could continue moving it around to test for things without having to restart the app.

    i'm basically just trying to replicate the functionality of older retro games to wrap my head around the process of working with c2. so i'm not actually making finished products...just yet.

    as for the fps, ashley explained that safari for ipad/iphone is not optimized for html5 performance...thus, the suckage.

  • This is a screenshot of the events that control the ship:

    http://dl.dropbox.com/u/22173473/movement.png

    thanks a ton chrisbrobs,

    i checked out the example you showed and i could not figure out the math involved with moving the ship, and i don't like copy-pasting stuff i don't understand just to get something to work, but when i saw that it was using two 'versions' of the ship... ...i literally heard the star trek:WOK quote, 'his thinking appears to be - one dimensional.' in my head...lol.

    http://dl.dropbox.com/u/6707683/construct.../asteroids%20html5/index.html

    i used two sticky notes, as the two ships, moving them around on my desk at work, and writing variable values on them as i changed their positions, to figure out the events needed. i must have looked crazy.

    now it's working exactly the way i wanted it to. it rotates while remaining in the same linear direction it is moving, and if you thrust and rotate at the same time, it turns.

    it felt good to figure this out. it's just a newb demo. but it felt good all the same. thanks for your help. maybe i'll get good enough to help others someday.

  • Glad you sorted it. .I cant take the credit though, and I still dont know who posted the original example?

  • SpaceBlaster2

    Improved version of last game.(ish)

    Changes:

    640 x 480 window (was 800x600)

    More rockets.

    Rocket platforms now created at random heights.

    Player can use 'Space bar' or 'Middle mouse' to drop bombs.

    Disabled sounds (too many blasts going on)

    Runs 10 fps faster than the last version.

    http://dl.dropbox.com/u/22173473/Spaceblast2/index.html

    Thanks Dapeeper

  • SpaceBlaster2

    Improved version of last game.(ish)

    Changes:

    640 x 480 window (was 800x600)

    More rockets.

    Rocket platforms now created at random heights.

    Player can use 'Space bar' or 'Middle mouse' to drop bombs.

    Disabled sounds (too many blasts going on)

    Runs 10 fps faster than the last version.

    And the link to the game is.....?

  • http://sebnoi.free.fr/kayupla/superether/web

    my test. 3.2version

    but I failed on the sounds use... are the files must be imported or else? how^^?

    control :

    arrows and mouse

    left clic : fire

  • Try Construct 3

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

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

    Here's an extremely simple test created in C2 32.2, just me messing about with the 8 direction behaviour.

    http://dl.dropbox.com/u/6815126/Maze%20Demo/index.html

    Comments are always welcome.

    Definitely keeping an eye on development, cant wait for more features.

    E

  • I decided to put together this somewhat quirky platform engine. It's incredibly basic, but it works pretty well so far. It's really quirky and it could've been optimized a lot better (now it's just a lot of patchwork, especially with the seperate detectors). Then again, it does work pretty well and uses For loops to position the player object. This engine was made in a very MMF'y fashion.

    Jump with Z, move with arrow keys.

    Try online

    Download .capx

  • Joshiii-Kun, that's cool, but did you see the new platform behavior in release 35?

  • Ashley: Yeah, I read about it

  • A simple 'Snake' type game made with C2 v38.2

    Use the arrow keys to control the snake.

    http://dl.dropbox.com/u/22173473/basic%20snake/index.html

  • SkyDiver Classic clone:

    http://dl.dropbox.com/u/31947433/index.html

    Still need to add levels, change obstacles, blood splats, and make sprites

  • nothing special, just a lander clone...

    http://dl.dropbox.com/u/6707683/construct.../hilander%20htlm5/index.html

    left/right/up arrows for thrust.

    you get three lives each try. which are indicated by changing color for each collision; yellow your first collision and red your second. after that, you start over.

    let me know if anyone thinks this might be worth a tutorial. obviously for beginners...like me.

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)