coding

  1. A

    Character Select Issues

    So I'm working on a turn-based Final Fantasy style RPG and I am having an issue with the programming (I'm using Drag and Drop btw... I know, I know it's bad but I'm not a programmer in the least). When I click on different party members, I want the screen to display their stats, but as of right...
  2. A

    Character Select Issues

    So I'm working on a turn-based Final Fantasy style RPG and I am having an issue with the programming (I'm using Drag and Drop btw... I know, I know it's bad but I'm not a programmer in the least). When I click on different party members, I want the screen to display their stats, but as of right...
  3. D

    Shooting Delay code (3D FPS) GameMaker 8.1

    I am struggling to find code to add a Delay between firing a shot for my gun
  4. L

    GMS2 Trigger Camera zoom

    Hey people, I am new to GM and would really appreciate it if someone could point me in the right direction. I am working on a top down rpg and I would like the camera to zoom out at a selected area my that my player reaches. I have looked on youtube, and multiple forums and haven't come close to...
  5. J

    I have a little problem with my Platformer

    I have used this code //Get the player's input key_right = keyboard_check(vk_right); key_left = -keyboard_check(vk_left); key_jump = keyboard_check_pressed(vk_space); //React to inputs move = key_left + key_right; hsp = move * movespeed; if (vsp < 10) vsp += grav; if...
  6. J

    Enemy knockback [SOLVED]

    im trying to make it so when the enemy makes contact with the player, the player bounces back away from the enemy. I managed to code knockback but it only works one way. this is my code: if (place_meeting(x,y,obj_enemySkeleton) && recenthurt = false) { flash = 3; vspd = -4...
  7. G

    How to use alarms to make a platform that appears and disappears

    I know that i can make this by using the alarms but i dont know how, i want to make a platform that is visible and solid for about 1.5/2 sec then it disappears and then appears again, can someone help me ?
  8. kaerpaenen

    [SOLVED]activate/deactivate flicker

    Hi! I have a quick question about a problem I'm having. There's a fairly big world in the game I'm making, so I'd prefer to use the deactivating and regional activating for most of my objects, to optimize the performance. This works really nicely for my trees! But whenever I apply this to my...
  9. A

    GML majority of player code I scripts?

    Hi I think I may have gone a bit off course here.. With the intent to streamline and efficientized, organize, I've got ALL of my players relevant code being called from scripts... I've come into a few issues here and there... Is this generally a good way to code in GML? ANY pros and cons...
  10. J

    knockback

    I need help, does anyone know a good knockback script for GM2?
  11. B

    Multi-tiled sprite animation effects

    Is it possible to do this with game maker studio? For example a player transforms & a 3 -4 tiled animation comes from the ground & transforms into a suit? This is something we commonly used to do on byond
  12. kaerpaenen

    [SOLVED]Door warp help!

    So basically I have on huge room which contains outside, and dungeons, houses and caves. I want to be able to warp between doors correctly. At the moment I have it set like so: obj_door, which I then click on specific points on room editor. Then I assign two variables to them in creation code...
  13. kaerpaenen

    [SOLVED]Object and it's shadow, help needed!

    Scenario is this: I have an enemy object set in the room, and when it's created it "spawns" a shadow object. The shadow object is set to have the same coordinates as the enemy -> enemy has a shadow. This works until there's more enemies. Whenever there is more than one enemy, all of the shadows...
  14. G

    how do children and parents work in game maker ?

    i don't understand correctly the concept , i know how to utilize it , but what if i want to change something from the child that is in the parent ? do the two of them enter in conflict ? what if i want to make an line of code that oposes the one of the parent ? so confusing ...
  15. C

    NPC follower problems

    I'm trying to do a follower system where the player collects an item (apples) and the follower... follows! I've tried multiple things, such as the potential step code usually used for enemies, and code that tells the npc to mimic the player's movement. Neither of these work like a regular...
  16. J

    Help With Textboxes

    So I almost did it, but not quite... When Object_Player collides with oCharacter the text in the textbox is "stretched" like in the first pictue: http://imgur.com/a/OC93i ...Although it's as it should be every other time the player collides with the character again, the 1st time is always...
  17. N

    Animated "Loading" Image as GIF?

    Idk if anyone still uses GM8.1 but is there a way to make my loading image (for when the game starts up) as an animated GIF. I'm not sure if this needs to be coded in (if possible) because I tried it in global game settings and it was just the first image index.
  18. Raptor_Guy

    GMS 2 Trouble Implementing Dashing

    So I'm trying to implement a dash mechanic into my MegamanX-based game, and it doesn't work. Whenever I press l-shift, it doesn't do anything... I don't know what I'm doing wrong: Step Event: //dashing if (keyboard_check_pressed(vk_lshift) && image_xscale > 0 && alarm[0] == -1) {...
  19. 4

    Game Freezing

    I have a collecting game and if you have collected 11 of these things you can enter a portal to go to level 2. But, every time I have 11 things and go to the portal the game freezes. The code i have is extremely simple and is just...
  20. Luke Pierson

    Online Multiplayer Help Needed

    Hello! I've decided to try my hand at creating an rts capable of supporting 2 players. I have been following a tutorial on making an online server for a shooter, which I understand will turn out drastically different because my game will be able moving multiple units not controlling a single...
Top