EnglishAcorn's Forum Posts

  • Your own Arcade? - Do you want to know how?

    Despite being away from, loosing my momentum and fighting with my computer hardware. I've recently returned. Not so much in triumph, but more in a general sense I suppose. Like leaves in autumn.

    Unfortunately my lack of poetic talent fails to convey my message. So I will ask plainly, would anybody be interested in knowing how to set up their own online arcade?

    An example of my arcade can be found here: (http://www.englishacorn.com/play).

    I've noticed others mentioning setting up their own online arcade. And the method and software I've used made the whole process very simply. So I thought I would perhaps share my experience or maybe produce a tutorial to allows others to follow.

    There are many reasons to start your own online arcade, whether as a hobby, financial or traffic. As for myself, it was it increase my SEO footprint, and direct more traffic to other products I'll later advertise on the site. Rather than for it to be the 'new-Kongregate', due to the competition of such ventures.

    If you're interested, let me know. Since I'm hoping to write an article about such a thing.

    Thank you for your time,

    Adam

    <font size="2">Owner of English Acorn (http://www.englishacorn.com)</font>

  • An unofficial Construct 2 Ezine

    An idea I've had for a while, however, due to the death of my previous two computers. I've been unable to do anything for the last two months or so, even develop such an idea. Until a fortnight ago whereby I bought my current computer.

    While developing my site recently; currently working on the 'Construct 2' section. I've reconsider beginning such an undertaking. Of which I will place here (Click Here)..

    I thought I would be able to use it to develop the Construct 2 aspects I've already worked on and plan to continue or improve (Tutorials, videos, capx files). But also providing a small means of compensation for the time and commitment.

    I have not asked Tom or Ashley about it yet, with the chance an ezine may be in their current business plan/model; in which case I would not want to proceed and compete.

    <center><img src="http://englishacorn.com/construct2/wp-content/uploads/2012/10/ezine-logo.jpg" border="0">

    <img src="http://englishacorn.com/construct2/wp-content/uploads/2012/10/ezine-ad01.jpg" border="0">

    <img src="http://englishacorn.com/construct2/wp-content/uploads/2012/10/ezine-ad02.jpg" border="0">

    <img src="http://englishacorn.com/construct2/wp-content/uploads/2012/10/ezine-ad03.jpg" border="0">

    </center>

    I'd love to hear your opinions on this. Or if you have any questions

    All the best, thank you for reading this,

    Adam

    Owner of English Acorn (http://www.englishacorn.com)

  • Nickydude

    No worries. I was using Google Chrome, WinXP SP3. I'm not quite sure of what causes the bug with the 'OR' conditions, because it does work with some actions, but not with others.

    Glad the temp fix works. All the best,

    -Adam

  • Nickydude

    Here's a [temporary] fix: *.Capx

    I basically put the actions into an inactive group called 'Fire', which when ctrl or LMB are pressed, it activates, runs events before deactivating. Put in a start of layout event also for safe measure.

    The 'Or' function does work for this. But it didn't prior to me changing the events, so I say 'temporary' fix at the moment.

    Hope this helps.

    -Adam

  • I think a misunderstand. I wasn't supporting 'duplicate layer', instead I was suggesting to Gerris an alternative way that he could approach it in the current build. I'm not entirely sure what the layer Gerris suggested would be for.

  • mmarcati

    Have you tired the get Viewport(Top, Bottom, Left, Right). For example:

    ViewportTop = get the Y co-ordinate of the top edge of the layer's viewport

    ViewportLeft = get the X co-ordinate of the top edge of the layer's viewport.

    You then subtract those values off of your objects positional values to give you a co-ordinate for your current viewport (screen).

  • Yudraciell

    Hello Yudraciell,

    As of r100 (The next C2 update), the ability to export to *.exe should be added. This will be released in a few days time.

    Within the game you are able to use a variety of objects such as arrays, webstorage, Dictionary etc... To store relevant data for your game. If this is not enough, you are able to communicate with a database via a PhP webpage, but this requires you writing your own PhP page. Alternatively information can be stored in XML format, where by you can send call backs to retrieve the information you want. But again this requires you to write your own XML tables.

    Concerning monetising your game/application. There are a variety of ways to do this now, either with thrid party portal sites such as Kongregate. Your own site. Or with the upcoming exporters. If you are able to code in Javascript, you can create your own objects to allow for the input of your own coding snippets.

    I am interested in which advertiser will allow you to paste code directly into an HTML5 application/game. I understand it is common with Flash games, but at the moment I understood most advertiser would prefer adverts to either be infront of the HTML5 application (Such as with Kongregate), or besides its (Such as with adsense).

    Hope that helps at least a little,

    -Adam

    <font color="red">Edit:</font> There is another forum post concerning monetising which you may like to read: http://www.scirra.com/forum/monetizing-our-games_topic55584.html

  • Try Construct 3

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

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

    The purpose for the Iframe is really to position the game on your webpage to where you want it. As well as for asthetics.

    If you are just running the game and nothing else, having a menu button which changes the webpage for that window/tab, will just change the webpage. Maybe that's all you want. Its worth exporting a small project and playing around with it live on a website.

    I think there may still be the limitation of keeping all the games on one domain. If I recall my experience when I tried to call urls external to my domain, I had to use a work around where I would call another url on my domain which then forwarded the client onto an external site. Otherwise it didn't work. But that was several C2 versions ago.

    If I get time I'll experiment. Otherwise the best thing to do is just play around with a few simple C2 projects to see if you can change url the way you'd like.

  • mmarcati

    I have an untested way to go about your problem. I was hoping to produce a tutorial about it in the near future if successful. It requires the following:

    -That your game be played through an iframe

    -All your games are hosted at the same domain

    -All games are the same dimension

    You first load up the url, which loades up an iframe with a 'Menu' project. Then from inside the project, the player selects the game they want to play. This creates an event to change the url (I.e. change webpage) in the same window as the C2 game (Iframes are like a layer above another webpage). You remain on the same webpage (due to iframe), but the webpage within the iframe changes. If this works, the result is, your first project acts like a menu.

    Hope that helps,

    -Adam

  • TELLES0808

    I'm not sure if this helps:

    http://www.englishacorn.com/press/wp-content/uploads/2012/08/animation-1024x576.jpg

    I found the box behind the sprite animation editor. From there you can add new animations and rename them. Then in the events sheet you can change between the animations. Each animation has a set of different frames. Each animation can have its own loop, loop speed etc...

    Normally most people stick with the 'default' animation lable, unaware of the ability to add others.

    Let me know if you need another picture.

    All the best,

    -Adam

  • Off the top of my head, you may be able to use way points.

    Basically, each second, the system create an object at your mouse pointer's (x, y). And gives it a variable number (I.e. called "WP"). Each time adding +1 to the value, so you are left with a series of waypoints with ascending "WP" values.

    Your sprite has a variable, lets call it "Number". It compares the waypoints on screen and angles itself towards the waypoint if "Number" = "WP". It then moves at that angle. When your sprite collides with the waypoint, you add +1 to "Number", which means it then angles towards the next way point. And moves onward.

    If there are now waypoints with the same "WP" values or less than "Number" then your sprite dies.

    Each waypoint can also have another value which acts as a count down time, that when it is below 0, the waypoint is destroyed.

    Each waypoint is 'invisible', so can't be seen when the game is played.

    Hope that helps,

    -Adam

  • Depending on how intense your event coding is. If you are like me, and like creating and positioning you objects from the events editor, its fairly easy to duplicate events creating objects onto a different layer but in the same manor.

    I.e.> Start of Layout, create object, layer 1... Position

    Then, create same object, layer 2... same position.

    Etc....

  • shinkan

    Agh, I understand now. There is a work around for this using events for the time being. If all the images are already loaded into your game. You create a separate events sheet which programmes the layout, its looks, image positions etc.. You then 'include' this event sheets in other events sheets. So that upon a trigger it does what it needs to do. The downside being that you may need to add a layer on each layout. And it is not as efficient as the method you suggest.

  • I'm hoping to create a tutorial about this. From reading your post, if the fade is a transition between layouts the quickest way is as followed:

    After creating your layout add two layers. Set their background colour to black and have one with their transparency set to 'No' (I'll call fade-in layer). (I find using layers instead of a black pixel a little easier)

    At the beginning of the of the layout, set the fade-in layer's opacity to 100%, then 'Every Tick' set its opacity to 'Its own opacity - (dt*60)'. This should give a fade in effect.

    Do the reverse for the fade-out layer, then change layout when its opacity is greated than 99%

    Does that help?

  • Skillasaurus

    When you say:

    "Dang. So if I am having an Event with FamilyOne, I can't pick the same object from FamilyTwo by its UID or anything? Thanks"

    Do you mean there are various objects assigned to two familed. Something happens to One object from FamilyOne. You want to pick that object to then apply events applicable to FamilyTwo for that object?

    Or do you mean, if FamilyOne and FamilyTwo collide and the objects are both assigned to FamilyOne and FamilyTwo, how do I identify between them?