LaDestitute's Forum Posts

  • Give the object eight direction movement behavior, and set the range of movement to only left and right.

  • You could consider using an array loaded with AJAX and .json files

  • Procedural generation, which is not an easy thing and requires a lot to learn

  • Later tonight, probably

  • I took a quick look at the game. Seems simple enough despite the intriguing concept.

    I don't know the exact logistics or have enough time to mess around to create a working prototype, but the basics would involve creating a variable, whether global or an instance one for the player. Have it be 0 at runtime at first and add +1 every the player makes an action (such as moves onto a tile, uses an item, attacks, etc), and then check if = 3 each turn after, and fulfill the conditions to ignore actions if true. I'm not sure of the logistics there in exact, that's the problem. There's a basic idea. I'll try to make you an example later when I get time. You could set an instance boolean for the player (usedupturns=false) and set it true when their turn limit hits 3, and then run the eventing for the enemies. Rinse and repeat.

  • There's a pin behavior. You can set some sort of condition (colliding) and then pin the player to the desired object, and then create another condition, when fulfilled, unpin the player.

  • You might also want to check out the pin behavior.

  • I have a working example with a capx if you want, I could upload it.

  • Just polishing the basic game mechanics at the moment, making sure they're as near as close to game behavior in ALTTP. I might make some slight personal design choices though, such as that the cursor in the inventory is free moving instead of locked to available items if >2(can move to empty slots)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you! I managed to fix some issues with my patrolling AI, they used to have issues with properly navigating, at least with tight spaces. As a sort of temp workaround, I'm making sure they have ample room to patrol (might not be possible in certain cases, I'll try to work in pathfinding for such a thing, they already do that if the player crosses line of sight), and even then, running events to check if they collide with a family of objects (say, "Solids") and then if true, force them to immediately reset their current AI state and make another move.

  • Finally got my bloody video recording software to play nice with Sony Vegas.

  • Big announcement! The SDK is finally releasing with a planned release between Q4 2021 an Q1 2022. Before then, packaged tilesets/etc will be sold in the asset store without the SDK.

    Latest Pre-release Build: v1.1h1

    Discord | Patreon | Trello (Feature Roadmap) | Gitlab (main-dev) | Issue Tracker (bugs)

    YouTube | Twitter | Twitch | Facebook | Devlog Blog | Images/GIFs (lot of gifs/images, all the way back to build 0.3 from back in Feb 2016)

    Latest News

    6/20/2021: Release window decided, began to get back to work on sprites, etc

    10/29/2018: Weather, fire spreading, temperature systems and day/night cycle implemented

    10/12/2018: Debug mode and command console optimizations finished and in-game edit mode implemented

    09/13/2018: Combat gamefeel and enemy AI major improvements made

    This is a gamekit/SDK that I've been developing and has been in development for the past two years since February 22th, 2016. Come Feb next year, that will be three years if it's still not finished. It's in the style of oldschool classic 2D Zelda games, with a sprinkling of influence from Chrono Trigger and Secret of Mana. It is nearing completion and is in the final stages of development, if ignoring the last two features to be implemented (weather and day/night cycle system)

    Credits:

    Scirra + Nintendo

    amiltonbr, for the original base this gamekit is partially based on (although, the capx has been stripped of most of that, save for the 8d movement)

    schueppe, advice and discussion with me on how to handle ARPG mechanics in Construct 2

    dpyellow, for his old Zelda capx I found (it helped me integrate a few things, namely the pause menu, shooting/passive AI and bombs/bow/boomerang)

    R0j0hound, for his sliding against diagonal slopes example

    C-7, for an example of ledge jumping and dynamic lighting

    bbenny93, for the new replacement dialogue system (no more using a store-bought one, yay!)

    patrons, thanks so much for the spare funding and dev-support/following

    all those that showed interest here or elsewhere, thank you for letting me confirm my belief that this gamekit would do well

    A list of currently implemented features:

    *Tilesets for mapping, with original 16x16 resolution tiles (two tilesets, one on bottom for mapping, and one on top for setting collision detections for walls, etc)

    *Eight directional movement with proper animation support

    *Variables, gametext, and item configurable gamedata stored in arrays, set predefined by loaded JSON files (planning to replace them with hash-tables)

    *Basic pickupable overworld objects (keys, rupees (green, blue, red, purple), hearts, etc)

    *Signs, with proper textbox, font, letter by letter text, proper pausing and skipping

    *Pushable blocks, they move 16 tiles per push, have animations and sound, and will not move if against an obstacle

    *Switches, enough said (trigger on step, can be used to solve puzzles and can be set to deactive if stepped off of)

    *Chests, animations and sound, can be locked

    *Liftable and throwable objects (pots and grass as example)

    *Zone based camera, restricts a zoomed camera to the current room

    *Functioning doorways into other rooms (if on a big map, such as one floor of a dungeon or Hyrule Castle)

    *Proper collision detection (solid walls, working stairs in a room, etc)

    *Heart Pieces & Heart Containers

    *Hearts and magic bar system

    *Multiple AIs (standard hostile AI for Green Soldier, neutral AI for Buzzblob, ranged AI for Octorock, and example boss AI!)

    *Functional Lamp, Bombs, Boomerang, and Bow (uses a function that different outcomes depending on which object is equipped, so it's unified and self-contained)

    *Basic combat (collision detection, sword swinging, etc)

    *Inventory system (with multiple page categories such as weapons, armor, food, etc and with equipable armor/weapons/etc)

    *Sliding against diagonal slopes

    *Jumping from ledges

    *Working bridges that can be passed under/over

    *Map-changing (such as going inside of houses)

    *Lighting system (like in A Link to The Past's Hyrule Castle Sewers)

    *Proper title/menu screen with save system support that uses LocalStorage, i.e similar to browser cache but is not lost upon clearing cache (also erasing/copying saves)

    *Rebindable keys and gamepad support

    *Grid movement system accurate to ALttP, which includes smooth movement (see this gif for example) and sub-tile movement (Link just doesn't move 16 by 16, he can also move a max of four pixels if the input pressure is gentle enough)

    *Weighted random drops from pots and grass

    *Dungeon mechanics (obvious, but example puzzles, floors, map/compass/keys, simple example boss AI etc)

    *Object-environment interactions (such as lantern flames destroying grass-objects)

    *Command prompt based debug/command console that saves messages to a .txt log, has various debug commands and utilities for if debug mode is toggled on, such as log messages to warn of possible errors or fps-lag, custom bounding boxes, printing object debug-data to console, etc

    *Hash-table storage as reference for the game's many variables, self contained so the SDK is more self-reliant towards use of variables with code (such as to check a variable for a value or as a condition trigger)

    *Weather/Temperature system

    *Day/Night System

    *In game engine edit-mode

    Partially implemented/unused:

    *Doorway transition animations

    *Compiled tilemaps like this

    Planned Features (in order of priority from greatest to least):

    *Detailed starter/example map

  • I could show you how to do it in an efficient way without having to rely on variables (well, except if you need instance variables)

  • Do you know how to properly use arrays, including comparing values stored in them? If you do, use "Compare value at X/X,Y/X,Y,Z" and specifically, for the value you're checking for, where it's stored, define it as a boolean (put only "true" or "false") and then check if say

    Compare value at 7,2 (2d array): if "true"

  • It'll also work with keyboard controls, such as for a top-down ARPG and checking if the player is overlapping/near a certain chest or interactive object.