Equinox80's Forum Posts

  • I believe what GodSpear means is how to make it so when you click to move, the player moves only straight lines to get to the destination, as in when you click up right of the character, the player moves right, and then up, instead of moving diagonally.

    Unfortunately I haven't done this yet so I do not know :/

  • Yes Families are awesome, I just figured out how to do that too.

    For enemies you can have families and for bullets too, but for the bullet have something like a "Type" variable so that you know what kind of bullet family hits what kind of enemy family.

  • Thanks very much, I am going to need to do a massive overhaul near the end anyways since I am going to turn my game into an ORPG, want to get the basis done first.

    However I will study this very much, I know quite a few different programming languages and tools, but I've never learned arrays yet.

    Thanks alot!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I am wondering how people make an inventory, and display a list with an icon to the left of it?

    I know I ask many questions but I am trying to find what people would classify as efficient and effective, not just functional.

    Thanks!

  • I can't get past the difficulty. I click on the difficulty and it doesn't go anywhere, just freezes.

    So I can't test what is wrong :/

    Could be the iframe though, I use a direct link myself and edit the game page html.

  • That's cool :) I haven't seen any story tutorials around, however C2 is very easy to use and learn. Once you know about adding functions to the layout (Right click and click "Insert new object") then you can add many new things, and if you add a sprite, you can add a behavior of drag-and-drop to it.

  • What I would do is export the project as a "completed" game into wherever your php file is being kept, and then test it that way.

    So export the project to C:/xampp/htdocs/phpfilefolder/ or wherever it may be.

    Edit: Now you MAY also be able to (haven't tested it) but try to change the "preview server" in the preferences to localhost/foldername with foldername being what your folder is in the htdocs folder, assuming you are using xampp. foldername should be the name you use to connect to your webpage locally.

  • Not sure quite what you mean, but I know that they literally are global. If you have the other sheet included atleast in the sheet that has the globals already.

    I have an AI sheet, and a HUD sheet, my HUD sheet is displaying variables that come from my AI sheet.

    Unless you wanted to duplicate them intentionally?

  • Okay this is what I got:

    dl.dropbox.com/u/73299017/capx/MyORPG.capx

    I ran into a couple problems though.

    Edit: Solved #1, still not #2 although it's not too big of a deal, just means a blank end, I've seen other games do it now I know why! :P PS: Updated the capx.

    1: {SOLVED} Everything runs fine except I can't make the "name" disappear when the training dummy dies, I tried having it so that it destroys when it dies and the animation is over, but if I do that the name destroys within a few seconds on startup.

    2: in the xml file I have to have a blank end, because it will not load whatever is at the end of the xml file.

    3: How can I make a spawn timer? You'll see how I have spawn_timer in the xml file, and st as a global variable. Working on it now but help would be nice. (I could easily make one spawn timer, but how to do it individually for each npc).

    Is there a way to fix this?

    Thanks! :)

    Sincerely, Jesse Jarvis

  • Server eventually, I want to complete the game for solo experience, and then once it's done make it ORPG, that way the basis of the game is done first and save the hardest for last.

    Programming is something I enjoy but I have absolutely NO idea of how to do networking for programming.

    This program is mostly Drag & Drop but there is still unlimited power to it.

    I am going to look though for how to make it connect to a mysql database and load characters/items from tables maybe.

  • czar - Thank yes I could look into XML that would work, then if I do actually decide to go the MMO route I will use a database, want to keep it small for now. And since I have no artists and its just me using what I find, it's slow lol.

    Thanks alot!

  • Ooohhh riiiight..... sometimes I forget that this runs in a browser and limits it significantly, forgot about that.. I miss exe days.. Don't get me wrong playing in a browser is wicked at times, but the feel is off.

    Alright thanks then, I'll find a way to load files from a database then, eventually it'll be an mmo anyways so I suppose it don't matter.

  • Hello, going to state now that I hope I'm not posting/asking too many questions, just making good use of this :D

    However, how do I load info from text files, such as for an npc:

    [ObjName]Title=
    Name=
    Type=
    Var1=
    Var2=
    Var3=
    Var4=
    X=
    Y= 

    So for example stuff like:

    [Sprite1]Title = The Evil
    Name = Person
    Type = Human
    MinHP = 20
    MaxHP = 20
    X = 25
    Y = 30 

    And stuff like that for Objects (Such as npcs) and items (such as weapons/armor/potions).

    Sincerely,

    Jesse Jarvis

  • Alright thank you, I was just curious if there was some recommended formula between animation speed and frames. Thanks very much everybody.

  • I see, so if I set them all to 10, they will all play equally as fast?

    Alright so what would be recommended speed to play for 2D RPG sprites that use 7 frames to walk, and 5 frames to attack? Or should I have them both at 10?