GeorgeZaharia's Forum Posts

  • I think I'm missing something here. How can I create an object using nickname and then select that object?

    As an example: I have a gun that I want to create a projectile by using nickname. Then since all projectiles are in a projectile family I want to grab the object that I just created and do some more configuration on it (set the projectile's angle, set the UID of the weapon that spawned it, etc) Is there any way to do this?

    for your example :

    that's basic coding

    if u create a new bullet just add a event with the actions u want to do they are available by default using C2

    E.G when mouse is pressed > spawn bullet on layer 1 at point 0 of wep u want to spawn on.. if u want to record a UID then just call the uid of the wep and do a instance variable on the bullet and set the variable to the wep uid if u want to use it later for something else but uid's usually they are not necesarely for use unless u have some AAA game ... then i guess ur bullet has a bullet behavior for movement ( just add the action under the condition above sayng bullet>bulletbehavior> angle of motion set to speed set to etc and will do that instantly when the bullet is created

    be sure that the actions u give to the bullet to be under him not above cause then wont happen nothing... cause there is no bullet on screen to perform those action (always customize a bullet or a character after u gived the comand to spawn it)

    unless Ur thinking on something else

    rexrainbow nice plugin usefull

  • The way I have it set up is that I enter the car, and it destroys the player and pins the camera to the car. When I leave, it spawns the player nearby the car and pins the camera back to the player. If I have multiple cars, it will pin the camera between the two cars, and then control both cars. and when i leave that car, it spawns multiple player objects. How do i prevent this?

    not sure if u fixed it but im guessing when u are between 2 cars, the player is spawned on exit and overlaps both of them thats why is ur code creating to many players on exit, as you code is sayng > when player ovelaps car disable driving spawn player .... that means when ever u have 2 cars and the cars are overlaping him each of the car will spawn a new carachter at their own origin point 1 on layer 0 so make sure both of the cars dont overlap the carachter or try using variables instead or boleans will be much simple and will avoid the confusion of graphics overlaping , thats for platformers then what u have here (old gta format i guess) , so try do a bolean called driving on character and say when E is pressed and Bolean is not active set bolean to true and do the rest for driving the car if bolean is active when E is pressed then set bolean to false and spawn 1 carachter and try using a sub event on spawn that says trigger event once (cause if u dont use the trigger event , then the engine will try spawn as many possible characters in the time frame, that takes to spawn a character for the engine). hope it makes sense and helps u

  • Hey ,

    thanks man appreciate that good feedback! Glad you like it.

    I really had fun doing this, cause working with real photography is different to the regular game assets

    Nevertheless I don´t think that a lot of people will buy it, cause of it´s special topic

    hehe

    i wold buy it

    id say the graphics are a bit overpriced i wold sell it somewhere around 3-5 $

  • the game is good, just i hate the table scratch ... so anoyng ...maybe because i have a foby to that kind of sound, or metal to plate.... the game is awesome the coding is good cant really say what you need more

  • sent you an email

  • as all 3 persons above asked, but additional to that, what is the time frame of the project to be completed? that is the most important thing in my opinion

  • Hello C2 community. I have a very small text-based app on Google Play with some requests for non-English versions.

    I'd be interested if anyone could translate the text (400 words only, in sentences) into any popular language for me. This app is not a money maker so I can't justify paying Google, and I can only offer help in return on your project, or whatever I can do for you

    It's simple, 'conversational' text in Q&A style.

    Any of these (or others!) would be great. These are just the ones some people are commenting in.

    Portugeuse, French, Italian, Spanish, German, Russian, Afrikaans, Vietnamese

    Alternatively, I could online-translate them and you could just fix the silliest mistakes it makes

    Please PM me.

    Thanks in advance.

    i could translate it in Romanian if you need )

  • ... awesome music.. i wander wold you sir agree with a partnership on some scirra store template bundles?

  • > Is this the full game or just the game assets?

    >

    full game ( only capx). attention: it requires personal license.

    I can send free game compiled version: Linux, Windows or Mac, via Email. just inform the version and email.

    has a web version from the link: http://www.kongregate.com/games/thiagos ... antsattack

    does it require the main license of the graphics? cause i know for a fact the characters are from Nintendo Mario World.... you have the graphics ability of selling?

  • that`s some serious graphics , awesome job

  • I was just trying to help.

    Misquoting me with the Hannah Montana thing is really uncalled for, and will probably hinder other people from attempting to help you.

    sorry was a bad joke... i know .. it was just frustrating the lines i had to do.. cant seem to find any other work around this problem, unless i do the long and tedious work, sorry again you are a good person im just an idiot most of the times

  • 200+ sprites did the original PoP use for the prince, and 23 sprites for any guardian. 8 Guardians and the Jaffar. For the scelleton I don't know. Haven't found the Sprites for it With the Spritesheets and Spriter it's not that hard to make all the sprites.

    The tons of events, yeah, I even can't imagine how to start with all that events Long way to learn C2 first.

    if you have the art its easy to program , cause you know how things should look and how they should interacting, its harder to program a game when you have no graphics and have to squueze your brainz out for"i think i remember looking like this" .... happens alot of time even if you have part of animations/sprites/ or engine blocks to play with... the thing is if u dont have ALL sprites dont bother starting programming a game u want to finish... cause its not gonna be finished because u wont know how will look.... so the programming , graphics, audio, stroy etc its all related .. its ok if u have skills in all those areas but u should focus on wich u like and love and maybe find some friends to team up:D the best advice i can give u right now... im a solo dev, doing art,graphic,programming(mostly from tutorials since i dont have no programming school or training outside construct 2 and some similar engines.),about audio i can doodle around and maybe export a wav format out of a mp3 and viceversa but not all the time...

    hope your game is gonna be ready soon... dont lose hope ... if u choose doing it yourself and u are young.. you have time ... alot learn now.. dont worry about money... if u arent young anymore then... its kinda hard to do this while u have a dayjob... requires alot of time... seen people selling their homes for it ...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i think il just make it look good till 1 point and then say hey u playd so far u can play more even if u dont see the numbers later right?!!!

  • In C# programming we call this little trick "casting". Casting happens when you change the type of variable. If it has a decimal point, the variable is a "float", if it is a whole number then it is an "integer".

    You want to cast the Float into an integer. So there is an expression under system called int() , Anything in the "()" will be cast into an integer.

    Other ways to cast are :str() for String, and float() for float.

    int(random 1.2342,100.234234) will always return a whole number.

    thanks jojoe i understand now all that because i kinda learned it without even needing to, so... i solved the issue of the decimal my next problem is when i try to make the text write only 2 of the first numbers of the new hole rounded (or inted or floated number

    as an example : i rounded or floated or inted doesnt matter what i use cause all they do is remove decimals all of them tested it like 1000 times so the resulting number will be something like 1200 lets say now in my text i want to show 1.2K that will be a number value / at 1000 because its a a number with a 3 , zeros so i want to get rid of the last 2 zeros and write up 1.2K as in 1.2k money,honey , oil gallons etc.

    i solved it works now just, i used set variable= find(str(money), ".") then i call the set variable2=find(str(ValueLength), ".") then again setvariable3=find(str(ValueLength2), ".") then i set a last variable to float(left(str(money), (ValueLength3 + (3 +1)))) and then i setthetextto-" Account: $ "&ValueWithDecimal&"Bil." returns everything right if the vallue is =>then1bil but <=then999bil cause if i dont add this the c2 engine doesnt reconizes the range and i keep getting the wrong Bilion million, K, kbz, counts my diferent currencys in game.... so is there a plugin or a simple i mean simple code to do this without having to make it with those less then high then conditions? cause because of those i get like 10 lines per item cause i have like 10 different ranges and each event is composed out of 3 events and 2 subevents so i have 50 items that will require 5 events * 10 different ranges that will be 50 * 50 250 event codes only to code 1 part of those items and that isnt even usefull that much, only displays the money needed to upgrade , purchase and the income value of the items thats it and yea for each text type (price,income,stock so scratch that 250 event code lines its actually 3*50 * 50 thats 750 event lines to be coded for info display outside will kill my fps when i have all the items in idle activated, cause now they are triggered when i press a button but when idle mode is enabled then they will count add update every 0.02 and that will be over 700 events called in lerss then a second imagine that resource hog, the game will automatically crash... so its not a permanent solution what i did, i need a better one any ideeas?

  • ....I love Justin Bieber ....

    Ribis

    kidding )

    however your problem is a server issue and if i remember correctly scirra servers for the website are in development still... so it may take a while try do another account and see if the problem is still there... if it is not anymore then something went wrong with your account and the file you try to acces the same thing happend with my accounts. i just did a new account and everything worked perfect