• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

logic

  1. C

    SOLVED My code works, but...

    So I wrote some code for a level select screen in a create event for the main menu object, and it works fine, but I know for certain there has to be a better way to do it. My first thoughts are iterating through an array that stores each level's levelUnlocked boolean, and a 2d array for the...
  2. A

    SOLVED (HELP) walk or patrol behaviour for pathfinding enemy

    Hi there, I am making a top down view game and I have an enemy object which works with a state machine and pathfinding using GRIDS and paths, (some behaviors are: idle, checking, seeing nothing and then going back to the start point, attacking, etc. ), everything works fine, I just want to...
  3. chrys

    Released Red Hero: Ball Underground - arcade, adventure, logic

    I greet you all! I found a lot of help on this forum. And I see many nice games here. This is the result of my work. Red Hero: Ball Underground is a newly released game. It was created as a sequel to Red Hero: Ball Evolved. And it's free. I hope you enjoy. Thanks! All the best!
  4. F

    Free Back To Source - Android + iOS

    Back To Source Description: Create a path to the exit by placing guides. Genre: Puzzle + Logic Platform: Android + iOS Android link: Click here iOS link: Click here Features: There are 120 levels, starting from small level with grid of 5x5 and up to 10x10. 7 Guides to place and make a path...
  5. ThePlayerEden

    SOLVED Inventory Following

    So I have this simple inventory code that I tweaked a bit from a Youtube tutorial, anyways, the inventory mechanics works fine in my starting room. The problem is when I leave the room, the items in my inventory go off-camera in the corner of said room, instead of the corner of the player's...
  6. Ehrgeiz

    HTML5 Box Kid Puzzles - a dynamic, top-down puzzle game.

    Box Kid Puzzles is a spin-off/alternate reality version of our PC game - Box Kid Adventures. You play as Box Kid – a toy made of cardboard – going through various levels, full of nasty enemies and brain challenging puzzles. You can play it for free at https://poki.com/en/g/box-kid-puzzles...
  7. J

    Checking value directly vs using a boolean

    Hey, I used to intuitively know (or a case of never really thought about the use case for each approach) but I've confused myself and would like the following clarified. In some cases why use a boolean to represent a certain condition, instead of testing the condition directly. Take for example...
  8. J

    GameMaker understanding gravity

    I have an npc that is supposed to jump up when touching a block. I am having trouble with bringing the block back down. When it touches the jump_block, it should add -7 to vsp (it does this correctly). However, since vsp is less than 0 now, I want to add gravity (0.5) to the vsp that way it can...
  9. Xor

    GML Useful Math For Game Development

    GM Version: GMS 2 Target Platform: ALL Download: N/A Links: https://www.reddit.com/r/gamemaker/comments/eyg2kf/useful_math_for_game_development/ Summary: I was recently asked about what math/logic knowledge is needed for game development, so I've decided to outline it here and maybe you can use...
  10. Mortalo

    Windows Box Kid Adventures

    Box Kid Adventures is a dynamic, top-down puzzle game. You play as Box Kid – a toy made of cardboard – going through various levels, full of nasty enemies and brain challenging puzzles. Website: http://boxkidadventures.com STEAM: https://store.steampowered.com/app/1217870/Box_Kid_Adventures/...
  11. D

    Windows Enemy Spawner Logic

    Hello everyone, Currently working on an idea that I have and it involves spawners as a method to bring in enemies. However I don't seem to be able to work out the logic on how to do so. Create Event: ros = room_speed * 5; minRange = 64 * 2; maxRange = 64 * 4; minSpawn = 1; maxSpawn = 4...
  12. Pawel

    Released BLASK - You have never seen such puzzles before...

    BLASK is a unique puzzle game where you control the environment in order to hit all the goal markers with lasers. Each shape acts as a room made of mirrors. By combining and rotating each shape, a player can control where the laser beam points. Features: - Unique mechanic where you combine and...
  13. J

    GML Focus not dead player

    Hello, i have code var i; for (i = 0; i < players; i += 1) { player = instance_find(obj_player,i); if(player.playerid == global.player) view_object[0] = instance_find(obj_player,i); } in my multiplayer game and this always focus instance, that control the player. But, if player...
  14. N

    What's the logic for this?

    I have 2 characters in a room, when you finish talking to one of them i want a variable to increase by one only once, if you talk again i dont wan't the variable to increase, so i want the variable to be 2 and not change, what type of if statement and logic do i use for this?
  15. Changgi

    Windows Logic Gates

    Logic Gates is a remake of an old calculator game I made in secondary school. In this game, you try to guess the logic gate creating the outcome based on the inputs and outcomes. This game also references the Apple II. Download: MediaFire, Game Jolt Platforms: Windows XP or above. The...
  16. I

    Demo Greenlight vote: Mind-Machine Interface: 'programming' puzzle game.

    EDIT 2: Gameplay video by th_pion EDIT: I just released this game on Steam Greenlight. Vote if you want it to happen. http://steamcommunity.com/sharedfiles/filedetails/?id=865316285 New reddit and twitter for feedback: https://www.reddit.com/r/MMachineInterface/ https://twitter.com/Izarrk...
  17. M

    Windows Roobrick [2D](puzzle,logic,platformer)[Greenlight]

    Hi guys! Please vote for the game! Features «Roobrick» - this is logical, hardcore puzzle platformer with an unusual mechanics and minimalist graphics, with many interesting traps, levels and interesting puzzles. On the surface the room seem very simple, but the passage will make you suffer...
  18. Dan1

    Android Safe Cracker [FREE]

    SAFE CRACKER 1.0a Reminiscent of the old "Mastermind" game - can you unlock the safe? Use logic to decipher the code either in a quick game or unlock as many as you can in the timed mode. Try to unlock as many as you can or unlock a safe as quickly as you can or in as few moves as possible...
  19. A

    GameMaker Saving an unlimited list of previous rooms?

    So essentially, I am going to have my player walk through all of my rooms at random (there are a lot of them, and I plan to add more, so for the purposes of this explanation, assume I have infinite rooms). My problem arises in backtracking. I want the player to be able to go backwards through...
  20. M

    [SOLVED] Logical Expressions Question

    How do logical expressions work in GML? For example, with an if statement like this: if ( <expression 1> && <expression2> ) { // do something } if the first expression evaluates to be false, will the second expression be evaluated or just skipped over? If <expression2> was particularly...
Top