Chadori's Forum Posts

  • I would like to know what is more interesting...

    Put the objects that will appear only with the 'create object' action in a separated layout, or just put outside the layout that it will appear?

    Thanks.

    The best practice would be is to put everything that the Layout needs including the objects that will be created using "System ->Create Object(X,Y)". And on start of layout, if the object is not needed yet , destroy it.

    Because if you don't have the object in the layout and create it using "System ->Create Object(X,Y)" it will make a laggy pause because the object isn't preloaded.

    Only the objects present in the layout during editing will be preloaded. It is still okay if you put it outside the Layout White Paper as long it is on the Layout Page.

    Note: Do not put your objects in a separate layout that isn't run during gameplay.

    (Example of a bad practice!!! is to make a Layout where the game happens and make a separate layout for storage of the objects that will be created by "System ->Create Object(X,Y)" for the reason of not making the Main Game Layout look messy. ) - Wrong! The objects will not be preloaded and plus a Layout that is not used and made a storage for objects makes it worse.

    For more info, read Ashley's Optimization tips below:

    Ashley's posts:

    https://www.scirra.com/blog/83/optimisa ... -your-time

    https://www.scirra.com/tutorials/298/pe ... bile-games

  • My game is getting hot. Not too hot so I can't hold the phone, but quite hot. I haven't seen a 2D game on iOS that does this.

    What causes this CPU overload or GPU? VRAM overload?

    What should I focus on, reducing number of objects (100 objects for now), reducing number of events running constantly? Reduce VRAM (25mb as of now)?

    Which would cause most problems in terms of heat?

    BTW Game is running oh so smooth at 60+ FPS 99.9% of the time.

    Thank you

    HTML5 is already known as heavy load to mobile devices and one of the biggest load known that can be optimized is the collisions. I believe CPU causes more heat on Iphone's than GPU's. So this will be your first step in great optimization.

    I suggest you follow this tutorial.

    https://www.scirra.com/tutorials/925/mo ... ance-boost

  • Hello,

    Are you:

    - hiring artists to create your assets,

    - do you make them by yourself,

    - do you purchase them from assets platforms,

    - do you find them for free on free assets platforms,

    - do you use what you find on google (whatever the license)?

    Just curious. I have seen games with very nice graphics in the completed games sections and I am really wondering.

    Ouais

    1) Some Yes, Some No. I don't, and some draw it themselves.

    2) Some People.

    3) Visit the Scirra Store and you'll find out that many do.

    4) So many sites give assets for free, for example Kenney.nl provides free assets or Scirra Bundle provides it if you purchase a license. (Also Opengameart.org is popular for free assets.)

    5)Absolutely not. What I mean, we don't just download anything on google with just any license. There are some procedures to make it legal.

    You need to find the right license for assets. It is free if:

    (I am not a lawyer and this is just based on my opinion and I am not liable for anything and the reader may choose to believe me or not. It is up to them!)

    1) It is a Public Domain or Open source (then you can do anything with it as long as you don't break the publisher's own rules.)

    2) If it is within the CC License then I believe it is likely to be free and can be used commercially if it doesn't break any rules. (depends on the kind of license)

    https://www.google.com/search?q=CC+lice ... 3&ie=UTF-8

    3) It is free if you credit the maker and you come to an agreement. More likely a CC License.

  • I made a sample test experiment to see if the Touch input is detected by Collisions for it requires Collision Polygons but when I try to disable the collision, the touch input still works!

    Ashley can you justify this please.

    .Capx File

    http://1drv.ms/1Pojwkt

  • Well the first rule is that you should think about that long before release, but anyway you might find this useful 25 Creative Ways to Promote Your App for Free

    Thanks, I'll try this now.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • >

    > > Help?

    > >

    >

    > No. Sorry but it doesn't work with IntelXDK but you can use this Phonegap IAP by Cranberry. It works but cranberrygame doesn't provide .capx if you buy in Scirra Store :/

    >

    Can you use phonegap with XDK?

    Yes I believe so. But If you are talking about Plugins like Phonegap IAP then I am sure of it.

  • Hi! I got a problem, I want to save the global variable highscore even exiting the app and I When I enter the game again show me the highscore I did before. I'm using localstorage to save the highscore. I using too Cocoon.io for the apk.

    Thank you!

    Use this event:

    This event is taking place in a single layout (example)

    Add 1 Global Variable named "HighScore"

    Note: In the event On item missing (We will create a LocalStorage key named "Highscore")

    On start of layout..

    ---->Local Storage Check for item ("Highscore")

    On Item found ("Highscore")

    • ---->Set value Highscore to (LocalStorage.Itemvalue)

    On Item missing ("Highscore")

    ------>Set LocalStorage Item ("Highscore") to 0

    On end of layout

    ------>Set LocalStorage item ("Highscore") to Highscore

  • I made a "play sound event", always when the player press the "up arrow".

    This is a bad idea to do. You should not use touch controllers as much as possible as a base of things not relating to the player's actions.

    Because in some cases especially in mobile games or high cpu or graphic use games in pc, controllers tends to get glitchy or buggy sometimes. Just to be safe.

    This is based on my experience and experimentations XD.

  • Nefaru

    Many complicated ways but 1 very simple way:

    Player "On Jump" then

    AudioPlay(Sound)

    There you have it. It will only sound when you jump 1st and 2nd(while in the air also known as DoubleJump)

  • Help?

    No. Sorry but it doesn't work with IntelXDK but you can use this Phonegap IAP by Cranberry. It works but cranberrygame doesn't provide .capx if you buy in Scirra Store :/

  • Anyone know how to market Google Play Apps? My apps seems to not have any downloads. Thanks in advance XD

  • You do not have permission to view this post

  • You do not have permission to view this post

  • My first on Google Play, "ATV Challenge".

    It's physics based so needs a modern(ish) tablet ( I tested it on the 2013 Nexus 7 and get full 30fps, the Nexus 2012 struggles a little more - 20-30fps).

    It's free

    Constructive criticism welcome!

    https://play.google.com/store/apps/details?id=com.dysthesia.ATV

    Nice Game XD

  • Hey all.

    I want to make for my game a cool intro so a little introduction to the game . However, I have no idea how to begin . Can anyone explain with what effects or plugins I can do this?

    I would use Text Dialogs etc...

    Thanks!

    Things you need to do:

    1) In the Project Properties --> Project Settings --> Set "Use Loader Layout" to "Yes"

    2) Make a layout that you will make as an opening and add designs(If you like Texts then you can put it in that layout but be more creative and add backgrounds).

    3)Name that Layout for example("Opening")

    4)Add Event Sheet for Opening and name the event sheet as "OpeningCode"

    5)In the "OpeningCode" eventsheet write this event:

    (Example event so that your layout will move on to the next layout after opening)

    Condition: On start of layout :

    -----> Wait 5 seconds

    ------> Go To Layout (MainMenu) - or anything that is already the part of the UI (User Interface)

    6)You can also use Plugins for transitions and most native games always need transitions: created a plugin for this named Layout Transitions

    Below is the link:

    7)Go back to the Project Properties --> Project Settings --> Set First Layout to "Opening"

    There you have it, you can make great openings if you spend good time on experimenting.