![]() |
|
MapleStory/Latale Equipment Programming - Printable Version +- Southperry.net (https://www.southperry.net) +-- Forum: Social (https://www.southperry.net/forumdisplay.php?fid=14) +--- Forum: Rubik's Cube (https://www.southperry.net/forumdisplay.php?fid=58) +--- Thread: MapleStory/Latale Equipment Programming (/showthread.php?tid=44897) |
MapleStory/Latale Equipment Programming - Haseo - 2011-07-24 How do they make it such that the equipment draws so quickly/near immediately? I meant to post this in the games section, but wasn't sure if it fit better here or there- so I'm taking a shot here first. I'm looking through the C# book I bought and have no idea how to emulate that effect (I'm aware that MapleStory programmers might not be using C#, but I'm a newbie, and people keep telling me I'm not ready for C++ or Java). Anyway, my hypothesis is that it would involve putting layers on top of each other. That way, you can effectively switch a layer and replace it with the new one (the new item) which is triggered by the mouseclick when you tap on the item in your inventory. However, the book doesn't indicate how one draws multiple sprites in such a way that they move fluidly together. I've seen some MapleStory flash games where part of the equipment lags off of the character- I think it may be a result of this method, but I'm not sure. Either way the main point is that MapleStory and Latale have clearly managed this; what I want to know is how. Any answers would help. I don't mind if it's elaborate and sounds like gibberish, or is summarised, or anything- I need leads, I can search for the rest. I've already looked up a few sites on google which may be relevant (i.e. neoseeker), but Southperry's always been a reliable source of info so I thought I'd leave a question here. MapleStory/Latale Equipment Programming - Secun - 2011-07-24 According to my friend, the MapleStory programmers code in C++, but I don't code so I have no idea how this would affect it. MapleStory/Latale Equipment Programming - Flonne - 2011-07-24 I asked a friend of mine, mainly because I know he has experience with both games and codes in multiple langs, and he had this to say Its not near immediately, its just a part of the regular render process, but some rendering algorithms make it so they only render if something is changed if they changed the equipment; maybe that re-equip has a render-call so it only re-renders that part of the gear. rendering is pretty ismple all in all, its the animations that are a peach lol MapleStory/Latale Equipment Programming - Spaz - 2011-07-24 What do you mean by "draws so quickly/near immediately"? It sounds like you're asking how it's able to draw at the framerate it does, but the rest of your post makes it seem more like you're asking how equipment gets drawn with the character instead of looking off because the character is moving. Surely you are aware that computer graphics don't "move", they are a series of still frames that provider the illusion of movement. A frame in a video game is typically a snapshot of the game state. Even if you have a character flying around the screen really fast, the game will draw all parts of the frame as they were at one point in time. That's for a typical implementation, at least I think. I don't have much experience with game programming. Did that answer your question? By the way, if you're able to formulate your question in a way that would be understandable to people who don't play Maple, you could try asking on stackoverflow.com (general programming Q&A site) or its game development sister site. MapleStory/Latale Equipment Programming - Unauthorized Intruder - 2011-07-25 As far as my game developing experience goes, I think it lags off because flash game loads texture when you tell the game you want to wear it while MMO Maplestory loads them when the game starts. tldr(if it's still too long to read); because it loads when the game starts, not when you're about to wear it. MapleStory/Latale Equipment Programming - maplefreak26 - 2011-07-25 Not sure what you're getting here. Are you talking about how the sprites for x object draws fluently (no missing sprites in between movement)? If so, its loaded in loading maps and starting the game. Example: LaTale has that loading screen; pretty sure thats what loads the things needed. MapleStory just says EFF U and gives you a black screen till everything loads. MapleStory/Latale Equipment Programming - Shidoshi - 2011-07-25 maplefreak26 Wrote:Not sure what you're getting here. Or a slight screen freeze when new stuff appears (using new skills or when moving around the FM). MapleStory/Latale Equipment Programming - Dusk - 2011-07-25 All Maplestory images are packed into the .wz files and loaded into the memory when needed. Each image has associated data that tells the game the relative x and y coordinates at which to draw the image, any rotation that needs to be applied, and what layer on which to display the image. Once an image is loaded into the memory, it's really easy for the game to pull the image and draw it where it needs to be. Games with loading screens use the load times to prerender images to reduce lag while playing. MapleStory/Latale Equipment Programming - Haseo - 2011-07-26 Oh, okay. Thanks guys. So that's why it always freezes for a second if you put on new equipment. I always used to associate that particular feature with laggy servers prior to this. |