0plus1's Recent Forum Activity

  • No because randomly putting a random angle won't fix the issue becuase since the position is also random it may not end in the right angle.. I need the hostpot in the top-left corner because I'm using sine to make it grow an reduce it for a special effect.

  • I have this cose:

    Set position to x=choose(0,LayoutWidth) y=choose(0,LayoutHeight)

    Which positions the tiled background on one of the corners, I now need to rotate it towards the opposite angle. The hotspot is on the left-corner so:

    Position x=0,y=100 the opposite corner should be on x=100, y=0.

    To do it I did this:

    Set angle toward: x=abs(self.X-LayoutWidth) y=abs(self.Y-LayoutHeight)

    but it isn't correct because the background is now positioned diagonally, how can I fix this?

    Thanks and I hope I was able to explain myself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you!

  • Nevermind I found it, wonderful plugin!

  • Here's the code: i.imgur.com/gSbUh.png

    It should hide and show the two background alternatively every two seconds, while in reality it just do the one with the = 2 condition (which is strange since it starts at 1).

    Any help is greatly appreciated.

  • Thanks to both Yann your project requires the canvas plugin, which is what?

  • What would be the best practice to make a background (tiled) that changes color in time with a nice transition?

    I thought about a sine behaviour couple with a big gradient background, but it looks "expensive" memory wise, are there better options?

    Thank you very much

  • Unless I'm missing something, if you develop at 480,320 then fullscreen for retina display the aspect ratio is correct, having the statusbar (which is 20px) ruins the aspect ratio, meaning that you should develop at 460,320 to have the correct aspect ratio with the statusbar.

    There are tons of request on the appmobi forum to implement the hidestatusbar function (that currently exists in phonegap) for this same reason.

    Anyway I'll just change the templates, thank you very much!

  • the_chosen_byte amazing game! I really like it! Very creative way to use c2

  • I agree, but why don't make the exporter the same as the preview. The status bar steal pixels from the screen, meaning that the aspect ratio is screwed. I see your point because in appmobi it would be a headscratcher if after exporting the aspect ratio would be screwed, but I would like a choice, actually I don't even understand how you were able to put the status bar as an overlay, it would be really great to be able to export that way, especially for appmobi which for reason that I don't understand (seeing is based on phonegap) doesn't offer the option to hide the statusbar.

  • From the new version changelog

    Preview-on-LAN in fullscreen on iOS should now work identically to when exporting

    Why? It was the best thing ever to have the status bar in overlay mode because phonegap can run in full screen by changin an option before compiling!

    I think your choice was made because of appmobi (which I'm starting to hate) if anything it should've been the opposite way around! The status bar breaks the resolution of the screen, can you please put this as an option, I can't update otherwise because it makes iOS testing harder.

    Thank you

  • Very good game, hard as hell, I feel stupid :-(

0plus1's avatar

0plus1

Member since 29 Dec, 2010

None one is following 0plus1 yet!

Connect with 0plus1

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies