31 October 2012
Happy Halloween
Hope it's a good one. Quick update before I jet off to work. Got some great progress on the side-scroller game I'm toying around with (I'll do an upload later once I get a little more time.) Currently the physics are pretty smooth and solid. Added the ability to wall jump, because wall jump! it works and it's just the right amount of frustrating. hell you an even jump up slightly inclined walls as well, perfect for those spiderman types. Alright, work, then back to work!
27 October 2012
Time for a tangent
Until I regain motivation and the necessary skills to complete my masterpiece, I think i'll work on a few concept ideas to build my portfolio. This is a basic physics build for Primitives, a game about a Ball-boy, who's trying to save the world from an evil bad guy who's destroying all the little primitives. Right now it's very basic and in fact quite broken, but to give an idea of what i want it to look like and feel like, here's the basics.
In the future it should have the ability to pick up objects, attack bad guys, create weapons, build upgrades and build autonomous robots to help you on your journey. Working title, working idea. you get the gist, here it is.
https://docs.google.com/open?id=0B3iGA1KoiI7fQlVEQ2xpbUNqa0U
In the future it should have the ability to pick up objects, attack bad guys, create weapons, build upgrades and build autonomous robots to help you on your journey. Working title, working idea. you get the gist, here it is.
https://docs.google.com/open?id=0B3iGA1KoiI7fQlVEQ2xpbUNqa0U
22 October 2012
Keeping promises
Finally got that equipping problem fixed. Objects now successfully equip over old items while being replaced in the quickslot belt. I'm pretty proud of this one too.
BTW, anyone readying this that's not nick, shoot me an email or something, leave a comment, let me know you're alive. Just want to see if I have an audience or I'm just talking to myself.
Update as promised:
https://docs.google.com/open?id=0B3iGA1KoiI7fVldaQmxpMzhkRWM
BTW, anyone readying this that's not nick, shoot me an email or something, leave a comment, let me know you're alive. Just want to see if I have an audience or I'm just talking to myself.
Update as promised:
https://docs.google.com/open?id=0B3iGA1KoiI7fVldaQmxpMzhkRWM
21 October 2012
Quick update. Got equipping/ unequipping objects to work, but when you try to equip an object with another it doesn't replace it, so i need to find a way to call that function long enough to unequip the old item, equip the new on and continue on with the equipped function. Out of context, that makes a lot less sense. I'll load it up once i get that little bit of code worked out. Just want to keep track if my latest snags.
20 October 2012
I realized the last update i threw up here was a bit incomplete, as in, only the .exe file. My bad!
So this is what i have so far. A functioning inventory where items can be picked up off the ground with the use of the "e" key. They are added to the bag, which can be viewed via the "i" key. items can be picked up to the mouse with the use of l-click, then placed in another slot, the equipment area (non-functional, but you an still put stuff there), or the belt/quickslot bar.
I'm not sure how intuitive using the belt will be since there are two hand slots. You can't just equip them with the single click of a button, so I have made it so when you click the number of the item it highlights, R or L click to assign the belt item to the right or left hands (will only display when you pull the inventory up, r/l hand objects have been dissabled for the time being to work out bugs). You can also move stuff around in the belt by hitting a number key 1-6, then another number key, i like the freedom to reorganize on the fly.
Also, if you haven't checked it out, I'm really proud of the whole rotating the picked up object thing. Walk u[ to an object, use the "c" key, for carry, it picks up to hands, throwing, dropping, slinging is all still there but by use of the "c" key for dropping/slinging, and the L-click for throwing only. R-Click and hold will allow you to use the mouse movement to rotate the object around it's axis. Say you want to pick up a coffee table and block part of the doorway with it, or walk through a door with it, you'll have to reposition the table to fit through the door or block the most space possible.
Thats all for now. Upcoming, fixing R & L hand items so we can see some real results. then on to weapons!
18 October 2012
Optimization time!
Thanks nick for the code ideas, the array works like a charm. Added a quick for loop to assign all the bagslots to the bag array and bam! dropped almost 300 lines of code! Also fixed up a couple loose ends. instantiate a clone of each gathered object so i an instantly add the real object to the bag, and also display it being picked up on camera, for effect. (thought I removed the pickup-object/bag-too-full/ drop-object-on-ground code that I liked, and left it with a simpler object-just-doesn't-move code, which cut down a considerable amount of code.) This way you aren't limited in the speed you pick up objects. Also fixed a couple velocity errors driving inventory items off screen, but in doing so, objects no longer lerp to their respective "homes" when dropped in a bag slot, rather they just appear there, *sigh* I also liked that little touch, too bad. Other than that it's pretty much the same game. Now back to physics to fix some of those.
Edit: Not going to upload yet, because i don't deem it enough progress to to warrant going through the effort, but I got the mouse-moving/object rotation thing down, RotateAround worked perfectly.
Latest Update:
https://docs.google.com/open?id=0B3iGA1KoiI7fUkNiTWVUaFY1V2c
Edit: Not going to upload yet, because i don't deem it enough progress to to warrant going through the effort, but I got the mouse-moving/object rotation thing down, RotateAround worked perfectly.
Latest Update:
https://docs.google.com/open?id=0B3iGA1KoiI7fUkNiTWVUaFY1V2c
14 October 2012
Here we go, finally some real progress. Got the inventory system working, for the most part. You can pick up objects by pressing "e", open the inventory by pressing "i" click on picked up objects to move them around, click other spaces to move to said spaces, click anywhere else to drop the item on the ground. if i had greater than 24 items on the map, if you try to pick up too many items it would redrop it to ground. So now that inventory is done, i can add the equipped item slots/ghosting to display them on the character.
apologies for the poor spelling, lack of grammar rules and punctuation. I'm more concerned with getting the program up than i am with making this all look nice.
Rev3 today, changed the layout of the inventory to fit the screen a bit better, plus added a simple layout for equipped items. oh yeah, and crouching works again too.
https://docs.google.com/open?id=0B3iGA1KoiI7fV0ZaNU9nMFRJNzg
apologies for the poor spelling, lack of grammar rules and punctuation. I'm more concerned with getting the program up than i am with making this all look nice.
Rev3 today, changed the layout of the inventory to fit the screen a bit better, plus added a simple layout for equipped items. oh yeah, and crouching works again too.
https://docs.google.com/open?id=0B3iGA1KoiI7fV0ZaNU9nMFRJNzg
Subscribe to:
Posts (Atom)