Oni Lo's Recent Forum Activity

  • Anyone?

  • How do I get the android bar stay in this position while my app is running in landscape mode, just like in the picture below? (with CocoonJS)

    <img src="http://www.blogcdn.com/www.engadget.com/media/2013/05/googleplaygameservices619pxhedimg.jpg" border="0" />

  • Me too!

    I want the player has the option to earn more performace as Flash games have.

  • This is the idea Cherico! But this way, as Aphrodite said, you may have trouble with objects and especially with enemies / NPCs who decide to walk to the edge of the world. They will not be visible or not will attack depending on which side you are.

    Searching in programming forums, I saw that programmers make the layout work as a tiled world, fully functional. But seems that is something very complex even for programmers.

    But thank you for the example! Depending on the game, it can work perfectly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Unfortunately not.

    I think that it is not possible with Construct. Maybe with plugins.

    I was studying this subject, and saw that it is kind of complex, maybe too much for HTML5.

  • I had a problem similar to this in Chrome (Samsung Galaxy Tab 2). When i use 3 touches, the touch screen stops working in Chrome.

    In my game, i use only one touch, so i put a condition to check when the player touches, if the touch is the first one (touch number). This will automatically disconsider all other touches.

    But i dont have any problems like this in Cocoonjs or Firefox.

  • Thank you all for responding!

    A solution to pixel Perfick's system is create a sprite "timer" every time the "GameScore" variable changes, so if the integer variable of some sprite reach 100, archivement unlocked. But as he said, is not the most elegant way, especially for a mobile game, because it envolves alot of sprites and fade behaviors. But still a way!

    Thank you for this example. I think it's a great solution! I will work with it.

    If I get something simpler (will be difficult) I'll post here.

  • Hello Guys!

    (sorry for my bad english)

    In my game will have some achievements for the player to collect. I've done almost all, I'm only stuck on this:

    - Make 100 or more points in 10 seconds.

    (10 seconds not in the begining of the game, but any time)

    I have a Global Variable called "GameScore" which has increased its value every time the player does something which should earn points (pretty obvious).

    But how can I do this "Archievement"?

    I think in every point earned, the system has to count points earned during the next 10 seconds and at the end it has to check if we can get 100 points or more. But that in every point! I can do 100 points in 10 seconds, then the system will do this check 100 times virtually the same time! Crazy, no?

    Does anyone have any suggestions on how to do this?

  • Hello InfinityX!

    (sorry for my bad english)

    I'm also having the same problem in my TextBox. I also do not know how to use the "Auto Font Size". Ok, it automatically changes the font size according to the layout, but how to set the size of my font? I want my font-size at 30px but when I use "Auto Font Size" it becomes very small, like 10px. My solution was to Resize it every Tick or whatever. Like this:

    -Every Tick

                 -Set TextBox size to (300*LayoutScale, 40*LayoutScale) (My TextBox initaially have 300px,40px)

                 -Set TextBox CSS Style "Font-size" to ""&30*LayoutScale &"px"

    The "set size" worked fine, but the "CSS Style" don't. Nothing happens (with Auto Font Size off). All looks right to me, but I don't know why it doesn't work. Does CSS Style doesn't accept this ""&30*LayoutScale &"px" expression?

    I searched for my problem, and I found this post.

    If anyone has any solution, I will be very grateful!

  • An example:

    Subscribe to Construct videos now

    . Look at the signpost. See how the whole layout is repeated as a tile?

    And that's the idea I mentioned above: http://mysterycoconut.com/wp-content/uploads/2011/09/ScrollingTiles.gif

  • No, I want that the whole layout behaves like the "tiled background". And i wish to add a lot of character and events on that.

    I've played a flash game like that, but I do not remember the name or where ...

  • Thank you for sharing your example. The random generation of the scenario lets players completely lost in the woods. Pretty cool!

    The problem is that my scenario can not be generated randomly, things should be fixed in their places.

    I was thinking something very similar to your example, added to the Pixel Perfick suggestion. I also thought about putting the character standing in the center of the layout. As my scenario will consist of tiles, I ordered that all the tiles, when reaches a certain distance from the character, it moves instantly to the opposite side. The tiles will removed from behind of character movement and placed in the first free slot in front of the character. An formula can be applied to all tiles.

    I think it will work well, but maybe not for my game, because in certain situations, the camera will show the character to another part of the level ...

    I guess what I'm wondering is perhaps quite complex. I think it will only be possible with some kind of behavior applied to the layout . What is not possible... <img src="smileys/smiley19.gif" border="0" align="middle" />

    Anyway i will see what i can do with this idea! <img src="smileys/smiley1.gif" border="0" align="middle" />

    Thank you!

Oni Lo's avatar

Oni Lo

Member since 10 Aug, 2012

None one is following Oni Lo yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies