GeorgeZaharia's Forum Posts

  • You shouldn't have to set the window size to the layout size, and I wouldn't recommend doing that. Try setting the layout scale -- since your layout is three times bigger than the view port, a scale value of 0.3333 should make the whole layout visible.

    that is so wrong in so many cases

    For the poster locohost :

    that depends on the layout size, but usually if ur designing ur game in a 800x600 or 1280x960 u can resize it to the layout size.... if ur layout size is bigger then the one i said that will be landscape 12:9 then u need to use the scroll to behavior so the screen size follows the player in the big layout(as a platformer will have)

    if u don't want that u could use yes the the layout zoom but who uses that? unless its looking for big pixelated graphics, the man just wanted to fit layout to screen.....

  • huh? testing with Intel xdk you mean opening in the emulation? if that is your question the ads will never show in the emulation from intel xdk, but should be visible on the mobile itself , if that doesn't not work, then u need to recheck the code from admob, and the keys, if that does not work either, check ur ads height and width, cause if its only for a surtain size, and its not automatically adjusting then its not gonna show, u have a few options and explanations in admob, as long in the admob tutorials

  • here is a small capx that also includes flying enemy's towards player position you can modify it:) cheers

  • uhhhh this game looks pretty colorful, and nice to play, i love how u matched the colors, its the simple contrast i always loved that on games, and not the glamour sparkling stuff. great job man

  • oh , you made it mate

  • "|rexrainbow i know, it's worth it for your 100 million plugins and behaviors though "

    he barely scratched the surface of 100 plugins and behaviors, but they are very welcomed and useful

    however i enjoy your plugin auto updater, but its a bit of a to much work for you to do now sounds ok, but when people starts to massively use it, its not gonna be practical anymore.

  • ok check this, in the game u posted, when u open the game in 2 tabs, and add create 2 different names, it says who is client and who's is host right? now when u switch between tabs, always the last message appends, it repeats itself, saying " Player1 has connected", then when i switch to the other tab says "player 2 has connected, "every time repeats so somewhere around those lines, the connection is lost, and reconnects. the problem is at on signaling connected> call add connected that should trigger only 1 time , but for u triggers every time when i switch tabs... not sure how to make it work , i dident worked much with the multiplayer functions yet. but its a matter of connection lost in those events recheck the steps from the example game, maybe is something you missed out, sometimes is c2 getting bugged from to many previews(one thing that solves it is saving the game under another name close c2 and then reopen the new game again.) atleast worked for me, if not try clean ur cache or change from localhost:5000 to 192.168.1.2 i had some issues in past with the address local-host being loading slow or blocking previews, its a problem with firewall and how fast u request the preview. il look into it further please move ur thread in a how do i section since Ashley flagged it as closed i don't want to keep it open as a bug more then it needs unless u don't manage to solve it by events or i could try and see if i work a bit in this manner will help, then u can post the full bug report as it should.

    as you said, its the tabs doing the problem, so that means, the game recognizes both tabs being 1 player, i think is because of Firefox latest update, or chrome, if u open the game in Firefox but not in different tabs but in different windows does it act normal?

    but this is meant for multiplayer you testing it from same localhost and ip/machine its basics that sometimes will create problems, cause it reads the same ip adress, so if you connect from 2 different pcs and works, then this is not a bug, but a client side, and you should not worrie about it for future online gaming, since all players will be from different machines. i think is closing to problem solved?

    next time please do first a "How do i ..." post so we avoid reports and wrong posting please... as much i want to help, i cant if its in wrong thread.

  • im also currently using 198 version, the example files from construct they work fine here, however your game does not, when i try connect with 2 players from 2 browsers i get the problems u say but only to the player second logged, i think its the coding you did, its detecting both players as the same, and there for 1 will always dissapear or both of them some times, its a signaling error from your events, you should post a picture of that in help section maybe someone can help this might not be a bug, however i don't know for sure, since the examples are working, and ur game does not , might be worth a while recheck your events. cheers m8t.

    but the game does work, once i switch from a window to another a few times, its for sure the signal events ur using, its detecting my ip as being same player in both sides, when i switch to the other 1 , the previews dissapears and viceversa.

    i might know what it is, does your preview game has the pause on out focus selected? you must assure that is disabled when u using as test your own browsers, since will pause between each time u switch from tab to tab, and there for your peer to peer connection will be cut off and then reloaded, and that's why the graphics dissapears, since temporarily your connection is lost. i bet my money on that.

    every time when i switch tabs the info text says i just connected, like i was leaving then reconnecting again, so that's the issue you have... im guessing u over spent last night ?:)) and ur tired, it happens to all of us.

  • that doesn't sound as bug, but more of a connection issue with the server, but im just a mere user i need to test it first myself

  • Another question: how can I drag'n'drop a q3d object in-game correctly?

    for the drag and drop you need to cast a q3draycaster taht shows u the mouse X ,y Z in the 3d world, then u take those coordonates and set the position of the object cliked and dragged. u can get exactly that drag and drop by looking at the raycasting example(viewport /ray casting) and also the 2dphysics has a drag and drop effect

  • u need more rep to post the links, but il google it, and btw you know most people here don't have a resume to show right?

  • if u can make a capx of the slanted platforms where u want them to be and at what angle then i might help right now im not sure what u want to achieve

  • Isn't that what Overwolf the overlay app does i mean it doenst have youtube but you can browse in the youtube site and it is an overlay feature

    not sure, i seen a few youtube mobile players, but what they do is just load each video link as u search for it as many websites repeat youtube video do, what my request is, making a area for login or register to youtube, load your playlists and automatically play them as you do in youtube, but it could be used for mobile, pc etc . its taking so much of resources of using youtube online, it creates a big cache, so by running it from pc will be easier... and less resource eating.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Would it be possible to make a game like 'A Dark Room' in Construct 2?

    I think this kind of game is called an 'incremental game' or 'idle game'. (see http://en.wikipedia.org/wiki/Incremental_game)

    you can find a template i made for people who wants cookie clicker clones/adventure capitalist/hero clicker/ type of games you can find it here http://www.scirra.com/store/games-with- ... mplate-704 its still a work in progress but if you have knowledge of c2 events you could work on it. il update it very soon for a better easy way of using it.

  • Hi!

    I can not find how to check the release that .capx created with.

    It may be a stupid question, but I need help. Thank you so much already!

    capx, is another expression for c2 to reconize, and open, but what actually is, its a Zip file, but with a diferent name, so if you right click and if u have rar or 7-zip u can extract it, open the .caproj file with notepad or what text editor u have, and on top you will see Version and a number such as 197,00 or smth like this, u can always change that number with 192 or what version u have then reopen the caproj with c2 and its gonna work, unless the latest update that was used to do the capx int he first place has so many changes that ur version might not have, so i suggest u install latest c2 into another place on ur computer so when u need to use the stable release u can do so, and when u want to see newest capx files u open with the latest beta