lucid's Recent Forum Activity

  • awesome stuff as usual quazi

    did you say there was a zombie game in the works?

  • this is almost as bad as the hidden 1hour competition subforum

    this should be a new forum thing

    seriously though...it's awesome that a 1 hour competition is even possible in construct

    it's nuts when you think about it

    READY.

    10 PRINT"HELLO"

    20 GOTO 10

    HELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLO

    HELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLO

    HELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLO

    HELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLO

    HELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLO

  • cmon yall

    if you're gonna do coolness like this

    make it it's own forum

    I mean

    who goes to uploads anyway?

    it's definitely not where the happenin crowd be hangin

    this is like hosting the olympics in antarctica without announcing it first

  • oh, you rock, too, ashley... I just meant for actually responding to my thread though

  • thank you rich

    you rock

  • not to be a pain, but...uh

    is copying contents of canvas with image manipulator supposed to work or not?

  • new version with multiscrolling

    click here

    also, in the first version you see a whichstar variable with random on it to choose the star, and then it never gets checked, that was supposed to be the variable temp. it's fixed on this version...not that it made much of a difference in the first

    EDIT: Now with actual nasa photography...not joking this time (3 stars extracted from this photo (http://www.universe-cluster.de/fileadmi ... _stars.jpg))

  • Now you can increase your post count while on the toilet .

    I've made quite of few scirra posts from the toilet at my job

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you can do procedural generation in construct, but you can't just make a module that does that, that'd be kinda like asking them to put premade sprites in construct. the procedures that generate stuff are going to be different in every game.

    that being said -

    here's a quick example with beautiful art collected from actual nasa photographs

    click here for example cap

    move mouse away from center of screen to scroll, center in screen to stop

    I'm not sure how much of construct you've learned, so this may or may not make sense. (i wrote this before I just changed my mind and decided to make it, took about as much time as it took to write it as to actually make it, cuz construct is cool like that) but a good start would be to make a few different basic star sprites, make them as large as the largest one you want and scale down from there. set them to not disappear when they leave the screen, and make an event at the start of layout that loops to a given number (you'll probably want to change this over and over until it looks good). for each iteration of the loop, have it create a star object, picked from the pool of stars (you can also set it so certain common looking stars have a greater chance of being picked), have it choose a random size to scale to, and make it create that star at a random location. with random brightness and angle.

    this isn't in the example, but if you really want to make it look awesome you make multiple layers and make them generate random stars that are smaller on slower scrolling layers so it looks 3d, if you need some help with that it'll have to be after the easter egg hunt.

    edit: as ashley said, you can save memory by creating stars as you're going along, not sure what type of game you're making and whether or not that'll ruin the effect you're going for

  • lol

  • I realize that this isn't the most practical test in the world, but I was curious how well construct performs and it also relates to a project I'm working on with fake vector objects built from very few sprites. I thought some might be interested in the results

    basically there is a sprite 512x512

    it creates a new instance of the sprite in a random spot every tick

    it also moves every existing instance and rotate it randomly every tick

    there is text to keep track of the number of instances, and the remaining vram

    I used fraps to keep track of frame rate

    here are the results:

    up to 1000 instances of the sprite(60 frames per second)

    at 1000 instances the frame rate drops immediately to 30 frames per second

    at 2000 it begins to drop slowly and by 2300 its around 20

    after 2500 instances it goes to 15 and drops steadily

    on a blank project of construct I have 252.2 vram remaining

    on this project I have an unwavering 251.8 vram remaining

    as many of you knew, the increasing number of instances has absolutely no effect on vram

    if anyone wants to try this on their system, please post your results and system specs

    I'm curious to see if the 1000 and 2000 marks are a steady point of decline on all systems

    http://www.fraps.com/setup.exe <-this will track your framerate accurately(for any directx software)

    this is the cap

    my system specs

    athlon x2 4.2

    4 gigs of ram

    vista 64

    geforce 8800 gts 256mb ram

    also, as a side note, I tried the same project with tintplus applied to every sprite, regardless of whether you just have it on, or whether you're changing the tint every tick the frame rate drops rapidly from the beginning and is below 20 before I got to 650 instances

  • I know what to do!!!

    .

    .

    .

lucid's avatar

lucid

Member since 16 Jan, 2009

Twitter
lucid has 22 followers

Connect with lucid

Trophy Case

  • 15-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies