SplashHunt's Recent Forum Activity

  • In fact, it's running pretty well.

    But I still got the bug with invisible background + sprites.

    2-Ah friend of mine was trying to play my game. Several friends got it working, but this one got a bug. There is one layer, where the tiled background + some sprites dissapears. But other sprites on the same layer still there.

    More people who tried to play it, reported me that.

    I Don't think their browser is not updated. One of them was using Firefox 8. Don't think its graphic cards issue either.

    This is the game:

    goo.gl/Rq13L

  • It does.

    But the code has to be in "Start of layout" to work of course.

    As it is screenshoted, you go to a next layer, and keep executing actions on the previous layer/layout.

    The logic of execution is wrong, you should organize your code differently. Good luck ^^

    Yeah, now this works:

    <img src="http://img546.imageshack.us/img546/6632/duvida.png" border="0">

  • oh damn, the crazy guy with levels in layers :D

    hmmm I think in event 12 all the thing you do on layers after the 'Go to layout "Game"&Game_Layout' won't be taken into account after you change layout.

    But I can't help more, you're capx isn't easy to understand

    They are taken, because I hear the Sound.

  • 1) A layout is set to work with an event sheet. You can see in the layout properties the Event sheet property that allow you to chose the event sheet that will be executed for the current layout.

    If both layouts have the same event sheet, then you have set their event sheet property to use the same event sheet.

    Check it out because creating a layout without event sheet set this property to (none) by default.

    2) He has to update its browser and graphic card drivers.

    3 a) How to customize the exported html5 index.html

    3 b) Set unbounded scrolling to yes in the layout properties if you are using the fullscreen modes. Else it may indeed be a matter of HTML.

    Thx.

    And both layouts were already set to share the same event sheet.

    The problem is that, Going to one layout, and trying to manipulate it's layers doesn't happen.

  • Center thing was answered over other topic.

    Just select the "Unbounded scrolling".

    Here's the part of the code.

    When I trigger the end sprite. I still can see the old layout for some seconds, then it turn all to black screen.

    I Know this goes to the Layout Game 2. All of Game 2 layers are invisible,but it shouldn't,as I set Layer Level(1) to be Visible.

    <img src="http://img31.imageshack.us/img31/9102/duvidab.png" border="0" />

  • Yep, you just asked what I've asked 5 min ago..

    It's probably something with the index.html

    allign:center;

    but not sure, someone will come up with the right answer.

    EDIT:Yeah, I was wrong =(

  • Okay, I'm having a problem with 2 layouts with the same code sheet;

    I use the action "Go to Layout Game 2" and then I set "Layer 1 set Visible"

    But the Layer 1 set visible seems to only work for the past Layout.

    1-Is there a way to remove a layout to obey a code sheet. Isn't "Go to Layout" supposed to do the job?

    2-Ah friend of mine was trying to play my game. Several friends got it working, but this one got a bug. There is one layer, where the tiled background + some sprites dissapears. But other sprites on the same layout still there.

    3-This one I got some clues. I want to add some logo (like scirra logo) on bottom of my game screen. How do I do that ? HTML index editing?

    And also wanted to set my layout screen to start on center of the page, and not on top-left corner. I guess those are HTML issues.

    Thx for the answer over the other topic. Forum is highly active.

  • Hi, I liked your game ^^

    Would like to know how did you added that logos below your game screen..

    and also, how to did you made the screen be on the middle of my browser,and not on top-left.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • With or Without audio. This is really bad performance.

    I did a search and found a way to show FPS.

    Every Tick -> GlobalFPS +1

    Every 1Sec -> Show GlobalFPS and Set GlobalFPS to 0.

    On PC, I got something around 60~70. Fine and Smooth.

    iPhone , when there is just a plain background 40 FPS.

    Moving the ball it drops to 10~15 FPS.

    As the ball was creating an trail object always, I removed that to see if it was causing the drop. But it got only increment of 1~3 FPS. Getting final 15~18 FPS when moving ball.

    I am running iOS 5 , but this performance is not good.

    Resolution is 640x960.1 Tiled Background covering the screen + 5 Sprites + 1 Ball Sprite (Moving to the finger position every time). And I get this 15~18FPS. Maybe I'm doing something wrong.. If this is how it works, then Construct 2 isn't a good option for iPhone or Android development.

    On the other hand it works very well over standard PC browsers.

    Maybe I focus this for facebook apps, don't know.

  • SplashHunt

    About the "OMG I bought c2 for nothing" I don't think you wasted your money unless game creation was just a temporary interest. Well... I'm biaised 'cause I use C2 all the time, but well at least you bought it for 32$... It will go up soon

    Also yeah next time you do something crazy like mass layer or something like that. Go check the manual/tuts and if you find nothing, ask... 'cause you know, in programming being lazy is a quality.

    Well, I Don't know if I'm going to use this often, or just use it for this game :(

    If HTML5 get bigger, more supported and faster, then it won't be a waste of money. And this is a web app,so its harder to sell or make popular among iOS and Android.

    Invisible objects have a very small performance impact. Usually it's ignorable and you won't see any difference in FPS if you destroy invisible objects or not. However if you have *loads* of invisible objects - 99 complete levels worth of objects is loads! - this could cause a severe slowdown. It might be what's causing Firefox to choke. I would highly recommend you break everything out in to layouts, that's what they're for.

    For now I'm with 10 layers.

    Now Gonna test some audio.

  • I Will try this later.. I'm like 24 hours on this haha.

    But I'm afraid that I won't like this Sine Movement. I want a constant speed,just like the bullet.

    I gonna test my game and rest a little haha

    goo.gl/Rq13L

  • Nevermind it.

    Im doing with layers.

    Is the 'bounce off' of the bullet behavior act like this, placed 2 regions, and the bullet is between those. It's bouncing like a ping pong, but it's not straight. After some bounces the bullet angle is incrementing.. weird or just the Bounce Off actual behavior?

SplashHunt's avatar

SplashHunt

Member since 1 Jan, 2012

None one is following SplashHunt yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies