lennaert's Recent Forum Activity

  • > Do as google does, slice it up in parts.

    >

    Which will only help if you dynamically load and unload them from memory, right?

    Which construct 2 doesn't do as far as I know..

    All images on a layout are loaded into memory at start of layout..

    https://www.scirra.com/blog/112/remembe ... our-memory

    Slicing it up in parts will aid the rendering. (Image not on screen etc)

    Also, some devices are unable to handle image of enormous sizes.

    He could, divide the sliced parts over layouts too. i.e. have 4 pieces on each layout, the cross section in the middle, if you come close to one of the layout edges, load the other layout corresponding to images.

    example, the 4 squares would be layouts, the transparent squares image parts.

    This could greatly reduce the performance problem. It just requires a bit of smart approach <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do as google does, slice it up in parts.

  • As a solo developer, you will need great descipline to finish up on certain elements or aspects, or have enough insight/restraint to not get lost in nitpcking details of your creations.

    Being able to step back and pick up another aspect of the current development project can be a massive time saver.

    I have grown accustom to working max 2 hours on a single issue at a time. Often, having taken a step back and looking at the same issue a day later, does wonders for thinking up applicable sollutions.

    This obviously can work well in collaboration too.

  • Is it perhaps possible to have an extra preview option ?

    A preview where it tries to reuse previously exported image sheets.

    I would imagine this could be very handy where people only tweaked some logic settings/events.

    Perhaps the image editor could make some sort of a time stamp when the last image is edited/updated in the project, and if the time stamp was unchanged since last preview, reuse the previously exported images.

    If that would work, it could significantly reduce preview loading times for those with large amounts of frames/images in their projects.

    The only time where my previews became annoyingly long, is when I used lots of decently sized images for animations and all the sprite sheets require exporting each preview run.

  • if key up is pressed

    ELSE

    if key down is pressed

    ELSE

    if key left is pressed

    ELSE

    if key right is pressed

    This will only allow for 1 key to be pressed at a time.

    If you want to allow only up or down and only left or right

    if key up is pressed

    ELSE

    if key down is pressed

    if key left is pressed

    ELSE

    if key right is pressed

  • This is not a bug, but how you implemented the multiplayer concept.

    First problem: for the synching, you should add the client input tags, "xpeer" and "ypeer" on event 8 in the game event sheet. (like lookx looky and input tag)

    Adding those will fix the host movement on host and peer.

    As for peer movement, there is no peer control structure implemented.

    Simply copy the control pieces from the host group to the peer group. (event 29 in host group) (or move event 29 to the common group)

    And voila ... it will work. (just tested here)

  • Problem Description

    Any project I preview with front to back rendering enabled gets a black screen, even a blank new project.

    Attach a Capx

    a new empty project will do

    Description of Capx

    do anything ... or nothing

    Steps to Reproduce Bug

    • start preview

    Observed Result

    black screen

    Expected Result

    preview working

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (NO)

    Operating System and Service Pack

    win 8.1 64 bit latest

    intel gma 4500m

    Construct 2 Version ID

    208

    Error in Chrome console:

    Error in Firefox console

  • I have uploaded a version of my upgraded RTS template to the arcade, including a commented CAPX.

    Its a cooperative game play version.

    RTS template in the arcade

  • For those interested in the result, I applied the basics of my solution to the RTS template.

    RTS template multiplayer template in the arcade

    Max 4 players per room, each player starts in a corner and has 4 tanks, enemy tanks keep spawning.

    Firing accuracy is handled by the peers turret behavior so isnt 100% across room. (was not the focus of the implementation)

  • After near 24 hours trialing and testing: Problem solved, RTS game play success.

    The approach has a hint of crazy to it, but ... it works pretty damn good.

  • for RTS like games, I have been looking into using more synched objects for every single peer.

    In my current development tests, I have been using a single sprite object, with animations and frames.

    Animations representing sides (peers), frames representing the ships.

    Stuff just goes wrong to say the least

    Things go wrong with the assigning of peerids, I think, which seem to have the need to be unique .... which gets problematic if you want to associate something after the creation of the first object for a given peer .... (which also got assosciated with peer)

    I would prefer to keep using the synching options, as they work best with the positions and such.

    so .... I am looking for inspiration on how to approach this issue.

    Change my objects setup ?

    Change synch methods to direct control methods ?

    Perhaps I am just missing a simple thing/option/approach which could enable me to do what I want .... RTS game play.

    Perhaps Ashley has some ideas .....

    cos somehow I think me asking this here is just wishful thinking ...

  • play animation : choose("kick","punch","duck","fall")

    choose("item1","item2",etc) will pick one of its items randomly.

    Edit: ninja'd by littlestain

lennaert's avatar

lennaert

Early Adopter

Member since 8 Oct, 2013

Twitter
lennaert has 13 followers

Connect with lennaert

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

25/44
How to earn trophies