Richard521's Recent Forum Activity

  • Hi everyone,

    If your interested in a quick math puzzle game then I present a game called '24'

    This is a game I used to play during Math Class. Couldn't find a decent app game so I decided to make my own app for it. So I hope you enjoy the app as much as I do.

    Objective is to use all 4 numbers generated to get 24. I added 3 type of modes with challenges.

    Only click if your interested. Feedback is appreciated as well!

    https://play.google.com/store/apps/details?id=com.mews.entertainment

    iOS availability will be coming soon, so I will provide link later.

    Regards,

    Rich

  • Hi all,

    If I had 4 different global variables named: a, b, c, d with random values set on them.

    You can only use each global variable once but use any of the math operators (+ , - , * , /) as many times as you want.

    E.g [a + c - b / d] or [b - a - c * d] etc...

    How can you use construct 2 to calculate all combinations and possibilities? Using loops? Arrays?

    Cant seem to assign math operators like ' + ' ' - ' '/ ' ' * ' into a global variable

    Any help is appreciated

    Rich

  • You have two options with this I believe. The best one that should work everywhere is to create all your sprites in every possible color you would need and to upload them in to your project. You then change it to that animation when you need it.

    Your other option which will only work if you have WebGL available to you is to use one of the built in C2 Effects such as "Set Color." This will allow you dynamically change your RGB channels through the Effect. If your project defaults back to the Canvas2D this wont work though. So the first method is probably the safer method to guarantee it works.

    If you have many frames with different colours:

    On start of layout:

    Action:

    1. Stop 'sprite' animation

    2. Set frame to choose(1,2,3,4,....N) etc

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check you event sheets. Any admob events used in the wrong place?

    Are you using recommended banner size?

    iOS or android?

  • How many layouts do you have?

    I think maybe you are running all the event sheets at once.

    I suggest creating a layout for each level event sheet. On the selected layout, go to its properties on the left side, set to your desired event sheet.

    More layouts won't really increase the memory size, because you already have the object image in the game.

    If you create all events onto one event sheet, it will definitely slow the game down.

    Hope that helps,

    Rich

  • If your using global variables, it would be reset every time you close your app or browser.

    Use the webstorage plugin.

    I assume you have a global variable for 'levels'. In this example, ill call it: Global_level

    In your event sheet, input a condition on WHEN you want it to save the 'level'.

    For example, On your level complete trigger (which is your condition), your action would be: Set local/session value (under WebStorage actions).

    Here you would set: WebStorage.LocalValue("level")

    Set local value "level" to (Global_level) (This would be your global variable but obviously you named it differently)

    Now, when you are playing your game, and you complete a level, it would be stored locally in your device or pc. (Unless you clear cache).

    Now, remember to get the local value from Webstorage "level" everytime you start your game so that it remembers which level you left off from.

    So in your event sheet: On start of layout: set (Global_level ) to the Webstorage's local value. (Type in Webstorage and find LocalValue, It'll will look something like this: Webstorage.LocalValue("level"). Make sure to type level in between "" indicating the what string value to retrieve.

    Hope that helps,

    Rich

  • Hi all,

    My first post and first game using construct 2.

    Summary:

    Simple rocket game. Don't crash. Don't run out of fuel.

    Added unlockables -> new rockets.

    [attachment=0:3j4hoxk6][/attachment:3j4hoxk6]

    Heres the link if your interested:

    https://play.google.com/store/apps/details?id=com.mews.TilttheRocket&hl=en_GB

    I used Touch.Gamma for the tilt function, simple custom movements for obstacles and the rocket itself.

    Let me know what you think. Ask me any questions if you thinking about making a similar game like this.

    Thanks

    Richard

  • From my experience, In preview mode, orientation lock doesn't work, not until you export it.

Richard521's avatar

Richard521

Member since 31 Jul, 2014

None one is following Richard521 yet!

Connect with Richard521

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies