hsetiawan's Recent Forum Activity

  • 1 of many many ways.

    https://www.dropbox.com/s/5e3xkjeqqv9e2 ... .capx?dl=0

    My previous code didn't work because i did not put an else statement like your example <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Thanks for the help!

  • I'm using the Platform Behavior's double jump.

    When button A is pressed, the player jumped.

    So if the player taps button A twice, the player will double jumped.

    I want my stomp to occur when the player taps button A three time (so when he's already double jumping)

    How do i detect when the player is double jumping?

  • Do i still need to make a custom loader that preload music and sfx for a game that i'll export to APK for Android?

  • Here's the code

    Right now, i can only spawn a certain amount of monster (5 for each types of monsters) that i want to spawn, at a random positions

    What i want is, to spawn [I can control the spawn amount] a certain amount of monster (5 for example), but i can specify the positions for each monsters

    For examples:

    For obj_game_prisoner

    Instance 1, Spawn Object at X = 100, Y = 200

    Instance 2 , Spawn Object at X = 150, Y = 200

    Instance 3, Spawn Object at X = 200, Y = 100

    Instance 4, Spawn Object at X = 99, Y = 50

    Instance 5, Spawn Object at X = 124, Y = 124

  • Scirra team is very small and very busy. An hour is probably too short a length of time to expect a response.

    Just be patient, and if no response after 12-24 hours email them again. Eventually Tom or someone will see and respond.

    Okay, Thank You

  • > Hi

    > I just tried to checkout a bundle in Scirra Store

    > I already put my card's info

    > When i already click Pay (total amount), there is a checkmark

    > but the web page doesn't refresh

    >

    > I already tried 3 times, but it's still the same

    > Does this mean i will get charge 3 times for an item that i didn't get?

    >

    Probably best if you email .

    Yup, still no respond

    does it takes long to get a respond from the support staff? just emailed the support stuff an hour ago

  • Hi

    I just tried to checkout a bundle in Scirra Store

    I already put my card's info

    When i already click Pay (total amount), there is a checkmark

    but the web page doesn't refresh

    I already tried 3 times, but it's still the same

    Does this mean i will get charge 3 times for an item that i didn't get?

  • The fps looks respectable on devices less than 3-4 years old... that's not bad really.

    Still you don't mention about the resolution you are using for sprites and things like that. A handful HD graphics will perform a lot worse than thousnads of lo-fi "simple" graphics.

    ~Sol

    It's a small project

    The Game Layout is 320x180

    The Enemies sprite is vary from 16x16 to 48x48 only

  • What device are you testing this on? It doesn't look like it should be causing ANY problem for fps, at least as far as I can tell from the events you've shown.

    What size are the sprites you're using? Is this all lo-fi graphics or more HD style?

    ~Sol

    (Without the Enemy Spawning Yet)

    Ipad 2 = 30-50 fps

    Nexus 5 = 50-60 fps

    Iphone 4 = 5 fps

    Iphone 5 = 50-60 fps

    Iphone 5s = 60 fps

    Iphone 6s = 60 fps

    Samsung Galaxy Note 3 = 50-60 fps

    (When the enemy spawn)

    Ipad 2 = 20-40 (~20 when the enemy being spawn, after all of the spawning is done, the fps become 30-40)

    Nexus 5 = 50-60 fps (~30 when the enemy being spawn, after all of the spawning is done, the fps become 40-50)

    Iphone 4 = 5 fps (Cannot even move)

    Iphone 5 = 40-60 fps (~40 ish when enemy are spawning, and 50-60 after spawning is done)

    Iphone 5s = 60 fps (~45-50 ish when spawning)

    Iphone 6s = 60 fps (~45-50 ish when spawning)

    Samsung Galaxy Note 3 = 50-60 fps (~30-45 when spawning)

    The problem is the lag when spawning for a few seconds

    Not placing all used objects in the layout

    If objects are not placed in a layout but are created by events, Construct 2 will load the textures for those objects the moment you create them. This can cause a momentary pause or "jank" and make the game feel less responsive. This can be avoided by placing any used objects in the layout. They can be placed off-screen and destroyed on startup to avoid interfering with the gameplay. Then Construct 2 will preload all their textures when the layout starts, avoiding any "jank" as they are created and destroyed at runtime.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How are you creating your enemies? In a loop? One at a time over X seconds?

    How complex are the enemies? Are they made of several parts, or just a single sprite? Are they effect heavy?

    How many other objects are in your layout? Are those effect heavy or doing complicated movements/animations? What is the total object/sprite count?

    To give more accurate information we need to know more specifically about the problem. There is likely a bunch of ways to optimise the events to make it run smoother - but without knowing more, or having a capx or even an event sheet screenshot to look at, it's difficult to really say for sure.

    ~Sol

    Hi, sorry for not posting a screenshot

    Just updated the post with the screenshot of the code

    -The enemies are checking the distance of itself and the player, if the enemy is in distance, the enemy attacks the player

    -For right now, the object count is 230 (without the enemy & tilemap for my background)

    -The animation for each enemy is only 3-4 animations with 1-8 frames.

    -Using the brightness effect (so when the enemy got hit, they blink to white for a second)

  • Hi

    I'm creating a survival game (mobile)

    so the player must kill a lot of enemies to get the highest score

    The problem is, when i tried to create the enemies, maybe (~10-20 per wave). There's a lag spikes (dropped the fps from 50-60 to 30 - 40).

    I put all of my enemies sprite into a different layout named "bank"

    I read on the forum that i must put the sprites that i want to create outside of "THAT" Layout.

    I cannot put it on different layout (in my case "bank" layout).

    When i tried to put the enemies sprite outside of the game layout and destroy it at start of the layout,

    the player_kill_counter variable is counting the enemies that destroy outside of the object

    because, my event sheet for killing is

    Enemies on destroy -> add +1 to player_kill_counter variable.

    So how do i do this?

    Thanks in advanced

    http://imgur.com/a/pkyLg

  • I have a spawn system function that looks like this

    When i pause the game, using this code

    The enemy AI keeps on spawning

    How can i pause the spawn system function when paused?

hsetiawan's avatar

hsetiawan

Member since 1 Jul, 2016

None one is following hsetiawan yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies