User Tag List

Results 1 to 10 of 34

Thread: Progress Report

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,961
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.48%
    Quote Originally Posted by Anarchy_Balsac View Post
    No I sure didn't, I'm making its spiritual successor though. But yeah, focusing too much on OOP can be a hazard.

    For the layman:

    Good OOP:

    - Makes RPG character as object
    - Adds character stats and misc info into character object
    - Makes one time character lines and other throwaway game elements into simple data since it will only be used once and/or has to be made unique to each circumstance anyway.

    Bad OOP:
    - Makes RPG character into object
    - Makes each character stat into subobject
    - Makes character lines and other one time use data into objects as well, only to just end up using the objects once.

    It's a lot more complicated than that, but that's the general gist. OOP is good, but it's easy to get bogged down by it if you shoehorn your code into it. The code should serve the program, not the other way around.
    It's funny you mention this because I literally have a butt-load of different ways to put in stats, modifiers, states, auto-abilities, etc. that I haven't decided yet and have just pushed that off to the side until battles are fully script-able. it's just arrays right now. It's a tricky thing to get right. I'll even just go ahead and say that rpgmaker fails at this IMO.


    Anyway. Today was get off your lazy ass and "finalize the dang tile specification already" day. So that's done. That might be a whole other post though.


    Also refined map spritesets. This means full on map entities will be done in a jiff. [1]

    "Rock on hero dude, rock on."

    Those specs are easy:
    -Animations are packed fixed point and have up to 0.0625-th of a frame speed (This equals roughly 1 millisecond accuracy). This is because anything higher is not perceptible to the human brain. If you are a fly then you can complain.
    -Any map object spriteset can have any number of animations. They are not separated into 'directions', and they cannot be referenced by strings (I think strings are stupid for that because they are not type safe and just waste space, eg; spriteset.state = WalkingUpEnum is better than spriteset.state = "waklingup "<--oops, typo.). I don't like to be constrained to having direction arrays of animation arrays as well, so it's just wham bam single array easy with the small catch that you have to make sure every sprite is set up correctly to how it is handled logically. ...uhh, and that's it really.

    So for example an octorock like in ZC would just have an animation for each dir[4], and that's it. ...although(!), each animation can be x or y flipped individually so it could just be 2 animations. ...err, actually(!) spritesets can be rotated too so /technically/ they can just be one animation... uhh... whatever is easiest to set up for you I guess. Whatever. It's late and I'm tired. x_x


    [1] : Jiff. A unit of measurement. No idea what the heck it is though.
    Last edited by Gleeok; 07-05-2015 at 06:40 AM.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social