logic

  1. 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...
  2. 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...
  3. Jmarlin3

    GMS 2 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...
  4. 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...
  5. 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/...
  6. DarthTenebris

    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...
  7. 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...
  8. 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...
  9. 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?
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. Ayziak

    GMS 2 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...
  15. 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...
  16. E

    Help with logic of a "Town of Salem" type game

    I've been toying with game maker for a long time, but I'm just now attempting to get serious. I'm having issues with logic for the first kind of game I want to make. I want a choosable amount of players, name input, random assignment of roles to each player, and so on, similar to the game...
Top