gamekill's Forum Posts

  • Yes it does make sense, I guess the angle is based on current speed vector or something like that?

    If that is the case, maybe you could set a "ghost" angle based on an always-on zero angle fake speed vector?

    <img src="smileys/smiley2.gif" border="0" align="middle" /> <img src="smileys/smiley12.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Hi,

    I created a maze-like setup while Rings with Bullet behaviour are supposed to run around randomly.

    To handle the collisions with Walls, whenever a Ring collides with a Wall object, I ask it to set Bullet Speed to 0, then back a pixel (so it is not colliding with Wall anymore), then add a value to its current Bullet.AngleOfMotion. This added angle is a random of +90, -90, 180.

    Then I set the Bullet Speed back to normal speed.

    What I believe to be a bug is: If I leave things in the order described above, the Rings only go left and right and left and right whenever colliding with walls.

    If I invert the order of the Bullet Behaviour actions, it works properly. I mean, it works properly if, after setting Speed to 0 and snapping the Ring back a pixel further from the wall, I set the Bullet Speed to normal speed and THEN ask the Bullet Angle to be added a random angle.

    Then, the Rings correctly choose random angles and go up/down/left/right randomly when colliding with Walls.

    <img src="https://dl.dropbox.com/u/17328032/imgs/bulletorder.png" border="0" />

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

  • Pode, here are the links for both the exported project, and the CAPX:

    • https://dl.dropbox.com/u/17328032/Temp/index.html
    • https://dl.dropbox.com/u/17328032/Temp/iFrame_plus_larger_image.capx

    As I said, if I upload and run the exported project online, the image gets 100% size, no downscaling. Unfortunately I need the downscaling.. and it does behave as desired in Preview mode.

    Thank you for your very nice work!!

  • Hi Pode (or anyone else),

    I am trying to use your iFrame plugin, but can't quite make it work right. I have a couple of problems. Please help?

    1- I have a game that is sized 470x600

    2- Inside it, I created a 460x306 iFrame

    3- On the iFrame's properties I set:

    URL: saferplace.org/img/fotos01/01.jpg

    Style: game.css

    (I put the game.css file in the same folder as index.html)

    I need the iFrame to display the URL image downsized so it fits.

    I can't resize the original image manually, as I plan on having the iFrame display different sized images, some bigger than the iFrame, some smaller. The smaller ones should not upscale but remain their original size.

    When I run the game in preview mode, the example image properly downsizes. Also, smaller images behave correctly (no upscaling). But if I run the game from a web server, the image is undesirably scaled 100% original size and I get scroll bars.

    So my first problem is: how to make the big images downscale to fit (and keep aspect) when running the game online.

    The game.css I created reads:

    iframe img{width:100%; height:auto; max-width:460px; max-height:306px; margin:0 auto; text-align:center;}

    iframe {border:0; border:none; overflow:hidden;}

    But I think the iFrame is not using the CSS at all.

    So my second problem is, how to properly utilize the CSS?

    You can check the test version here:

    link to the game test version:

    dl.dropbox.com/u/17328032/CodeGame/index.html

    Any help is appreciated.

    Thank you very much

  • Thanks for the simple explanation.

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

  • nihakue ramones Ashley SOLVED!! <img src="smileys/smiley4.gif" border="0" align="middle" />

    I finally found out what my problem was (and possibly nihakue's).

    My Windows audio speakers were set as 5.1.

    I could only listen to a couple of channels through my headphones. I thought Windows would down-mix the 5.1 channels to stereo, but it won't.

    Funny thing is, I could watch youtube videos, listen to Winamp MP3s, even play some games and never noticed a problem.

    My guess is these programs downmix 5.1 to stereo themselves.

    I played my Skeletor in Space game and nihakue's example .capx and sound worked on all browsers tested: Iron, Chrome, Firefox, IE9.

    NOTE that another problem was indeed the MIME types on my server as pointed out by ramones; only the game hosted on Dropbox works properly.

    A couple of important observations though:

    • Firefox performance took a serious hit on Skeletor in Space, I get a lot of slowdowns/speedups now that audio works.
    • In IE9, game was silent for a few seconds but then audio played properly. I guess this is caused by preloading a lot of audio, as stated on the Construct 2 manual.

    Now that I finally solved a mystery, can I get a discount on a license pls?

    <img src="smileys/smiley2.gif" border="0" align="middle" /> <img src="smileys/smiley2.gif" border="0" align="middle" /> <img src="smileys/smiley17.gif" border="0" align="middle" /> <img src="smileys/smiley4.gif" border="0" align="middle" /> <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Hi all,

    Uploaded the game to Dropbox, audio still not working properly :(

    db.tt/4qEYyjrz

    <img src="smileys/smiley19.gif" border="0" align="middle" /> <img src="smileys/smiley19.gif" border="0" align="middle" /> <img src="smileys/smiley11.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley18.gif" border="0" align="middle" />

  • gamekill I'm sure your problem is got to do with mime types. Your server isn't setup for ogg files.

    No, it's something else.

    I just checked again at home, and all sound effects + background ambiance play fine on my Chrome browser. I cleared the cache and forced the entire game to re-download. Audio is perfect.

    At work earlier today I tried the same thing, Win7 also, newest Chrome also. No sound, only ambiance.

    I also asked my brother to try the game out at his workplace (he uses a Mac) and he got no audio whatsoever (I didn't ask the browser but still).

    This is puzzling..

    <img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley11.gif" border="0" align="middle" /> <img src="smileys/smiley19.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" />

  • I beat the game! Hooray. My score 83700 ^^. Not very high but still I'm proud of it. Cool game. Very original. I mean, I don't know where you get the idea of doing a skeleton as the player character but really congrats man. I love that kind of games with a great originality. Good job!

    Thank you very much, glad you enjoyed it!!

    Comments like these really mean a lot to me.

    Keep me motivated I guess!

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

  • I am using Windows 7 x64 on a PC, not Mac/Bootcamp..

    I guess the problem is not bootcamp.

    Also, I am importing .ogg and .m4a files directly to C2.

    <img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley18.gif" border="0" align="middle" /> <img src="smileys/smiley11.gif" border="0" align="middle" /> <img src="smileys/smiley11.gif" border="0" align="middle" />

  • I can confirm there's something wrong with audio.

    This is a bit messy so bear with me:

    • I was editing my game "!!Skeletor in Space!!" back home using r84.

    Sounds worked on Chrome only. Not Firefox, not IE9, not Iron (Chrome alternative). Also, when playing on Android mobide Chrome, only ONE sound comes out (the shock sound).

    • I noticed some other bugs, not sound related, so I installed a newer C2 version, r87, an re-exported and re-uploaded the game.

    Audio remained the same as with r84 above.

    • Now I am at work and upon testing the game, I noticed audio is pretty much broken for me:

    --Chrome, Iron, Firefox only play the background ambiance "music";

    --IE9 only play the laser sounds (and no ambiance)

    The sound on the example provided by Nihakue did NOT work for me. Tested with r84 and r88.

    If you all could PLEASE test my game also <font color="blue">http://www.mangione.com.br/skeletorgame</font>

    Tell me if you hear any sound (or if audio is completely ok for you).

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

  • I posted this game over at the hbgames forums, and thought I could also share it here.

    All in all, I am pretty much done with it. It was my very first Construct 2 experience, and I really learned a lot with it. I will move on to a new game very soon.

    There are still a few updates planned for the game though:

    • Additional interface graphics;
    • Different demons for each stage;
    • Some additional art.

    Hope you all like it.

    Any comments, criticism, opinions etc are very welcome!!

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • <center><font color="#0000BF"><font size="5">!!Skeletor in Space!!</font></font></center>

    The game has audio (music and sfx) but only Chrome seems to be able to play it.

    Firefox and Internet Explorer play the game, but no sound.

    <img src="http://www.mangione.com.br/upload/Skeletorv5_1.jpg" border="0">

    1 - Use [Right] and [Left] direction keys to reach and activate the laser cannons

    2 - Shoot down the pursuing demon god until it dies

    3 - The largest cannons grant you extra rockets

    4 - Rockets are limited; Skeletor can have up to 4 at a time (check his bones)

    <img src="http://www.mangione.com.br/upload/Skeletorv5_2.jpg" border="0">

    5 - Whenever Skeletor's eyes are bright, you may unleash the

    mega-magnetic rage explosion using the [Space] key!!

    <font size="4"><center>>>Play Here<<</center></font>

    You can play this version on mobiles keeping the following in mind:

    • You need a high end device (dual core or better probably)
    • The game's resolution is fixed at 900x600 so you need a high resolution screen
    • The Chrome Browser (Beta) is the fastest performing I have tried
    • Touch left or right side of the screen to move
    • Touch Skeletor for the mega-magnetic rage explosion