lucid's Recent Forum Activity

  • ok, I got this to work:

    SpriteString is a vector with pointers to each sprite object which is standing in for a character in the written phrase (bitmapped text object)

    so ACE would be three sprite, one for each letter

    in that order, in the vector

    ForEachLoopIndex (//long name I know)is just an int, used for the loop index which the entire object has access to

    long ExtObject::cForEachLetterInPhrase(LPVAL params)

    {

    EventParametersInfo2 epi;

    pRuntime->GetCurrentEventPtrs(epi);

    for(ForEachLoopIndex=0;ForEachLoopIndex<CurrentPhrase.GetLength();ForEachLoopIndex++)

    {

    pRuntime->SelectAll(FontSprite);

    pRuntime->Select(SpriteString[ForEachLoopIndex]);

    pRuntime->RunActions(epi.pActs);

    }

    return false;

    }

    is there anything I'm missing here that will break stuff down the line if I don't add it, and people start using this for more elaborate purposes?

    I also specified SOL_MODIFIER in the ACE

  • This is awesome work so far . Very nice job.

    I can't figure out what the newline character is, though. It looks like two pipes in the edit box to me, but when I type two pipes nothing happens.

    thanks

    I can't figure out the newline character either

    in construct it's just "newline" (without the quotes)

    I'm not sure about the editbox object though

    when the rest of the plugin is totally working

    I'm going to add editbox functionality anyway, so you can let people type in their names for games and such, without having an invisible edit box

    also, so you can limit it to a certain number of characters, and such

    also, for those of you just joining us:

    click here to try it so far!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's a simplified pic, which ever condition you put first will ?urn ?lack. Interesting enough, just inverting ?ne ?n it's own event by itself actually PICKS the ?ower/highest doing the opposite. <img src="http://img14.imageshack.us/img14/9859/postimagetodelete.png">

    The ?hing is ? thought it was annoying that it didn't ?ork as expected because the event ? had it ?n was ?ong and thought ? did something wrong somewhere as usual, but luckily because ?f the way ? ?et up my events ? already had a way around it.

    As for your solution, ?ell the event this was ?n wasn't actually that ?imple and was meant to ?ork for any instances that was between the highest and lowest and required inverting to ?ick the rest, but it's already taken care ?f. Thanks.

    I got most of that, but I'll have to brush up on my korean a bit before I can properly respond

  • that's awesome quazi

  • how can you make a looping condition

    if my plugin has a vector of Object Pointers:

    vector<CRunObject*> Objects

    already filled with the needed instance pointers

    and basically like the system:: for each object condition

    it loops through each object in this array

    but there is internal information inside the plugin that is needed for specific index values so the system condition can't be used

    I tried dissecting the sprite :: on collision condition,

    and I can't tell what's necessary for this purpose, and what's there solely for the unique circumstances of collision detection

    can I see a simple example of how to create a looping condition that picks one object per iteration?

  • btw, after seeing some more natal vids, and the commercial, and such

    I'm equally excited for those possibilities

    2010 is going to be the future!

    just like the old days

  • [quote:3j0qlbdb] I think it was at this point that the innovation started to ebb, and formulaic game design started to show, closely followed by the gimmicky Wii.

    It's only Nintendo doing this? Personally I think most companies in the commercial area are doing this. If you didn't notice PS3 and Xbox are both trying to incorperate the wii's "gimmicks" for themselves to further expand their audience.

    yes, alot of companies in the commercial area are doing this, but not to beat a dead horse, but littlebig again, spore, team fortress 2, left4dead, okami all come to mind as different enough not to be purely formulaic. and the fact that wii has motion controllers isn't the problem. it's the fact that every wii game uses those controllers as an excuse not to have a real game underneath. raving rabids came out for pc for some reason, and playing it with the mouse shows how much it's not even a game, using motion controls to enhance a game is one thing, reducing your game to nothing but a motion controller tech demo is a whole different thing.

    btw, when I first tried the wii, I was blown away with the amount of disappointment that could be experienced in a single moment. what the wii controller should have been is what the ps3 motion controller is. you can swing a sword, and have your character swing it the same exact way. that's what I thought zelda would be like. that's what the wiimote should have been, instead, swinging the controller is the equivalent of pressing a button. it's completely lame, to put it simply. and the wiimote motion plus, is going to be like the ps3 motion controller, except with lag, which while a huge improvement, is still pretty lame. and btw, project natal is lightyears beyond the wiimote.

    [quote:3j0qlbdb][quote:3j0qlbdb]genuinely don't like what the Wii is doing to the gaming industry

    Oh no! They're adding motion controls! They're being experimental! At least they're daring enough to make the bold steps first for what most likely will continue to be improved in the ages to come.

    adding motion controls is very cool and experimental, if they had done it right. they didn't, but let's just pretend they had. using motion controls as a coverup for shallow games is lame. imagine wii sports with a regular controller, because once again, when you swing a remote, you're basically just pressing a button. imagine wii sports tennis. you press a button when the ball gets close. uh....not fun. at least in pong you got to move your paddle

    yeah, that's why I'm glad controllers and console style games are starting to come to pcs

    and also why I bought a ps3 instead of a 360, all the killer app for 360 are fps's, and while the ps3 isn't much better, the exclusives for the most part are not fps's

    I'm really looking forward to the motion controllers for both systems, and if they use the Natal to the fullest, I will probably buy an xbox360 as well

  • sorry ash, like I said

    I don't anticipate anyone needing 1,000 objects

    it's just going to be a simple plugin for those rare cases when you want to bypass picking

    if you have a very specific set of tracking algorithms

    and none of the picking, family, object pairing methods is a good solution

    so you can make an object array, and be able to pick any random index or range of indexes

    and have these aligned with another object array of say hashtables, if you wish

    also, for stack and queue picking of the objects in the array

    that's going to be the only purpose of the plugin

    I used 1,000 as a purposefully extreme number, because I wanted to make sure the object pointers themselves were an insignificant amount of ram, which they are, I see

  • post a screenshot

    I can't tell what's a subevent, and whats another condition in the same event

    but there are two ways you can do this

    one that uses variables, and one that uses double families

    the private variables method:

    enemy pick with highest x

    highX=.x

    a new event

    pick with lowest x

    lowX=.x

    then set your middle enemies x to lowX+((highX-lowX)/2)

    or you could set it to lerp(lowX,highX,0.5)

    the way with families would be

    make the enemies members of two families

    let's say low is blue, and high is red

    Red pick with highest X

    subevent(blue pick with lowest x)

    create new enemy x at blue.x+((red.x-blue.x)/2)

    or lerp(blue.x,red.x,0.5)

  • thanks alot ash

    vectors it is!!!

    the 1000 objects question is more about support for the end user of object array plugin

    if and when I get around to it

    I just wanted to make sure if someone made 1,000 objects

    it would be them slowing their program down, and not the 1,000 object pointers

  • I've learned how to implement vectors, lists, dequeues, and of course plain old arrays, and I know enough now to get them working for the purposes I need,

    the stl, and

    vectors in particular seem to have a bad reputation in game dev use

    I keep reading that vectors, and the stl in general are very inefficient

    and that they are strongly discouraged in game use, and forbidden in some studios altogether

    while in some discussions, people seem to completely disagree

    I'm having difficulty determining the context of this inefficiency though

    basically I won't need any sorting capabilities at all, I will need tons of random access, maybe thousands of random accesses per tick,

    A: should I avoid them altogether

    B: how important is it to consolidate adding and removal

    should I keep adding and removing (to the end only) in one tick down to 10?, 100?, 1000?

    also:

    C: what is sizeof(CRunObject*) can I make a thousand or 2 of these without a crippling ram impact?

  • [quote:127oecd9]Well, you from the other hand start sounding like sony fanboy

    I'm a game fanboy

    I play my pc more than I play my ps3, but if we're going to talk about console games, pc doesn't apply. I didn't get a 360 because A: I refuse to pay for xbox live. That's like me buying a Corolla, and then paying Toyota to drive it on highways. and B: because every xbox360 killer app is a First Person Shooter. They are better played with a keyboard and mouse. This is arguably a fact, and not an opinion, because it gives you greater control, and the possibility of faster gameplay. plus my pc puts 360 and ps3 to shame, so why would I play the same games with worse graphics, worse gameplay, and I get charged to play. so that's why I have a ps3, for console style games, and since that's whats out now, what else am I supposed to mention?

    anyway, that's off on a tangent, trying to contrast nintendo to another hardware or system developer by talking about purely adult oriented games is meaningless. sony is my only point of reference, but yes, at this point in time, I think ps3 is the best system to have. if that project natal proves to be all it's cracked up to be, than maybe that'll change next year

    [quote:127oecd9]Anyway and after all what's importand is the game itslef. There is loads of crap on all three systems. I haven't played LBP but for me it seams like 10 minutes fun. Seriously. I prefere diferent kind of games. But that's personal taste.

    10 minutes? that's a silly thing to say if you haven't ever tried it. it's a platform game, like the old mario games, but it allows people to create and upload levels. I can play little big planet every hour of every day for the next few months, and probably never play the same level twice. I work a full time job, but if it weren't for that, I could spend hours on end creating my own levels. the level creator is a huge technical achievement. it's a great game, you should try it if you ever get the chance

    [quote:127oecd9]Now Pixar - as fare as i'm convinced, Pixar was created by Disney.

    they weren't, disney has nothing to do with their content creation, and it shows. they are not involved other than publishing and distribution. pixar was bought from apple who had bought it from lucasfilm.

    As for me, i've got ps2, gamecube, ds lite,

    okami for ps2 is awesome if you haven't played it

    and oh yeah, I forgot, nintendo made the ds

    that's a good example of nintendo, when it's doing it's thing

    that's an awesome system. although I haven't had the pleasure of owning one

    it's a brilliant little piece of gaming machinery

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