AeleaS's Forum Posts

  • OK, i passed the error. but nothing appear on my HighScore Sheet !!

    can any one tell me hot to like my score or time to HighScore Sheet ?

  • Hi Guys

    I was watching tutorial about how to make 10 numbers high scores, the problem is that when i write the code it give me error ??!! so i write it with "". but nothing happen ?

    where is my mistake ?

  • Hi

    How do I appear a arrow show the direction of the ball before i release it ? like what we see in games like billiards

  • Try Construct 3

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

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

    It wasn't easy for me to make a game even when i use engine that not request a programing ((C2)). maybe because it was my first time or try. But what about those who success and made their games ? So I just have this questions in my mind. Did you get some money from making games by using C2 ? how did you sell it ? do you still thinking or planning to making new games ?

  • You can do something like

    system > every 1 sec

    --- system > create object at position (random(0,layout.Width), layout/Height)

    And use another event to make them fall. What kind of fall do you want to achieve? Do they should stop when they have reached a certain distance ?

    Yes

    I threw together a .capx file for you. Its kinda late here so I didn't have time to comment it much. I think you can figure it out though its pretty straight forward.

    All it does is call for a random spawner object (one of 5) to spawn a random piece of 5 fruit every 3-4 seconds. The fruit and floor have physics so they fall and bounce but you can give the items bullet behaviors and set angle to 90 and whatever speed you like and do an on-collison or overlap with floor instead.

    Hope it helps you see one way to put together multi-items selections without the complication of arrays.

    thank you. I will download it and try it.

  • Is there any method allow to fall different types of objects random from outside the layer to inside so the player can grab it or eat it ?

  • [quote:3slv3ahi]Not multilayer! Even free version gives you 3 layers.. that is like making apple pie without a crust...

    OK, what I meant by "Then simply text box "Total Time: "&time" was anywhere you needed to display the "time" variable you were filling with the time-since-start number... In order to do what you are wanting you would need to put a text box like I show ("Total Time: "&time) [The "Total Time" can be changed to anything you want between the ""] You would then need a blank type box object beside your text object if you want them to write their name. HOWEVER, unless you are storing both the name and time value in webstorage or some other method the data will be gone as soon as they close the game.

    I have done a tutorial on webstorage if it helps ().

    A better way would be to have to player input their name somewhere before the game starts and save it to a name variable, then at finish display both variables like so: "Awsome, "&name "you lasted "&time "seconds!" and then store these to a persistent website location (several tutorials out there for this type thing).

    This is what i exactly thinking for now. I will do my best to make it in my game

    [quote:3slv3ahi]This is happening because Construct2 doesn't know which instance of the object you are wanting to perform actions on. You will need to "pick" the newly spawned objects and not the old ones. In order to "pick" an instance it must be referenced in the Conditions portion of the event.

    An easy way off the top of my head is to put an Instance variable inside the spawned object and say call it "finished = 0", now right after your stop action after they have spawned and run their course you would add a set Instance variable action to finished=1. Now in your initial spawning Conditions you would add a (object type)-instance variable finished (doesnot) = 1 (or either = 0 your preference).

    Now i solve the time problem but still i have problem with throwing object. now i change my mind i want to throw different kind of objects with that same before conditions. I think Array will solve my issue but i don't know how to use it. do you know how ?

    Thank you for the information and all details that you wrote it for me. it's really helped me and i am sure that many other will see it helpful

  • [quote:14kqrsq5]On start of layout- Every x seconds (1) - Add 1 to variable (time). Then simply text box "Total Time: "&time.

    i didn't understand the last part ? when i add the text box to the score layer near the time can the payer write his name and save it and every one on the world can see it ? this game is not multilayer.

    [quote:14kqrsq5]I am assuming on the second part you mean throw objects a random distance from a center point?

    You could spawn as many objects (even random amounts) at the center object that you want with bullet behaviors in them... set their bullet speed to 100, bullet angle to random(360), wait random(0.25,3), bullet stop.

    You could either set them visible when they spawn or after they stop... whatever effect your after.

    If you want it less random, more like the picture you could use choose instead, ie. random(choose 45,90,110,234,350) to have better control of what angles it can send objects in...

    I do it. now it's throw in random angle and then stop but it get back to move

    here is what happening

    Evey 10 second this object appear and throw things. this things move in different angle and stop. now the problem is when the next 10 second come the object appear and throw new things but also the old things moving again ? so how to stop it for ever

  • Hi

    I know there is a tutorial for high score but what i want to do is to make a Time Score. counting the seconds and then show it as a high score (( who beat the enemy faster become in the top )) also he can write his name near it.

    and about the second problem. I want to make object throw things random for a small destiny (( see the pic that i upload it ))

  • AeleaS why don't you download free new version from scirra

    Because I'm working in my game and i don't want anything missing from it if i uninstall C2.

    My problem is with the timer. if some one can show me how to make a special time for an object i really will appreciation it.

  • will this help you understand

    it won't open with me. because i use old version of C2 1.72

    Just if some one could show me a tutorial or video or even a picture of sheet for a time for an object will be great. there is no tutorial for this thing !!! i search and i couldn't find one talk about it !!!!

  • give the object timer behaviour

    ball on collision with box

    - object set speed to 300

    - object start timer tag: morespeed

    object on timer : morespeed

    - object set speed to 200

    I don't understand the gravity question, sorry..

    Help me man. i really don't know where is the mistake

    every thing work fine but the problem is with the speed. it doesn't go back to the normal speed

    can you please do it and show me the event sheet please ?

    [quote:6c7yyaqt]you mean something like this

    I have old version of C2 and i don't know how to update it

  • Hi

    these two things make my day is bad and wasted my time for nothing

    I have a an object go up-down speed:200 so what i want to do is if the ball in my game touch one box the speed rise for 3 second and then back again normally ? (( like power-up ))

    the other thing is the gravity. i have a ball in my game with zero gravity what i want to do is that when this ball touch the box change her destination (( if it was going to the right change to the left)) for 3 second

    I hope some one will help me with this

  • This not helping me

    please add more details

  • Hi

    I make a small game than can any one play it. i want to get some money from it but not by selling it. So what is the other methods can help me to get some money ?