lucid's Recent Forum Activity

  • ...Do you want to do a #8 on conditionals by the way, or should I?

    I took 8...sorry bout that, but can you please tell what this conditional thing is?

  • I know this is no substitute for an object, but

    it's kinda fun

    and it works differently than the other cap I saw, shorter and more customizable:

    if you want to use a different font

    make the sprite font strip evenly spaced,

    and input the characters from your font strip into text2 and you can use any fontstrip you want

    maybe you'll want to edit it for your purposes

    to test

    just type in your words into the edit box

    click here

    as you can see, you can do text blitting in just a few events

    also, if you wanted to make it more efficient, you could make it so it didn't start from scratch every time

    but it runs well on my machine at least, until you type a few hundred characters

    for you troubleshooters out there if you change the toggle off on that action in the beginning and move sprite2 onto the board, you'll see it's glitchy for the first 50 something characters kinda weird, not gonna troubleshoot it anymore for now at least, not having any luck

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I thought you wanted it to only make this new one flash

    but since that's happening, you must have meant something else

    i didn't even realize you could make it create a random one by asking it to create an object from a family

    but

    if you want it to create the new random one and still make them all flash, then when you call your function tell it to "forget" picked objects instead of remember

    then they all flash when the random one is created

  • empty project, the object in question

    + 1 text object displaying vram remaining

    hash table with 10 keys

    2522873856 k in vram

    12576 k in task manager

    10x1x1 array

    2522873856 k in vram

    12556 k in task manager

    0x0 sprite with 10 entries (invisible and off screen)

    2522873856 k in vram

    12528 k in task manager

    0x0 sprite makes 0 impact in vram when invisible

    I did this twice, accidentally erased my post the first time

    and the other time the sprite used the most ram in task manager

    with the array in second. I guess it doesn't make much of a difference

    it's all a matter of convenience

    unless you plan on having 100s of variables, which I do

    but then, you'll probably need an array

    or a bunch of sprites storing xy info anyway

    I think it's low priority,

    but I don't think it's worth getting all aggressive about

    also, I get his point

    it is a workaround. it's no big deal

    it's not like construct is full of em

    but it is.

    putting a text object I don't need in a project in order to store variables locally

    is a workaround

    it's not even a pain in the ass, it's almost as simple as having an object made for it

    but it is a workaround.

  • is there any good way to do such a thing?

    Private variables don't correspond to an ordered indexed list of objects

    is there an ordered indexed list of objects somewhere? like if i keep track of what order they are created, can i pick them by index? ooooh! i just thought of a cool idea that might work for this particular need. let me know if you see any holes. basically i had a hundred or so sprites ordered in a certain way, and i wanted the last one dragged to remain pickable indefinitely, so i could do operations on all sprites, or pick a group, but still go back and that selection could be used as needed for all future actions until another was dragged. i could make a single object of some type called "picker", and then use the object pairer, and use an event to pick picker everytime i need the other thing. neat. still though, i can see other times when being able to single out a pick like i was trying woukd be useful, is it possible to do in a nonwasteful way?

    thanks rich for the response

  • I don't know much about how events work from a behind the scenes standpoint, so I have a question about how much cpu time I am or am not wasting doing something a certain way

    so let's say I had a 1 dimensional array of objects in c++

    and I decide I want to do something with some arbitrary object (let's say..the 24th object) in the array

    I can just say my_array(23) - do whatever

    now in construct, I can create an 'array' of objects using a loop that creates one object per iteration, sets a private variable in that object(let's call it "index") to the loop counter value, and every object gets a unique ordered index

    then later I can pick any object directly by having an event with the condition

    sprite.value('index') = 23

    works fine, easy, wonderful

    my question is, from a processing standpoint, is this like c++, pretty much direct

    where one object has this index, so it triggers this event

    or,

    am I basically making the exe loop through every object and check the value of "index",

    so if I have 100 objects, I'm making it do 100 steps instead of 1?

    i suppose for one group of objects it shouldn't make or break anything,

    but for the project I'm working on, there are going to be quite a few picks like this going on

  • strange indeed

    I created a new project from scratch to see if there was anything random that might have caused it

    but it does the same thing

    a shame, too

    I'm a big fan of the ik plugin

    if you'd like to pm me the code I'll take a look and see if I find anything

  • There's a thread in open topic, and this forum's displayed in the main page. Adding more forums to the main page is more clutter; I think a lot of people know about this by now.

    oh, open topic

    now that place is happenin

    where have I been?

  • sorry, no, it's awesome

    I meant it's bad in the sense that I didn't know it was happening until I was too late

  • you ask about my zombie game, thats a top secret project currently operating in stealth mode.

    what?1 how dare you?! tis' I who asks. lucid. was it not i who invented the idea of zombie games? was it not the thought of me that fueled your late night coding and thinking sessions?!

    there there, now be a good chap and post a cap as i have requested, lest you incur the awesome wrath of my scirra clout.

    i was totally joking, btw. and the zombie game sounds awesome. i actually have a few things im working on with vectors and procedural walking stuffs i can post a cap of if and when i get it all in working order. its nice to see someone else whos into this kinda thing. i love construct

  • The multiscrolling version is quite choppy for me. Only 10 fps. The first one however is fine.

    Also, seeing as how I've already gone through making starfields and got quite annoyed with it, I'm going to let you know that you're probably going to hit a wall with this current method.

    Larger layouts = more stars which takes a long time to create on startup and more resources used in general.

    I'll probably make a new version just barely larger than the screen later to keep the resources down.

    I wonder if there's an easy way to emulate a slower system, other than bogging down your system though, because I get the "that runs like crap on my system" thing alot with my caps for things that run silky smooth. I guess it's a good problem to have, as opposed to the other way around.

    lucid

    Even though I have not learned much yet. It's still quite understandable. I'll look at the cap's later. I'm not at my computer.

    true,

    hope it runs well

  • this worked with that other thread so, let's give it ago....

    ....ahem....so, I'm having this problem with this physics thing I was trying....

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