,Hey guys, this is my first post ^^. First time using KirupaForums too so lemme introduce myself. I'm 13years old, my home is America but currently living in China. I have been playing around with ActionScript for, lets say about a year. I guess I'm wavering between Beginner Level - Intermediate Level. All the AS is self-taught with a little help from my big bro. I usually go on Newgrounds Forum for help but they block Newgrounds in China so I have no where else to turn to other then here. So now that we have that down, lets get to the main problem. I always wanted to make Runescape/WoW type RPG (i know its pretty advanced). I tried many times, but failed. So this time, I really want to complete one. It doesn't have to be extremely good, just want a basic layout down. I have a small demo linked but its really buggy and its not even close to completion. Its called KINK. I have alot of problems with this one and I can't do it all alone. So i need all the help I can get. I'll posts updates of the game and problems too as they come. This post isn't too long for a first one is it?
PS: I'm not like those guys who have very basic AS skills but want to make some hot-shot and want everyone to just give them the script for it. I really want to learn and understand the concept of AS. I already bought the FLash 8 AS Bible and currently reading it.
Tuesday March 13, 2008 - New Photoshopped Graphics and sliding inventory interface.
All artwork and AS programming are done by me.
PROBLEM 1: Creating a Runescape-Like Inventory (UNRESOLVED)
Like the title says, I would like to create a Runescape-Type Inventory. My current one is too simple and it only involves hitTests with the item place holders on the main timeline. If you played Runescape, you'll see what I mean. If you haven't, it goes like this.
Basically, its tile based. You can drag-n-drop items to reorganize. But the place-holders are nested inside another symbol because its for sliding (tell me if i'm using the word "nesting" right). I also need help with duplicating items from a database. The database will store all the possible items available in the game, and then whenever the player acquires a item, Flash will just duplicate a copy from the database and place it onscreen for the player to pick up. Ya maybe its pretty complicated but I'm willing to learn. Heres a small example:
So far, theres no items to drag n drop and I'm using tweens for the slidings. Is there a way to dynamically do eased movements for MCs? Also, I nee to learn how to lock items so when the user drags and drops a item, it will be positioned correctly and not all over the place. Any help would be appreciated.
Something like this:
Basically, I want my inventory to look like that except you can only drap the items into boxes and not just anywhere. Note that i didn't make that, just found it somewhere on KirupaForums.
PROBLEM 2: SCROLLING THE TERRAIN W/ ITEMS/OBJECTS (RESOLVED)
Yup, I never really done scrolling terrain before, not alone with objects/items. So basically I changed my stage width and length to 1024x800. My background terrain is 1900x1200 i think. I know I have to write a code something like when key.left is down, terrain_mc goes _x += speed or something, but I never done it with objects. Any tips/tutorials?