lucid's Recent Forum Activity

  • a little vague on the details, but if I'm understanding you

    it should work like this

    Mouse/Keyboard - On Left Click

    -----Mouse/Keyboard - Shift Key is Down

    ---------------System Create Object "wooden crate" at mousex,mousey

    -----System - Else

    ---------------System Create Object "steel crate" at mousex,mousey

  • so you're using physics then?

    I haven't played the zelda game in question, so do you want them slowly drawn towards you as you hold? if so, what happens when they're right next to you? do they stay stuck there? These are questions I ask for the sake of this question, but also things that construct won't know until you tell it.

    But for starters:

    ----------------------------------------

    MouseKeyboard - Left Mouse Button is Down (Not on left mouse click)

    -----Continue to draw the enemy in some way depending on what you need* //assuming the enemy is always hovering in front of you in the direction you're facing: MouseKeyboard - On Left Mouse button released -----Set Force toward Position (hero.x,hero.y) Force: 0 - lerp(minimumforce,maximumforce, clamp(1-(distance(hero.x,hero.y,enemy.x,enemy.y)/maxdistance),0,1))

    -----------------------------------

    if you don't know what lerp does, try this tutorial:

    clamp keeps values within a certain range like clamp(x,min,max) will just give you x right back to you, unless it's lower than min, or higher than max, then it'll just give you min or max.

    so clamp(5,0,100) = 5

    clamp(-5,0,100) = 0

    clamp(999,0,100) = 100

    depending on whether you love math, and whether you understand lerp and clamp, that last part

    [quote:eoriejul] clamp(1-(distance(hero.x,hero.y,enemy.x,enemy.y)/maxdistance),0,1)

    will or won't make sense to you, feel free to ask if it doesn't make sense

  • hey, krush

    this is correct. The object arrays only have pointers to the objects, it doesn't save an actual object. If you were to take a text object and rename it "Sprite", and a "Sprite" was in an array you loaded, it would load that. So, although there are some handy tricks like the Spacial Info Array actions to put all your objects exactly as you left them. Object specific things can't be saved. As far as an update that can change this. I'm not sure it's even possible, but definitely outside the scope of my programming ability. The only thing I can foresee adding to the save ability is private variables, but I don't plan on working in depth on 's' to add new features until after I'm done with my current long term project. Though I will fix bugs.

    That being said, what you're trying to do is actually very simple to pull off. In this example it'll be like you renamed your regular Construct array to ArrayObject, to avoid confusion as you read this

    When you go to save: Say you press F1 to save:

    [quote:15wihy99]

    Mouse Keyboard : On key F1 pressed

    ----S: Create Number Array (or string array if necessary) "MyArraySave"

    ----ArrayObject : For Each Element:

    ----------S.Insert Number : ArrayObject.CurrentValue at "end" of "MyArraySave"

    ----Always:

    ----------S.Save Super {""} : Encrypted

    ----------S.Delete Array "MyArraySave"

    And just do the reverse to load it. Load the s super

    for each number in "MyArraySave", add that data to the standard construct array

    and then delete the s array

  • oh hell yeah, man

    I work at the post office. it's so friggin mindless and stupid

    I can't wait to finally finish something awesome enough to escape that hellhole

  • I know alot of you have probably seen this already. but for those who haven't

    this is really awesome stuff

    watch in hd:

    don't forget to click up to 1080p if your pc can run it....this is amazingly awesome for realtime

  • If its a specific cap doing this my first guess wpuld be a layer effect on the layer you're dragging them onto

  • Foreword:

    dear constant reader,

    when I began writing this novel, it was originally intended as a reply on topic to this thread. It's evolved into what you will read in the following pages, over a long, sometimes grueling, sometimes joyful process. I'd like to thank my family, especially my kids, for being there to support me when dad couldn't play because he was working into the late hours of the night at his writing desk. I hope you enjoy reading it as much as I enjoyed writing it

    - lucid

    this whole console generation has been extremely frustrating though. I'm one of Those people who actually likes the "immature" "my console is better than yours" battles. I've loved it since I was a kid with my commodore 64, amiga, onto snes, and psx, and then around ps2 it became more about the games, since I loved my ps2, but I wasn't really too sure on the power issue.

    Now, in this generation. From my understanding of hardware, and the looks of the exclusives, I strongly believe the ps3 is more powerful, but no companies take the time to use it properly. I also can't stand the way microsoft has completely created this ridiculous culture of xbots who in messageboards would actually defend the idea of paying monthly to be able to play games online. It's so ludicrously unnacceptable and ridiculous of a concept to me it makes me angry even as a non360 owner. That would be like one single car manufacturer, let's say Ford. You buy a ford, and to drive your car anywhere but backstreets you have to pay Ford a monthly fee.

    I'm glad Sony didn't do that, though they still started with the playstation plus thing. That's tolerable to me however. It's like a subscription based coupon book, but it's borderline unacceptable. Also, I think if not for the 360, the DLC crazy would be as rampant. Microsoft constantly hounded companies trying to release free content, and turned many of them to the darkside. Epic games originally said in an interview long ago, that microsoft was "greedy" and wouldn't allow them to release a free map pack (for the first gears of war). Also, somewhat unrelated they said PC Gamers were their bread and butter, and that consoles was something they were doing, but they would never abandon their core market. about the map pack, Months later they said, (it's in quotes, because I'm trying my best to remember the wording, but it's not an actual quote) "we're happy with the way the deal we worked out for the map pack. Microsoft wants what we want: to make as much money as possible, if the other players can get it for free a few months down the line, everyone wins".

    Umm...no they don't, you fractured your community, and anyone who can afford to will have to buy the mappack, or be stuck playing against the few who aren't playing the new maps. If you love your game, it's like you don't really own it temporarily since you have no opponents.

    Also, Epic went on to say something along the lines of "consoles are proving more lucrative than pc's, we're focusing on them from here on out" yeah, well let's see. You make unreal tournament 3 for the pc, then completely ignore your community until no one plays the game anymore, since there wasn't anything new or spicy, or fixes to UI annoyances. So instead of people saying, wow, so many people play ut3, let me see what this is about, there is 0 buzz on the game and it dies far before it's time. A shame because it was a great game, and one of the most unique shooters in years. then start to release fixes and updates after it's too late. but epic's sellout of the pc, is a sidenote. btw, epic, valve seems to have no trouble making profit on the pc.

    back to consoles. let's take an extreme example of this dlc craze. Capcom. I could go on and on and deconstruct how mvc3 was completely engineered to be incomplete for the sole purpose of DLC, but I'll try to keep it brief (though at this point in my post that's probably pointless). First, before the game's release, they had announced the first 2 downloadable characters. what? no no no, the idea isn't to completely f your consumers up the a. You Add On things to your already complete game, to extend the life of the game, or make it more interesting. You say, hey, on the msgboards a bunch of people have been screaming for Jill Valentine. Let's put that in. You don't create a bunch of characters and not put them in the game just so you can sell them later. Second example here's a sample of their 38 character roster(part 2 had 56) hulk, and she-hulk, wolverine and x23 (the girl with the wolverine claws). Zero, but not megaman. The list goes on. It's an exercise in careful omission and fluff to cover it up. But the most glaringly silly example of proof that capcom has gone absolutely scrooge mcduck slimy greedily insane, is "Shadow Mode" - "a series of downloadable packs which allows the player to fight against a team of AI opponents programmed after the techniques and preferences of Capcom's development staff and, according to Capcom, famous players from the fighting game scene". So now capcom is charging people for alternate AI to play against? it's the most ridiculous crap I've ever heard. All that garbage should've been in the game to make it a worthwhile value in the first place.

    But really this whole post was originally going to be a kinda response to what deadeye wrote. I think the ps3 is more powerful, and has more potential with the Cell processor, but almost every company is taking the lazy/profit way of doing things, and just doing a direct port of every game. ignore the extra powers of the cell processor, ignore the extra space on the blu-ray. just release the exact same thing on both consoles, and make that money. I miss the days of the snes, or the psx when you could compare the two versions of the game, and argue about the merits and the graphics of each. Even worse, the pc has gotten dragged into this mess. I play a game like deadspace 2 on my top of the line graphics card, and it runs at like 300 fps. Some might say "lucky you" it runs fast, but that's missing the point. I want it to take advantage of the card, I want to have to turn a setting or 2 down to make it run 60 fps, not see crappy console textures and 3d models everywhere running really smoothly.

    Since alot of this console generation has gotten accustomed to this profit mentality, alot of people might think I'm being naive, but there are still companies out there like Valve, and Dice that really care about making it the best it can be for each platform. And about giving gamers a good value. About just making a damn good game for once damnit, just for the sake of being awesome.

    Dice is making BF3 take advantage of modern pc's and has made statements like "start saving your money for a pc upgrade if you're not up to date, because you'll want it when this comes out". They released a ppt presentation on how they're using the spu's on the ps3 to defer shading and lighting to, to free up the graphics card for even greater power.

    Valve made a deal with sony to release steamworks on the ps3, because they believe being able to push out updates on a sometimes daily basis to fix bugs, or provide new content without needing approval is essential to a great gaming experience. Also when you buy portal 2 for ps3, you automatically own it for pc and mac as well, and your game saves to steamcloud, so you can continue where you left off on a different platform, and all three platforms can play against eachother. A friend told me microsoft realized how incredibly stupid they were for getting in the way of letting valve do this for their big brother service, but I haven't read that for myself. My point is, the greedy ahole business model works, but so does the awesome value model. why not go ahead and just try to make good games..

    one last thing on valve's awesomeness. They have a thing called the potato sack, a collection of indie games on sale at the moment. and they have a deal where if enough steam users buy these games before portal 2's release date, they'll release it early. How awesome is that? Supporting the indie's, a good business deal for them as well, for their share of sales, and the whole thing is presented in a fun way: http://www.aperturescience.com/glados@home/

    in short, cmon you greedy f@#$'s, stop being lazy and start making some great games already that take advantage of each platform's strengths

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • right

    you'd just have to make a second variable for each

    that's what would happen in the pv code to implement what you're saying, and it's just not in demand enough to be practical I think, especially at this point

  • at the beginning of each tick set a pv ChangeFlag to 0

    everytime you make a variable change, also change ChangeFlag to 1

    the condition pv ChangeFlag ==1

    would be what you're asking for

  • if they are on separate layers, make sure they're on the lower layer

    if they aren't, do Send to Front on the things that should be in front Always

  • I wouldn't mind a true next gen metroid, zelda, or smash brothers tho

  • anime studio, adobe aftereffects, i think some do it in flash

    that editor I'm making

    there's probably more, but those are the ones i know

    for a completely static image, tho, aftereffects is probably the best

    oh yeah, there was some facething...forgot what it was called

    but it used to be only for facial fun puppet things...I think now it does stuff like that

lucid's avatar

lucid

Member since 16 Jan, 2009

Twitter
lucid has 25 followers

Connect with lucid

Trophy Case

  • 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
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

24/44
How to earn trophies