GeorgeZaharia's Forum Posts

  • Some questions then:

    Is there a Good service like that, that is free, or with a small one time payment, where you can hide the "powered by"?

    On this page I have a full-screen procedurally generated background, that I can only make in construct, unless I want to learn a new language. Is this possible to include on these services?

    Cheers!

    wix is my best advice for the $ and as a never touched programming before person, has a subscription month but... u can get 1st month free trial with no splashes and i think u can export the website and host it on ur own hosting service in the trial not sure, or get their plan for 5$ a month and u can edit the website unlimited times create unlimited websites and databases and have hosting included which is not that bad is 99.97% up-time which is normal for any hosting service since there will be downtime for maintenance once a year for like 5 minutes.

    if u dont want their hosting u can pay 5$ for 1 month then cancel the subscription get ur custom website done in that time export it to html5 get the zip files and put it on ur own hosting and no splash powered by nothing.

    as for the full-screen procedural generated bg, all i see is some leaves in the background moving around on my end... are those what u call procedural generated? u can do the same thing either by putting a video in ur website bg or using prebuilt js that u can find on jsfiddle or other websites like it even putting ur c2 animated bg as an iframe as the bg of ur website crazy right? xD there are many other services like wix a lot of website hosting providers offer easy website builders that have drag and drop functions. but wix as i said for a person like u that never touched coding is my best advice to u. and is rather cheap. probably by 2019 since we going to pass into the next year soon, are already existing better intuitive UI's then wix's but i tried it a long time ago 1 year probably and their system of making websites stuck in my head, cause of the simplicity of it. i don't use it, cause i like doing things manually and have control over my own hosting and editor when comes to websites (notepad++ lol). but over C2 capabilities id go with wix, even though i been praising Construct for years now, and it can indeed make great stuff on designing apps/websites/games/movies etc it is not entirely made for all those things, so there will be a lot of issue you will face. but if u are happy with C2 u should keep using it for ur project, just on my end as i tested ur project now, i found 5 glitches by using only my 1 button which is click on mouse. one being on the very 1st page when u scroll up and then press the text saying "have a look around ..." text and all disappears outside menu. that wouldn't happen in a normal website as a glitch.

    and if u think html5 coding is hard don't worry nobody really memorizes the code... every programmer has a notebook somewhere reminding him what his code does. if u wanna learn some html5 best advice is start with w3school tutorials they cover everything literally and their example are so simple u will get it immediately u can even copy paste the code from there lol and do ur own website from the tutorials only.

    have fun again, like what u did with ur website it has personality.

  • Hi, yes, this is basically what I have used so far.

    My main concern was though that WASD does not even exist (as a normal mapping) on any other keyboard than qwerty. So for you and me wasd makes sense, but not in all the other parts of the world. :)

    true, but i doubt there is a big number of people using those keyboards in today's age when they want to play stuff or have free time ... i mean some do at their job and in France people might use azerty since is their version of qwerty as their language is much more accommodating to that type of letter assembly dvorak is designed for typists which i doubt they use the same computer to play games. i think u might overthink this issue a bit.

    if u really concerned with this problem, i would create a custom setting menu where people can bind/map their control keys as they like. would be just easier for you, in eliminating the types of keyboards or controls out there. have it pre-filed for qwerty but leave option to edit it and use the preferred custom keys they want. i do see your concern though i get it, so many choices can get confusing, that would be my advice for you though. hope it helps you.

    Edited: instead of wasd default i would use arrow keys with the option to modify.

    to do that you might want to take a look at Kyatric 's example here on youtube

  • HUGE thanks! Just what i needed!

    Website looks good design wise... but...

    why aren't you doing this with wix or a service like it to drag and drop things? is going to be way faster performance wise since is a normal website, and multi-platform compatible devices etc / responsive (meaning will fit any device orientation etc... compared to the current website). ur wesbite is cool in C2 but will have a lot of major limitations and you will probably need a huge tutorial list to create a search database. unless u use google search but that won't work for C2 websites cause there is not sitemap.xml to index ur pages.

    i suggest you in a friendly manner, try wix. believe me it will save u a lot of pain down the road.

    and no this is not a wix advertising... is just makes more sense.

    Edited: if you are worried about pricing there are other services that are completely free and splash free for drag and drop website creation. just google some of them visual coding website creator etc...

    if u worry about powered by at bottom of page... that can be hidden very easily with a little bit of css even though is not recommended if the provider of the tool is enforcing it by their TOS.

    anyway cool stuff :D i like the music u featured there.

  • quick question, i think u already solved your issue by this time .... is your app mobile or pc? if is mobile i have a detection question for you... how do you detect the app is closed? or the user has the intent of closing? compare if app is unfocused?

  • you only need to use the h.264 source that would play anything on any device. it can be a mp4 3gp avi or webm it will run on ios and android. but that is what i know from C2 not sure if is applying to C3 now.

    if is not working try setting the source of the video when the intent of playing the video is happening by saying if player pressed play video button load source h.264 filename with extension then play. it will take a while for it to preload or buffer. but if is inside the project should start in 1 second max.

    it might be that using the free version might have some limitations on exporting the project with the video plugin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i think you should follow the mario pattern of keyboard biddings. it always stuck with people.

    arrows to move wasd as a lefty choice. spacebar to jump shift to shoot or ctrl (on shooting u can even play around with Q and E as they are close to the left side if u moving with wasd.

  • easier to spawn the object would be when the pillars are spawn, bottom and top pick one of them if they are different like if u have a individual top pillar and a individual bottom pillar u can say when bottom pillar is spawning > create coin at bottom_pillar.bboxtop - (coin.height+coin.height/2) but that is if u have a pillar different then other named different, if not im guessing u are using a hidden spawning object with a sine outside right ? that spawns the pillars at some image points? then u can simply say spawn coin at spawner.origin point 0 or the image point that is in the middle of it.

    it all depends on how u made the creation of the things.

    here is a c3 example u can open it with the free edition, the code works with C2 as well.

    flappybird_logic.c3p

    to be noted... that type of gameplay is just "level 1 of flappy birds" or under score 50... original one once u passed score 50 different pipeline patterns come like slanted, moving up and down making the game 1000 times more difficult then this basic movement.

  • Thanks buddy, but i cant open these - there just a bunch a files?

    click download top right the bunch of files is the structure of the zip or the .c3p format which is a zip like format with its own name. there should be a download arrow in the right side of the files list near login or + right. downwards arrow. u will need C3 to use this though.

  • You do not have permission to view this post

  • if u have a c2 license u can use it i think not sure if the offer is still available to get a 50% discount off the 1st year of C3 purchase. that helps a lot if u dont have the full amount.

  • here is a simplified version using tiledbackgrounds

    healthbar tiledbackground

  • the bellow example should give u an idea on how the scoring should work. now i made it so it scores on tap, but u can make it when health of player =0 or enemy health = 0 then u give it a point to opposite team. whenever a side has 2 wins then the game is won and resets or it can go to the next enemy. resetting the game round u basically reset the layout. but with the current scoring u don't reset the global variables ever, unless u go to a new battle enemy then u can reset them either all together or just the specific ones that keeps stage scoring like in this case enemy wins /players wins counts for that specific stage.

    now i set it so is max 2 rounds but u can set it to 4 or 3 or N number .

    from here on making those round bubbles appear u just need to create them based on how many wins each side has.

    so if player has 1 or 2 wins you create a sprite with that round shape give it a frame u like to have place it in the screen make sure u destroy it on start of layout. then u create that sprite based on player wins. at a specific position

    so if player has 1 win create bubleround at x0 y 60 if player has 2 wins create buble round at x bubleroundwidth*bubblecount+bublewidth/2 y 60 and so on

    same goes for enemy.

    example scoring

  • So I'm wondering is there a way to use the for statement in conjunction with a global number variable to set it so that, for every let's say 1000 points (or otherwise everytime 1000 points is added to score, or for every 1000 points added to score) go to next layout? I basically just want a level change that is based on accumulated score.

    like plinkie said if u want it to be each 1000 points then u can simply do that by having 2 variables 1 stage/level one being score

    and then u compare

    score = stage*1000 set stage to stage+1

    thats it.

    if u want a different limit for each stage then u need a extra variable to replace the 1000 value and then u have lets say pointstonextlevel

    Condition 1

    everytick

    set pointstonextlevel to stage*(pointstonextlevel*1.3) (that would give u a 130% increase for each level gained. or double the initial level score target +30 % of current score target so if initial score target is 1000 the next target is 2000 + 30% of 2000 that is total of 2600 next level target score. for level 2.)

    Separated condition from above one.

    score = stage*pointstonextlevel set stage to stage+1

  • the bellow example should give u an idea on how to save/call localstorage and reset update the score then reset the data and global variables. order of events must be as done if u miss placed them you will get weird glitches or data loss.

    as for things popping up when player is dead call some sprite to get on screen and put a text on it... then call the localstorage usually can work with a function by using the function plugin or by simply using a local variable to toggle it or even a group event. you can find a lot of those tables animations etc in tutorial section of Construct 2 and 3 for C2 tutorials u need to go to C2 tutorials all C2 tutorials apply to C3 as well minus the custom plugins or plugins that are out of date on C2. but order of events and logic is the same on C2 and C3.

    i didn't bothered with the popup item cause is very simple to do.

    deathcounter c3 example

  • you need to change the score from being = to 2 to greater or equal to 2. it might be that when a player or cpu gets a score added it adds 1 more extra so ur score passes nr 2... can be 3 4 or 2.1 so it won't work.

    swapping to greater or equal will probably solve ur issue if u use the screenshot condition with >= and same actions.

    also can we see where is the awarded pointing? is it under the set score to 2 ? if so that should be above it order of reading events in Construct has a specific sense.