ranma's Recent Forum Activity

  • I said it too! I did I did!

  • I'm having an unusual problem for me, as I can't get an experience bar to work. I have a red horizontal bar, maximum 200px width. I have XPstart, XPend and XP, representing current level start XP, next level start XP and current XP respectively. now. how do I calculate the bar width. this is basic math for crying out loud :(

    Inb4

    <img src="http://profile.ak.fbcdn.net/hprofile-ak-ash2/41787_214277156210_9019_n.jpg" border="0" />

  • probable reason why it's looking like that is that the clear background is set to on in project properties, try setting it to off.

  • if the iframe plugin would have control over iframe attributes like frameborder, scrolling, marginwidth, marginheight it would be great, as it would be able to be used as a common mobile ad placeholder, right now I must use javascript for every instance to set thos through jquery, to make the iframe border invisible and for the ad to display correctly :( cheers, great plugin!

  • yes, the way that I described I implemented google adsense. the only problematic thing is that the target opens in the appmobi container, not external browser.

  • javascript in the HTML_DIV plugin doesn't seem to be run, so most of advertising scripts will not work, try HTML_IFRAME, and load a html with your script into it. keep in mind, that most of the mobile advertising companies will block ads when NOT displayed on a mobile, so don't worry if ad doesn't show while testing, check on your destination device.

  • install both versions of java from here:

    java.com/pl/download/manual.jsp

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was creating bullets at scrollx + bullet.x for some reason, probably drunk coding :) , so it was created way off to the right. my mistake.

  • ok, got it, I am an idiot. thanks cow_trix :)

  • well my capx is nearly finished game, so please do understand why I didn't post it. just when testing yesterday I noticed a huge slowdown which after investigation lead me to not destroying objects when left of layout.

    also wow, now I just have to find out where is the problem on my side as it clearly works for you :) thanks. it seems in my project it destroys some of the targets, and leaves some there, as the count sometimes drops, but the general number constantly rises :/

  • This is more of a game logic / event logic question, bear with me please :)

    Window is 640x480

    I have a layout, it has 1000000 width, 480 height, and there is a bullet flying through from left to right, screen is set to every tick scroll to bullet. You control the bullet up/down.

    Every tick on random(10)<2 I create a target on Y random(480), X = scrollx+640 (on the right, off the screen, so it appears in a second and goes from right to left, so that you can hit it with your bullet)

    easy enough, the problem starts after a few whiles, because of the targets you didn't hit stay to the left of view, right? best thing to do is destroy them, if they are on the left side of view. so, I did and this is crucial:

    target: compare X < scrollX - 640

    it should work right? well guess what, it doesn't :) is there something with my brain or is it a huge bug in construct?

ranma's avatar

ranma

Member since 20 Feb, 2008

None one is following ranma yet!

Connect with ranma

Trophy Case

  • 16-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

19/44
How to earn trophies