mystazsea's Recent Forum Activity

  • If you are after a Straight line......Create a 1 or 2 pixel square Sprite object or better yet a tiled Background object

    Set its x, y position to the first object...Then set the objects width to the distance between the 2 objects and the angle to the other objects x,y position(use image points x,y for accuracy)

    Below I have included a simple demo of how to do it one way..there are most likely plenty of other ways..

    Just Drag either object to see the line appear

    A line between 2 objects

    https://www.dropbox.com/sh/2lmy1a0t8galurf/AAAm6isv0mjZqRMOY_FA4Zh7a?dl=0

  • well you know what they say.."great minds thinking" and whatnot...

    My bet is that Ashley has already started the process..hehe

    Maybe we are all on the same wavelength....Synchronism at work ?

  • Hey Ashley .....

    I was just wandering around today & I was thinking about something that would be 'Amazing' (understatement of the year)

    if it is possible to implement..

    I would like to see in Construct 2 a new set of Objects

    Bezier Path Loop This would be a closed loop comprised of Bezier Curves & nodes

    &

    Bezier Path Spline This would just be a Bezier Spline with two end node points

    A graphical example of what I mean...

    The idea would be ..You drag a Bezier Object into the Layout & set its number of nodes & then use drag handles to make the shape you need, and then The Bezier Object would function as a Custom movement path or as easy Solid or Physics Platforms... So each path would need to have built in variables like,

    -Number of Nodes(for adjustment)

    -Path speed ( the speed at which objects travel along it including Adjustment integration via Events)

    other stuff that you might think of..

    & also allow the Beziers to be affected by Various Behaviours..say for example....

    -Sine (may cause buggy or interesting movements)

    -Rotate

    -Fade

    -Timer

    -Solid & Jumpthru Could be a nice feature for building Spline based levels like seen here http://www.simbryocorp.com/Ferr2DTerrain/

    Obviously it is not reasonable to expect that all Behaviours would work correctly but whatever does work would be cool...etc

    The main purpose of the Bezier Path Objects is to allow any other objects to move along the Bezier object path...at various speeds, accelerations & interpolations etc

    Event sheet Conditions for the Objects could include

    -On path start,

    -On path End,

    -On loop complete,(for each time the Object completes one pass of the Loop, collect $200 )

    Events could be

    -Move Object along Path by Direction...(left or right, clockwise, anti clockwise, whatever)

    -Move Object along Path (Fixed Angle)

    -Move Object along path (Perpendicular to Spline)

    -Reverse Direction of Object movement

    -Set Speed of Spline Path

    -Set Acceleration of Spline Path

    -Stop Object on path (defunct if able to set speed)

    -Drop Object off path (or 'Destroy' Bezier)

    -Add Object to Path at Node

    -etc

    Easing Motions along the Beziers Paths would be awesome as well..Maybe added as a Behaviour?....

    I know we already have motion tweening and whatnot & that we do have these math functions in C2 ..but this would really add some groovy features if it could be made into a Behaviour ...or set of Behaviours, like

    • Quadratic Motion Ease..
    • Linear Motion Ease..
    • Etc

    Or perhaps It would be better to build these Motion Eases into the Properties of the Path object

    So we could with the click of a button have linear, cubic, circular, sine, quad or exponential interpolations along the spline path...

    and even better yet....

    Different Interpolations "Between 'each' node of the entire spline path"

    ie: between node 1 & 2 you have linear motion & then between 2 & 3 you have exponential...etc

    O M G ! ! !

    Then,

    for Animations and motions....etc... We could do stuff like this

    http://www.motionscript.com/articles/bounce-and-overshoot.html

    with the click of a few buttons..

    That would be pure legendary level stuff..

    The Interpolations would work out, a little like this, Ashley...if you get what I mean http://gizma.com/easing/

    I know its a big Ask...but it would be soooooooo Awesome...

    is it doable?

    Would love to see this as a permanent feature in Construct 2

    What do you think?

  • Plz feel free to suggest anything youd like...if you can think of something specific..the sky is the limit....The goal is to improve C2 beyond our wildest expectations.. heehehe...its alive!!

  • I am wondering if we could get an Audio Events overhaul...

    I have noticed some features missing that would really streamline production..

    A few suggestions for new Audio Events that I would find useful...

    "Preload folder"

    or perhaps "Preload by tag"

    Rather than just individual audio files...

    I am not sure if you can do this yet...there seems to be some functionality with the "preload by name" event for folders but then then you still have name files individually..

    I am not sure what would be better..perhaps Ashley if we could re look at the Audio features and events maybe a slight overhaul or look into some further integration with Tags and Folders some how..im not quite sure how to go about it, but I would like to be able to preload large Tagged groups or folders of Audio files...

    The main reason for this being that many of my projects have hundreds of sound effects...

    and they are often grouped by folder such as "Enemy Bullet fx" or what nots

    if anyone else has some ideas..perhaps we could pin this thread or bump up ..

    I think it would be nice to look further into the Audio features...They are already great..but I feel that its possible to squeeze even more out of HTML 5 browsers than what is already featured in Construct 2

    What do you think Ashley? Any chances of an Audio review or slight overhaul o stream line or add more gadgets?

    Further suggestions totally welcome...I'm sure there is more we could do with Audio

    What does everyone else think?

  • Perhaps an easier way would be to post specifically what coding elements you need done...

    At the moment there is only a very vague description of what would be required...

    Perhaps a point list of code you need ..would show people what they are getting into..

    to see if its worth their time

  • Very cool little game...well done...its a simple joy to play....

    good music and flows well....the sharks are scary ...haha

    well done

    its quite addictive

  • Use the coordinates of the positions and "find Path" to X,Ycoordinates..in the right sequence

    Then if path found...move along path

    I often use an invisible helper sprite that is "positioned first on a screen X,Y pos then i find path to the Helper sprite rather than directly...this way you can move your helper anywhere and then make the path finding do the work..

    break it down into steps...or moves....

    like

    find path to (heroX), (hero Y minus your grid size with was 32)

    then move along path

    then find path to (HeroX minus the 64 times how many grids you need to take),(Hero Y)

    hope that helps

  • You can use the WebBrowser Object

    to open any new page at any time you like using normal events

    this way you could for example..when the game is completed

    have a little popup or new layout that asks the player nicely to goto the playstore

    and then either:-

    • open the link for them in a new browser window

    or

    • just give them a link to click on themselves

    not every player likes to be hassled by stuff like this..so do it gently and you should have no dramas

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you need a preset fixed length of digits sequence?

    or just random digits...?

    26 random numbers could be translated into letters

    For a 26 digit random sequence of numbers only

    make an Array 26 X by 1Y in size

    Then

    make a series of events

    something like

    Array for Each X Element--> Array Push Front random(0,25) on X axis

    This would push 26 random numbers into an array

    from here you could get these values and use them how ever you like

    Creating a second random numerical Array with any number of random values from (0,9)

    would give you the raw data you need for Numbers....

    you could also create a algoryhtm that once the random array is created

    then use the Array to take random data samples from the Same Array X Elements determined by the listed or ordered numerals stored in the array

    so for like

    after generating and populating the Array with all of its random numbers stored into each X element

    you could then get the first value at X and then use that to take another number from the element value it represents

    so if X1 happens to be a "6"

    you would then get the Value stored at element 6 and use that as the random multiplyer for anything you like or just take its raw value because its already random from its initial generation

    you could transpose alphabet letters onto the Random Values how ever you like

    once example would be

    A=1

    b=2

    c=3

    and so on

    but you could also reverse it or "shift" the sequence along as many values as you like

    even determined by the first value in the cypher key stored at any position on the Array you like

    This is the basis of cryptographic keys

    shown here in one example of many such possibilities

    [attachment=1:2f3eafod][/attachment:2f3eafod]

    only you know which Value is the key and its position can also be stored by another random number assigned to a X value..

    hehehe

    "shifty" hey

    here is a random number and letter generator I made ages ago

    [attachment=0:2f3eafod][/attachment:2f3eafod]

    it might help you somehow

    hope that helps

  • WOW...Thats pretty darn good

    bravo

    a top effort

    why dont you post it on the ARCADE...its great!

    well done

    5 GOLD STARS!!!!

    simply brilliant effort

  • Yes its a great Feature....

    I tend to break down all my events into systems

    so for each system in the game ..like

    player controls

    enemy ai

    music systems

    level generation

    HUD events

    Camera controls

    etc

    they all go on their own event sheet

    it makes it soooo much easier to read and find where problems are..when debugging because then the debugger tells you exactly where the bug is happy joy

    Build robust systems from well planned events and you have epic WIN

mystazsea's avatar

mystazsea

Member since 14 May, 2012

Twitter
mystazsea has 1 followers

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual

Progress

13/44
How to earn trophies