Twinsonian's Forum Posts

  • Thank you

  • Yesterday I purchased my first tablet and quickly found that I could not stand the ads on free games for my 2 and a half year old as he is drawn to touching them.

    So, I went to construct and have started making the games that he likes to play.

    I created a simple yet pretty fun bug smashing game for him and have found the only way so far to be able to allow him to play it is through preview over wifi. The game runs great on chrome and firefox with fullscreen but better with chrome. Unfortunately I only get sounds through firefox and not chrome so I am still working through that.

    Anyhow to the point:

    I am completely new to android and have no idea how to actually get this game on our tablet for my son so he has something to do when they are out since preview over wifi is not a viable solution in the car (no internet in the car).

    I really have no interest in uploading my games to a store or anything else unless I have to?

    Thanks for any help and advice on the subject.

    EDIT:

    I ended up just hosting my game at twinsonian.com for now until I get more knowledge on what I am doing.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It would seem silly not to be able to have construct 2 games on steam at some point, after all -- C2 is on steam. GM is also on steam and stealth bastards is a great example of being able to sell on steam (or others like desura)

  • After experimenting with the drag and drop behavior for an item UI I have been working on I have come across something interesting.

    Link to cap

    Basically in my main project that I am currently working on I chose to have a main layout for where my game draws and an object library layout where all of my project sprites etc reside.

    The reason for doing so is that my game relies on 5400 randomly generated tiles for each room the player enters. Once the player leaves a room all of the tiles are destroyed and when the new room is randomly generated all the tiles are redrawn. It has been working wonderfully and I encourage anyone curious about the results to check out my progress at twinsonian.com.

    Anyhow, as previously stated, I am working on my itembar UI at this time and am making use of the drag and drop behavior. As it stands now when my game loads in chrome I am getting:

    PERFORMANCE WARNING: Some textures are unrederable.   

    How much of a performance issue is this? I hope that my cap illustrates what is happening etc.

    PS: I intentionally have a second sprite in the cap that is not created in the first layout which acts similar to the inventory items in my game.

    Oops: to clarify I get this error in my chrome console (CTRL + SHIFT + J) during preview

  • I have tried on win 7 and 8. When editing an image and right clicking in an open area of the animations are the options greyed out for anyone else? Clicking on them still works and they actually turn black as they are being clicked on, but are all initially grey for me.

    EDIT: Also when right clicking a current animation certain elements are black and others are greyed out (like rename) but you can actually still click the greyed out rename option and rename the animation.

  • Also feel free to look in to the javascript SDK. It allows for working with and creating custom behaviors and plugins. If you really want to improve the AI you can create a custom behavior for the enemies.

  • The only thing I could find that might be helpful:

    scirra.com/tutorials/77/native-expressions-in-construct-2

    Specifically:

    Conversion Expressions

    int(x) - convert x to integer

    float(x) - convert x to float

    str(x) - convert x to string

  • haha takes a different view. I have been staring at pages of events wracking my brain on this and it didn't even dawn on me to check that.

    Thank you!

  • Link to cap

    It is a simple reproduced cap I threw together that deals with a while loop with an embedded while loop. There are two arrays. The first array gets a 100 character string put in at 0,0.

    The second array becomes a 10,10 array with each letter from the first array's 100 character string.

    when pressing go the results:

    first box fills only with 10 characters followed by 90 zeroes.

    to see if I did my while loops wrong I also have it in the same loop print to the second text box each individual character from the first array's 100 character string, and it prints all of them.

    What am I doing wrong lol =/

    Thanks for any help.

  • C2 absolutely can handle the type of game you are describing.

    As far as the complexity with RPGs, that is a general statement. It wouldn't matter what you are making your game with.

    Plan your event sheets out well beforehand, treat them like classes if you are comfortable with programming -- they provide a huge amount of organization for your game. Beyond that, make great use with functions and plan out your local and global variables correctly. Essentially, for every town you are in you could have global variables assigned to it and when you are off in a dungeon it is easy to change those global variables for the town so that when the player returns to the town dialogue can be different. (not the best example but you get the idea).

    As far as capability, C2 is much more capable than it appears to new users. It runs games incredibly well except for some hiccups with a lot of physics. The event system is very powerful and can provide most of the meat and potatoes of any game library/language for writing specific game logic. It just has a learning curve at a certain point.

    Lastly, you will easily be able to deploy your game almost anywhere on almost any modern device!

  • Thanks for the reply,

    Unfortunately I have tried that and end up with:

    Javascript error!

    Uncaught ReferenceError: require is not defined

    http://localhost:50000/NodeWebkit_plugin.js, line61(col undefined)

    Anyhow, thanks for trying to help out.

  • What exactly do you mean by preview settings?

    I know it sounds silly, but I guess I am failing to understand where to actually do this. In the browser? Open a nodewebkit?

  • how do you actually test node in preview now with the new beta version?

    I learned quickly that attempting from the browser was a no no. I also downloaded node-webkit itself, but I guess I am using it just like a browser and get the same javascript error.

    So how does someone actually go about testing their game without having to export. I searched and was unable to find a tutorial as of yet either.

    Also, exporting my game as node does yield the correct results. I do get my text file in the user directory with the correct content in it. But I do not know how to actually make this happen with preview.

    Thank you

  • Is this what you are looking for?

    Updated Cap

    oops, the global variable player direction is not needed btw, was just fiddling around and forgot to remove it