pattern

  1. samspade

    GMS 2.3+ The Pubsub Pattern

    GM Version: 2.3.1 Target Platform: All Download: Github Rebo Links: YouTube Video Summary: A standalone tutorial on implementing the publication and subscribe, or pubsub, patter in GameMaker Studio 2.3. This method relies on structs and binding and will not work in prior versions. If I made any...
  2. samspade

    GMS 2.3+ Pubsub in 2.3

    I have a working version of pubsub for 2.3, I currently have a working version but for some reason this pattern has been difficult for me to grasp so if anyone is feeling generous with their time and wanted to review it, I'd appreciate it: ///pubsub manager (persistent always present object)...
  3. M

    Abstract

    Is there a way to declare abstract variables for strategy pattern use in superclass objects? I'm working on a version of pac man, and I want to have a strategy pattern for ghost AI, but I need to be able to declare an abstract variable to later be assigned a specific targeting method in the...
  4. N

    Achieving a static pattern effect

    Hey all! I'm trying to achieve an effect where an object moves and displays a static pattern behind it. like this: https://imgur.com/gallery/1du6zXI/new I have been trying to achieve this with blendmodes, but with no success. Can this be achieved with blend modes? If not then how could it be...
  5. Ramón

    GMS 2 Best way to create enemies attack patterns. Shoot em up

    Hello. I am using GameMaker Studio 2.2.1.375, and I am new programming games. I am programming using GML. In this moment I am creating a Shoot em up, and I have a doubt about the creation of enemies attack patterns. I can use Timelines, alarms... Do you know what is the best way to manage the...
  6. T

    Bullet patern

    Hi I am stuck with creating bullets who fires from enemy in a circle pattern.How to make the variable direction chose from maybe 0,45,90,180 degre or spawn at 8 diregion a bullet. In alarm 0 With(instance_create_layer(obj_enemy.x , obj_enemy.y , “button” , obj_bullet)) {...
  7. G

    GMS 2 Is random random?

    Hello! Right now, I am working on a little "Whack-a-Mole" style game and I use the random(value) function to make the Moles appear, well, randomly. for example... [step event] ... if(status==0) { ... //some code if(floor(random(300))==100)//something random status=1...
  8. A

    GML HELP (Attack Patterns in bullet hell)

    I am making a bullet hell space shooter and need help with setting up the attack patterns. Here is an image of what I want to do: For Pattern 1 I wanted the Enemy to fire 3 projectile bursts every 5 seconds (alarm is set to 5), also the enemy is supposed to take aim at the player constantly...
  9. D

    Released AmalgamA - A game about finding pretty things

    Hello, there. I've managed to "finish" something this time around, so here it is. The game itself is simply about connecting the loose ends. There are different game modes based on how much they ask of the player, Endless being the most laid back, appropriate for the majority of people, I...
Top